Message: geant4.10 on mac os 10.9.2 problem with QT visualizer Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question geant4.10 on mac os 10.9.2 problem with QT visualizer 

Forum: Installation and Configuration
Date: 11 Mar, 2014
From: Ian Postuma <Ian Postuma>

Hei ! My installation works fine with OpenGl, but I'm having some trouble in the setup of the QT4.8 visualizer!

I had some problems with OpenGl too, but i found in an other post on this forum, that by simply modifying CMakeCache.txt geant4.10 compiled correctly. This because the Make configuration wasn't able to get the OPENGL_INCLUDE_DIR

OPENGL_INCLUDE_DIR:PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers

So i thought that also the QT PATH was wrong but I didn't find anything that looked like an error... here i copied the error message shown in the terminal...

Scanning dependencies of target G4expat
Scanning dependencies of target G4zlib
Scanning dependencies of target G4clhep
[  0%] [  0%] Building CXX object source/externals/expat/CMakeFiles/G4expat.dir/src/xmlrole.cc.o
Building CXX object source/externals/expat/CMakeFiles/G4expat.dir/src/xmlparse.cc.o
[  0%] Building CXX object source/externals/zlib/CMakeFiles/G4zlib.dir/src/adler32.cc.o
/Users/zintinos/Documents/dottorato/geant4/geant4_10_00/source/externals/expat/src/xmlrole.cc:198:21: warning: 
      unused parameter 'ptr' [-Wunused-parameter]
        const char *ptr,
                    ^
/Users/zintinos/Documents/dottorato/geant4/geant4_10_00/source/externals/expat/src/xmlrole.cc:199:21: warning: 
      unused parameter 'end' [-Wunused-parameter]
        const char *end,
                    ^
/Users/zintinos/Documents/dottorato/geant4/geant4_10_00/source/externals/expat/src/xmlrole.cc:200:25: warning: 
      unused parameter 'enc' [-Wunused-parameter]
        const ENCODING *enc)
                        ^
/Users/zintinos/Documents/dottorato/geant4/geant4_10_00/source/externals/expat/src/xmlrole.cc:219:22: warning: 
      unused parameter 'ptr' [-Wunused-parameter]
         const char *ptr,
                     ^
/Users/zintinos/Documents/dottorato/geant4/geant4_10_00/source/externals/expat/src/xmlrole.cc:220:22: warning: 
      unused parameter 'end' [-Wunused-parameter]
         const char *end,
                     ^
/Users/zintinos/Documents/dottorato/geant4/geant4_10_00/source/externals/expat/src/xmlrole.cc:221:26: warning: 
      unused parameter 'enc' [-Wunused-parameter]
         const ENCODING *enc)
...
...
...
2 warnings generated.
Linking CXX shared library ../../outputs/library/Darwin-clang/libG4interfaces.dylib
ld: framework not found QtGui
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [outputs/library/Darwin-clang/libG4interfaces.dylib] Error 1
make[1]: *** [source/interfaces/CMakeFiles/G4interfaces.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  9%] Building CXX object source/materials/CMakeFiles/G4materials.dir/src/G4NistMessenger.cc.o
[  9%] Building CXX object source/analysis/CMakeFiles/G4analysis.dir/management/src/G4HnMessenger.cc.o
[  9%] Building CXX object source/materials/CMakeFiles/G4materials.dir/src/G4OpticalSurface.cc.o
[  9%] Building CXX object source/graphics_reps/CMakeFiles/G4graphics_reps.dir/src/HepPolyhedron.cc.o
[  9%] Building CXX object source/analysis/CMakeFiles/G4analysis.dir/management/src/G4VAnalysisManager.cc.o
[  9%] Building CXX object source/materials/CMakeFiles/G4materials.dir/src/G4SandiaTable.cc.o
[  9%] Building CXX object source/materials/CMakeFiles/G4materials.dir/src/G4SurfaceProperty.cc.o
[  9%] [  9%] Building CXX object source/materials/CMakeFiles/G4materials.dir/src/G4VIonDEDXTable.cc.o
Building CXX object source/analysis/CMakeFiles/G4analysis.dir/management/src/G4VFileManager.cc.o
[  9%] Building CXX object source/analysis/CMakeFiles/G4analysis.dir/management/src/G4VH1Manager.cc.o
Linking CXX shared library ../../outputs/library/Darwin-clang/libG4graphics_reps.dylib
[  9%] Built target G4graphics_reps
[  9%] Building CXX object source/analysis/CMakeFiles/G4analysis.dir/management/src/G4VH2Manager.cc.o
Linking CXX shared library ../../outputs/library/Darwin-clang/libG4materials.dylib
[  9%] Built target G4materials
[  9%] Building CXX object source/analysis/CMakeFiles/G4analysis.dir/management/src/G4VNtupleManager.cc.o
[  9%] Building CXX object source/analysis/CMakeFiles/G4analysis.dir/root/src/G4RootAnalysisManager.cc.o
[  9%] Building CXX object source/analysis/CMakeFiles/G4analysis.dir/root/src/G4RootFileManager.cc.o
[  9%] Building CXX object source/analysis/CMakeFiles/G4analysis.dir/root/src/G4RootNtupleManager.cc.o
[  9%] Building CXX object source/analysis/CMakeFiles/G4analysis.dir/xml/src/G4XmlAnalysisManager.cc.o
[  9%] Building CXX object source/analysis/CMakeFiles/G4analysis.dir/xml/src/G4XmlFileManager.cc.o
[  9%] Building CXX object source/analysis/CMakeFiles/G4analysis.dir/xml/src/G4XmlNtupleManager.cc.o
Linking CXX shared library ../../outputs/library/Darwin-clang/libG4analysis.dylib
[  9%] Built target G4analysis
make: *** [all] Error 2

Thanks for the help ! cheers Ian

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

1 Question: Re: geant4.10 on mac os 10.9.2 problem with QT visualizer   (Ben Morgan - 12 Mar, 2014)
(_ None: Re: geant4.10 on mac os 10.9.2 problem with QT visualizer   (Ian Postuma - 12 Mar, 2014)
(_ Note: Re: geant4.10 on mac os 10.9.2 problem with QT visualizer   (Ben Morgan - 14 Mar, 2014)
(_ Ok: Re: geant4.10 on mac os 10.9.2 problem with QT visualizer   (Ian Postuma - 08 Apr, 2014)
 Add Message Add Message
to: "geant4.10 on mac os 10.9.2 problem with QT visualizer"

 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 ]