Hi Jeremy,
Rebuilding SimDist to get the newer version on my Mac, OS X 10.8. Mostly worked is CXX=g++ (else gdml does not compile). However, I get a problem with Geant4. The G4 RayTracer stuff does not look in the correct place for X11. It looks in /usr/include/X11, while it should be looking in /usr/X11R6.
The variables appear to be correct though:
> make debuginfo
CLHEP_BASE_DIR=/data/HPSlcsim/Release/SimDist/packages/clhep/v2r1p0_1
CLHEP_INCLUDE_DIR=/data/HPSlcsim/Release/SimDist/packages/clhep/v2r1p0_1/include
CLHEP_LIB_DIR=/data/HPSlcsim/Release/SimDist/packages/clhep/v2r1p0_1/lib
G4INSTALL=/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01
G4SYSTEM=Darwin-g++
OGLHOME=/usr/X11R6
You have any clues for me?
My other experience is that wiith "cmake" the new Geant4 compiles quite nicely, but somehow in SimDist something goes different.
Cheers,
Maurik
Making dependency for file src/G4RayTracerXViewer.cc ...
In file included from src/G4RayTracerXViewer.cc:38:
include/G4RTXScanner.hh:45:22: error: X11/Xlib.h: No such file or directory
include/G4RTXScanner.hh:46:23: error: X11/Xutil.h: No such file or directory
Making dependency for file src/G4RTXScanner.cc ...
In file included from src/G4RTXScanner.cc:34:
include/G4RTXScanner.hh:45:22: error: X11/Xlib.h: No such file or directory
include/G4RTXScanner.hh:46:23: error: X11/Xutil.h: No such file or directory
src/G4RTXScanner.cc:41:23: error: X11/Xatom.h: No such file or directory
g++ -Wall -ansi -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -pipe -O2 -DG4OPTIMISE -Iinclude -I/data/HPSlcsim/Release/SimDist/packages/clhep/v2r1p0_1/include -DG4LIB_USE_GDML -I/data/HPSlcsim/Release/SimDist/packages/xerces/v3r1p1/include -DG4VERBOSE -DG4_STORE_TRAJECTORY -DG4VIS_BUILD -DG4VIS_BUILD_DAWN_DRIVER -DG4VIS_BUILD_OPENGLX_DRIVER -DG4VIS_BUILD_OPENGL_DRIVER -DG4VIS_BUILD_RAYTRACERX_DRIVER -DG4VIS_BUILD_VRML_DRIVER -I/usr/include/X11/extensions -I/usr/include/X11 -DG4VIS_ALLOC_EXPORT -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/visualization/modeling/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/visualization/management/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/graphics_reps/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/global/management/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/global/HEPGeometry/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/global/HEPRandom/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/geometry/management/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/geometry/navigation/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/geometry/volumes/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/digits_hits/detector/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/digits_hits/digits/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/intercoms/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/event/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/track/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/tracking/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/digits_hits/hits/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/particles/bosons/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/particles/management/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/processes/management/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/processes/cuts/include -I/data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/source/materials/include -c -o /data/HPSlcsim/Release/SimDist/packages/geant4/v9r5p01/tmp/Darwin-g++/G4RayTracer/G4RTXScanner.o src/G4RTXScanner.cc
In file included from src/G4RTXScanner.cc:34:
include/G4RTXScanner.hh:45:22: error: X11/Xlib.h: No such file or directory
include/G4RTXScanner.hh:46:23: error: X11/Xutil.h: No such file or directory
src/G4RTXScanner.cc:41:23: error: X11/Xatom.h: No such file or directory
In file included from src/G4RTXScanner.cc:34:
include/G4RTXScanner.hh:85: error: ISO C++ forbids declaration of ‘Display’ with no type
include/G4RTXScanner.hh:85: error: expected ‘;’ before ‘*’ token
include/G4RTXScanner.hh:86: error: ‘Window’ does not name a type
include/G4RTXScanner.hh:87: error: ‘GC’ does not name a type
include/G4RTXScanner.hh:88: error: ISO C++ forbids declaration of ‘XStandardColormap’ with no type
include/G4RTXScanner.hh:88: error: expected ‘;’ before ‘*’ token
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
|