Message: Need help for building brachytherapy advance example in Geant4. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Need help for building brachytherapy advance example in Geant4.  

Forum: Documentation and Examples
Date: 10 Jul, 2013
From: Yue Yan <Yue Yan>

Hello, guys:

I have a Ubuntu 12.04 b4-bit Linux system and I installed Geant4.9.5.p02 on 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/ ...
/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/] Error

I tried to build other examples using make. It seems that the above error is
not exclusive for brathytherapy example. Every example trying to build by
make 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


The advance example folder is located in


The work folder is chosen to be


I modified my .bashrc file to add the to my path. The lines I
added are

--------added lines in .bashrc file---------
if [ -f
]; then
source /home/yunzhongfan107/Program/Geant4/geant4.9.5-install/share/Geant4-9.5.2/geant4make/

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!


 Add Message Add Message
to: "Need help for building brachytherapy advance example in Geant4. "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]