marouan
26th April 2011, 13:29
Hi all,
When I include the root include libraries in my program and compile using scons
I get the following linking error:
raw.o(.text+0x31e): In function `__static_initialization_and_destruction_0':
/home/users/step0ut/root/include/TVersionCheck.h:34: undefined reference to `TVersionCheck::TVersionCheck(int)'
collect2: ld returned 1 exit status
The programs compiles and links cleanly without including root libraries, what could
it be wrong?
I was using a precompiled version of root before and thought that this was the problem,
but now I just install a fresh 5.20 version but still get this error.
When I include the root include libraries in my program and compile using scons
I get the following linking error:
raw.o(.text+0x31e): In function `__static_initialization_and_destruction_0':
/home/users/step0ut/root/include/TVersionCheck.h:34: undefined reference to `TVersionCheck::TVersionCheck(int)'
collect2: ld returned 1 exit status
The programs compiles and links cleanly without including root libraries, what could
it be wrong?
I was using a precompiled version of root before and thought that this was the problem,
but now I just install a fresh 5.20 version but still get this error.