Message: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc. 

Forum: Installation and Configuration
Date: 15 Feb, 2011
From: Carlo Casarino <Carlo Casarino>

Hi, I installed geant4.9.4 toolkit in a 64bit-SL5 OS
I have a problem with geant4.9.4 version in compiling many advanced examples...it makes all dependencies and compile all .cc files but at the end says (for Hadrontherapy):



Compiling Hadrontherapy.cc ...
Hadrontherapy.cc: In function ‘int main(int, char**)’:
Hadrontherapy.cc:153: warning: unused variable ‘analysis’
Using global libraries ...
Linking Hadrontherapy
/home/geant4/geant4.9.4//lib/Linux-g++/libG4interfaces.so: undefined reference to `QMapData::createData(int)'
/home/geant4/geant4.9.4//lib/Linux-g++/libG4OpenGL.so: undefined reference to `QListData::detach_grow(int*, int)'
/home/geant4/geant4.9.4//lib/Linux-g++/libG4OpenGL.so: undefined reference to `QListData::detach(int)'
/home/geant4/geant4.9.4//lib/Linux-g++/libG4interfaces.so: undefined reference to `QTreeWidgetItem::executePendingSort() const'
/home/geant4/geant4.9.4//lib/Linux-g++/libG4interfaces.so: undefined reference to `QListData::append2(QListData const&)'
/home/geant4/geant4.9.4//lib/Linux-g++/libG4OpenGL.so: undefined reference to `QPainter::drawImage(QPointF const&, QImage const&)'
/home/geant4/geant4.9.4//lib/Linux-g++/libG4interfaces.so: undefined reference to `QMapData::node_create(QMapData::Node**, int, int)'
/home/geant4/geant4.9.4//lib/Linux-g++/libG4OpenGL.so: undefined reference to `QBoxLayout::setSpacing(int)'
/home/geant4/geant4.9.4//lib/Linux-g++/libG4interfaces.so: undefined reference to `QTabWidget::setTabsClosable(bool)'
/home/geant4/geant4.9.4//lib/Linux-g++/libG4OpenGL.so: undefined reference to `qFlagLocation(char const*)'
collect2: ld returned 1 exit status
gmake: *** [/home/geant4/geant4.9.4/workdir1/bin/Linux-g++/Hadrontherapy] Error 1



I suspect that there is a problem with QtXml library links, for that I have also modified tha Configure file at line 2500 inserting:

            g4_qt_xml_headers=""
            g4_qt_xml_packages="QtXml"
"and" :

          for i in \$g4_qt_xml_packages ; do
                if test -d "\`dirname \$g4_qt_include_dir\`/\$i" ; then
                    echo "checking for \$i headers... yes"
                    g4_qt_xml_headers="\$g4_qt_xml_headers \`dirname \$g4_qt_include_dir\`/\$i"
                else
                    echo "checking for \$i headers... no"
                    g4_havegoodqt=no
                fi
            done

because I have seen that the QTLIBS varialble does not contains QtXml voice...
but without new results...
Thanks in advances for your help.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc.   (Ben Morgan - 15 Feb, 2011)
(_ None: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc.   (Carlo Casarino - 16 Feb, 2011)
(_ None: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc.   (Ben Morgan - 17 Feb, 2011)
(_ None: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc.   (Carlo Casarino - 17 Feb, 2011)
(_ None: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc.   (Ben Morgan - 18 Feb, 2011)
(_ None: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc.   (Carlo Casarino - 18 Feb, 2011)
(_ Feedback: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc.   (Ben Morgan - 18 Feb, 2011)
(_ Ok: Finally I am happy...next night I will sleep without worry... :-)   (Carlo Casarino - 18 Feb, 2011)
(_ None: Re: Finally I am happy...next night I will sleep without worry... :-)   (Ben Morgan - 18 Feb, 2011)
 Add Message Add Message
to: "Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc."

 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 ]