<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">Fellow Gaters,<br>
<br>
I have managed to fix this by the following<br>
ln -s </font><font size="-1">/home/peter/Src/GATE/CLHEP/Install/lib64
</font>/home/peter/Src/GATE/CLHEP/Install/lib<br>
and then making the following change to the ccmake option,<br>
CLHEP_LIBRARY /home/peter/Src/GATE/CLHEP/Install/lib<br>
and it compiles.<br>
<br>
Cheers<br>
<br>
Peter<br>
<br>
<br>
<div class="moz-cite-prefix">On 09/26/2014 03:52 PM, PmB wrote:<br>
</div>
<blockquote cite="mid:5425C3E7.9050606@camhpet.ca" type="cite">Fellow
Gaters,
<br>
<br>
I am sure I have hit this problem previously, and I can't for the
life of me recall how to correct it.
<br>
<br>
I am trying to compile Gate V7.0 and all goes well until linking;
I get the following error
<br>
<br>
[100%] Building CXX object
CMakeFiles/Gate.dir/source/externals/clhep/src/CLHEP/Matrix/Matrix.cc.o
<br>
[100%] Building CXX object
CMakeFiles/Gate.dir/source/externals/clhep/src/CLHEP/RandomObjects/RandomVector.cc.o<br>
[100%] Building CXX object
CMakeFiles/Gate.dir/source/externals/clhep/src/CLHEP/RandomObjects/RandMultiGauss.cc.o<br>
Linking CXX executable Gate
<br>
/usr/bin/ld: cannot find -lCLHEP-2.1.3.1
<br>
collect2: ld returned 1 exit status
<br>
make[2]: *** [Gate] Error 1
<br>
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
<br>
make: *** [all] Error 2
<br>
<br>
I have defined the following in ccmake
<br>
<br>
CLHEP_CONFIG_EXECUTABLE
/home/peter/Src/GATE/CLHEP/Install/bin/clhep-config
<br>
CLHEP_INCLUDE_DIR /home/peter/Src/GATE/CLHEP/Install/include
<br>
CLHEP_LIBRARY
/home/peter/Src/GATE/CLHEP/Install/lib64/libCLHEP-2.1.3.1.so
<br>
<br>
for CLHEP.
<br>
<br>
Any thoughts will be most appreciated, cheers
<br>
<br>
Peter
<br>
<br>
<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Peter M. Bloomfield
Physicist,
PET Centre,
Centre for Addiction and Mental Health,
250 College St.,
Toronto, Ontario,
Canada M5T 1R8
Tel: 416 535 8501 Ext. 34243</pre>
</body>
</html>