|Message: Ubuntu 12.04 64bit problems||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Hi, I am trying to get geant4.9.6 installed on Ubuntu 12.04 64bit, but OpenGL is causing some headaches: 1) If it set -DGEANT4_USE_INVENTOR=ON then I seem to end up in a conflict between motif and OpenGL. With inventor-dev on (which then needs lesstif2-dev), I run make and get told there is no libxml.so. Thats fine, so I put on libmotif-dev, and it removes inventor-dev and then I run make and it tells me it can't find inventor0.so. ok, so give up on using Inventor, I think Qt should be good enough for what I need to do so... 2) When setting -DGEANT4_USE_QT=ON -DGEANT4_USE_INVENTOR=OFF, I type make -j2 I it errors, ok, so I just run make G4OpenGL VERBOSE=1 and I get the following at 100% It gets through to 100% and I then get the following error: [100%] Building CXX object source/visualization/OpenGL/CMakeFiles/G4OpenGL.dir/src/G4OpenGLViewer.cc.o cd /home/balmerm/Geant/geant4.9.6/source/visualization/OpenGL && /usr/bin/c++ -DG4OpenGL_EXPORTS -DG4_STORE_TRAJECTORY -DG4VERBOSE -DG4VIS_BUILD_OPENGL_DRIVER -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DG4VIS_BUILD_OPENGLQT_DRIVER -DG4INTY_BUILD_QT -DG4UI_BUILD_QT_SESSION -DQT_NO_DEBUG -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -pipe -std=c++98 -O2 -DNDEBUG -fPIC -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/externals/clhep/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/digits_hits/hits/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/geometry/management/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/geometry/solids/CSG/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/geometry/solids/specific/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/global/HEPGeometry/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/global/management/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/graphics_reps/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/intercoms/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/interfaces/basic/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/interfaces/common/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/tracking/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/visualization/externals/gl2ps/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/visualization/management/include -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/visualization/modeling/include -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/visualization/OpenGL/include -o CMakeFiles/G4OpenGL.dir/src/G4OpenGLViewer.cc.o -c /home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/visualization/OpenGL/src/G4OpenGLViewer.cc /home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/visualization/OpenGL/src/G4OpenGLViewer.cc: In member function ‘virtual void G4OpenGLViewer::SetView()’: /home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/visualization/OpenGL/src/G4OpenGLViewer.cc:297:47: error: ‘gluLookAt’ was not declared in this scope /home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/visualization/OpenGL/src/G4OpenGLViewer.cc: In member function ‘void G4OpenGLViewer::Pick(GLdouble, GLdouble)’: /home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/visualization/OpenGL/src/G4OpenGLViewer.cc:428:53: error: ‘gluPickMatrix’ was not declared in this scope /home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/externals/clhep/include/CLHEP/Units/PhysicalConstants.h: At global scope: /home/balmerm/Geant/geant4.9.6/geant4.9.6-build/source/externals/clhep/include/CLHEP/Units/PhysicalConstants.h:79:21: warning: ‘CLHEP::electron_charge’ defined but not used [-Wunused-variable] make: *** [source/visualization/OpenGL/CMakeFiles/G4OpenGL.dir/src/G4OpenGLViewer.cc.o] Error 1 make: Leaving directory `/home/balmerm/Geant/geant4.9.6' make: *** [source/visualization/OpenGL/CMakeFiles/G4OpenGL.dir/all] Error 2 make: Leaving directory `/home/balmerm/Geant/geant4.9.6' make: *** [source/visualization/OpenGL/CMakeFiles/G4OpenGL.dir/rule] Error 2 make: Leaving directory `/home/balmerm/Geant/geant4.9.6' make: *** [G4OpenGL] Error 2 If I set -DGEANT4_USE_QT=OFF, then I get through to the end ok and it is happy. I think I am not alone in this problem: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/installconfig/1441/1/1/1.html Any help would be very much appreciated as I am pretty much stuck now. Matt.
|Inline Depth:||Outline Depth:||Add message:|