Message: Re: OPENGL_INCLUDE_DIR error during install Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: OPENGL_INCLUDE_DIR error during install 

Forum: Installation and Configuration
Re: Question OPENGL_INCLUDE_DIR error during install (MYTHRA VARUN NEMALLAPUDI)
Re: None Re: OPENGL_INCLUDE_DIR error during install (John Allison)
Re: None Re: OPENGL_INCLUDE_DIR error during install (MYTHRA VARUN NEMALLAPUDI)
Re: None Re: OPENGL_INCLUDE_DIR error during install (John Allison)
Re: Idea Re: OPENGL_INCLUDE_DIR error during install (Sam Blake)
Date: 09 Feb, 2014
From: Pete Wu <Pete Wu>

Hi Sam,

I edited the line refering to include OPENGL on OSX, which was in the CMakeCatch.txt file located in my geant4-build directory, which has the path:

/usr/local/geant4.10.00-build/CMakeCatche.txt

The modification to this file is shown below and is exactly what you stated in your post:

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

I then ran the cmake stage to setup OPENGL_X11=ON option after this I ran make -j4 and make install commands sequentially. However, when I try to run exmapleB1 which builds without errors again I get error message:

*************************************************************
 Geant4 version Name: geant4-10-00 (6-December-2013)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************

<<< Reference Physics List QBBC
Checking overlaps for volume Envelope ... OK!
Checking overlaps for volume Shape1 ... OK!
Checking overlaps for volume Shape2 ... OK!
### Adding tracking cuts for neutron TimeCut(ns)= 10000 KinEnergyCut(MeV)= 0
Visualization Manager instantiating with verbosity "warnings (3)"...
Visualization Manager initialising...
Registering graphics systems...

You have successfully registered the following graphics systems.
Current available graphics systems are:
  ASCIITree (ATree)
  DAWNFILE (DAWNFILE)
  G4HepRep (HepRepXML)
  G4HepRepFile (HepRepFile)
  RayTracer (RayTracer)
  VRML1FILE (VRML1FILE)
  VRML2FILE (VRML2FILE)
  gMocrenFile (gMocrenFile)

Registering model factories...

You have successfully registered the following model factories.
Registered model factories:
  generic
  drawByCharge
  drawByParticleID
  drawByOriginVolume
  drawByAttribute

Registered filter factories:
  chargeFilter
  particleFilter
  originVolumeFilter
  attributeFilter

You have successfully registered the following user vis actions.
Run Duration User Vis Actions: none
End of Event User Vis Actions: none
End of Run User Vis Actions: none

Some /vis commands (optionally) take a string to specify colour.
Available colours:
  black, blue, brown, cyan, gray, green, grey, magenta, red, white, yellow

Available UI session types: [ GAG, tcsh, csh ]
/control/saveHistory
/run/verbose 2
#
# Visualization setting
/control/execute vis.mac
# Macro file for the visualization setting in the initialization phase
# of the B1 example when running in interactive mode
#
# Use these open statements to open selected visualization
#
# Use this open statement to create an OpenGL view:
/vis/open OGL 600x600-0+0
parameter value is not listed in the candidate List.
***** Illegal parameter (0) </vis/open OGL 600x600-0+0> *****

***** Batch is interrupted!! *****
Idle>

However, as you can see from the output I still get the same error message once I run the emample code.

During the CMake stage for configuring and building OPENGL option for geant4 as well as building of exampleB1, I did not get any error messages.

Further suggestion on how to solve this strange problem will be very much appreciated.

Cheers,

Pete

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

1 None: Re: OPENGL_INCLUDE_DIR error during install   (Sam Blake - 09 Feb, 2014)
(_ None: Re: OPENGL_INCLUDE_DIR error during install   (Pete Wu - 09 Feb, 2014)
(_ Idea: Re: OPENGL_INCLUDE_DIR error during install   (Sam Blake - 09 Feb, 2014)
 Add Message Add Message
to: "Re: OPENGL_INCLUDE_DIR error during install"

 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 ]