Problem 1392 - advanced/gammaknife compilation failed on Mac 10.8
Summary: advanced/gammaknife compilation failed on Mac 10.8
Status: RESOLVED FIXED
Alias: None
Product: Examples/Advanced
Classification: Unclassified
Component: gammaray_telescope (show other problems)
Version: 9.5
Hardware: All Mac OS X
: P5 normal
Assignee: garnier
URL:
Depends on:
Blocks:
 
Reported: 2012-11-15 15:01 CET by garnier
Modified: 2012-11-19 15:45 CET (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description garnier 2012-11-15 15:01:29 CET
[ 65%] Building CXX object examples/advanced/gammaknife/CMakeFiles/gammaknife.dir/gammaknife.cc.o
In file included from /Users/garnier/Work/geant4/examples/advanced/gammaknife/gammaknife.cc:50:
/Users/garnier/Work/geant4/source/interfaces/basic/include/G4UIXm.hh:37:10: fatal error: 'X11/Intrinsic.h' file not found
#include <X11/Intrinsic.h>
        ^
1 error generated.
Comment 1 garnier 2012-11-15 15:05:09 CET
A solution could be to remove in gammaknife.cc:50:

#ifdef G4UI_USE_XM
#include "G4UIXm.hh"
#endif

Thoughts?

Cheers, 
Laurent
Comment 2 garnier 2012-11-19 15:44:52 CET
Solved and tagged by John Allison, 

Laurent