__when i use root library to write garfield++ code, the global pointer gSystem was used:
gSystem->Load(“libGeom”);
after compiling the code, the error occured:
error: ‘gSystem’ was not declared in this scope; did you mean ‘system’?
how to declare the global pointers like gSystem?
_
Please read tips for efficient and successful posting and posting code
ROOT Version: 6.22/06
Platform: ubuntu 20.04
_Compiler:_Gcc 9.3.0