| Summary: | Building problems for brachytherapy advance example in Geant4. | ||
|---|---|---|---|
| Product: | Examples/Advanced | Reporter: | Yue Yan <yanyue0730> |
| Component: | brachytherapy | Assignee: | Susanna Guatelli <susanna> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | ||
| Priority: | P5 | ||
| Version: | 9.5 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Screenshot of the error information in terminal in Ubuntu 12.04 64 bit system. | ||
In geant4 9.5,the advanced example human_phantom is built with GNUMakeFile and gmake. In the next public release of Geant4, the example will be built with cmake only. This is not a bug. Susanna Guatelli The user mentions problem with brachytherapy example, however - reading the attachment - it seems the problem is with the human_phantom advanced example |
Created attachment 224 [details] Screenshot of the error information in terminal in Ubuntu 12.04 64 bit system. Dear Sir/Madam: I have a Ubuntu 12.04 b4-bit Linux system and I installed Geant4.9.5.p02 in my PC. I try to build the brachytherapy advanced example in Geant4. In the example folder, there is no cmakelist.txt file and I try to build the example using the traditional make command. However, I have the following error information: ------error information------------ Creating shared library /home/yunzhongfan107/geant4_workdir/tmp/Linux-g++/phantom/libphantom.so ... /usr/bin/ld: cannot find -lInventorXt /usr/bin/ld: cannot find -lInventor collect2: ld returned 1 exit status make: *** [/home/yunzhongfan107/geant4_workdir/tmp/Linux-g++/phantom/libphantom.so] Error 1 ------------------------------------ I tried to build other examples using make. It seems that the above error is not exclusive just for brathytherapy example. Every example trying to build by make is always fails due to the same problem. Could you give me some information to solve this problem please? By the way, cmake command works well on my PC. I provide some information you may need to solve this problem. ------some detail information------------- The installation path of my Geant4 is /home/yunzhongfan107/Program/Geant4/geant4.9.5-install The advance example folder is located in /media/7b6affeb-931d-46f5-ab55-dca1255b2204/yunzhongfan107/work/Geant4/study/brachytherapy The work folder is chosen to be /home/yunzhongfan107/geant4_workdir I modified my .bashrc file to add the geant4make.sh to my path. The lines I added are --------added lines in .bashrc file--------- if [ -f /home/yunzhongfan107/Program/Geant4/geant4.9.5-install/share/Geant4-9.5.2/geant4make/geant4make.sh ]; then source /home/yunzhongfan107/Program/Geant4/geant4.9.5-install/share/Geant4-9.5.2/geant4make/geant4make.sh fi export QTMOC="/usr/bin/moc-qt4" export QTFLAGS="-I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL" export QTLIBS="-L/usr/lib -lQtCore -lQtGui" export GLQTLIBS="-L/usr/lib -lQtCore -lQtGui -lQtOpenGL" --------------------------------------------- Thank you for your help and best wishes! Sincerely Yours Yue Yan