[Gate-users] cmake, CLHEP
Nicola Poles
nicola.poles at gmail.com
Wed Oct 10 18:35:39 CEST 2012
Hi Richard,
have you correctly exported your CLHEP lib and bin paths? As in, assuming your CLHEP directory is /opt/2.1.1.0/CLHEP, have you executed the following 2 commands?
export PATH=$PATH:/opt/2.1.1.0/CLHEP/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/2.1.1.0/CLHEP/lib
Keep in mind, each time you open a new terminal or if you switch user (for example, if you issue the command "su USERNAME") you need to reissue them.
Also, if you have been extensively experimenting with the cmake flags, I suggest you start clean and delete everything in your build folder. At the very least, I think you should delete CMakeCache.txt .
Regards,
Nicola Poles
On Oct 10, 2012, at 6:20 PM, "Taschereau, Richard" <RTaschereau at mednet.ucla.edu> wrote:
> Hi All,
>
> trying to install Gate etc. on Ubuntu 12.04. I get error messages when doing ccmake with Geant (same thing with Gate). Looks like something may be wrong with my CLHEP installation but I have no idea what. Any help is appreciated.
>
> Typical error message:
> WARNING: Target "G4event" requests linking to directory "/opt/2.1.1.0/CLHEP/lib". Targets may link only to libraries. CMake is dropping the item.
>
> Thanks,
> Richard
>
> Richard Taschereau, Ph.D.
> Associate Researcher
> UCLA Crump Institute for Molecular Imaging
> 570 Westwood Plaza, Building 114, room 4350-C
> Los Angeles, CA 90095-1770
> Phone: (310) 825-0697
> Fax: (310) 206-8975
>
> IMPORTANT WARNING: This email (and any attachments) is only intended for the use of the person or entity to which it is addressed, and may contain information that is privileged and confidential. You, the recipient, are obligated to maintain it in a safe, secure and confidential manner. Unauthorized redisclosure or failure to maintain confidentiality may subject you to federal and state penalties. If you are not the intended recipient, please immediately notify us by return email, and delete this message from your computer.
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
More information about the Gate-users
mailing list