[Gate-users] CLHEP - Link Error
PmB
peter.bloomfield at camhpet.ca
Fri Sep 26 21:52:07 CEST 2014
Fellow Gaters,
I am sure I have hit this problem previously, and I can't for the life
of me recall how to correct it.
I am trying to compile Gate V7.0 and all goes well until linking; I get
the following error
[100%] Building CXX object
CMakeFiles/Gate.dir/source/externals/clhep/src/CLHEP/Matrix/Matrix.cc.o
[100%] Building CXX object
CMakeFiles/Gate.dir/source/externals/clhep/src/CLHEP/RandomObjects/RandomVector.cc.o
[100%] Building CXX object
CMakeFiles/Gate.dir/source/externals/clhep/src/CLHEP/RandomObjects/RandMultiGauss.cc.o
Linking CXX executable Gate
/usr/bin/ld: cannot find -lCLHEP-2.1.3.1
collect2: ld returned 1 exit status
make[2]: *** [Gate] Error 1
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
make: *** [all] Error 2
I have defined the following in ccmake
CLHEP_CONFIG_EXECUTABLE
/home/peter/Src/GATE/CLHEP/Install/bin/clhep-config
CLHEP_INCLUDE_DIR /home/peter/Src/GATE/CLHEP/Install/include
CLHEP_LIBRARY
/home/peter/Src/GATE/CLHEP/Install/lib64/libCLHEP-2.1.3.1.so
for CLHEP.
Any thoughts will be most appreciated, cheers
Peter
More information about the Gate-users
mailing list