class TVirtualX * gVritalX unresoved reference using make
Dear Routers,
I have installed root_v3.10.02.win32gdk.tar on WinXP. I use C++7.net.
The global variable gVirtualX is not defined when I try to build my
program.
I could reproduce the error by using guitest.C:
Starting cygwin and root, then “.x guitest.C”
(from directory tutorial) everything looks fine.
Compiling guitest (with #define STANDALONE) using make the linker could not
find gVirtualX.
Where is gVirtualX defined? Do I have to define it myself?
Using gVirtualX in my program I get illegal redefinition because gVirtualX
it is in a #define statement in TVirtualX.