[Gate-users] CLHEP - Link Error
S. Saghamanesh
s.saghamanesh at yahoo.com
Sat Sep 27 12:03:21 CEST 2014
Hi Peter,
I had the same problem with clhep, but when I used of the system clhep, I could have installed gate7.0. As you may know, we can employ clhep in two ways: external (we install clhep individually) and internal (geant4.9.6 has its own internal clhep installed). I used the latter method during the gate7.0 installation.
Wish you luck
Soman
On Friday, September 26, 2014 11:23 PM, PmB <peter.bloomfield at camhpet.ca> wrote:
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
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140927/d4677485/attachment.html>
More information about the Gate-users
mailing list