[Gate-users] OPenGL for visualistation

ian.cullum at uclh.nhs.uk ian.cullum at uclh.nhs.uk
Tue May 15 19:34:49 CEST 2007


I have a problem getting visualistaion to work for Gate version 3 using geant 4.8.0.p01 (a problem with my Geant install not Gate I guess). Without visualization everything seems to work fine. I have tried following to get a ‘correct’ openGL.

 

Yum install on mesa-libGL –devel and mesa-libGLU –devel.

Getting MesaGLUT-6.5 and MesaLib-6.5 and doing the make (puutinn the result in a different directory to X11R^ and then setting the path to the new value in the configure part.

 

In both case I get the following error messages from the Geant install:

 

****************************************************************************************************

Compiling G4OpenGLImmediateSceneHandler.cc ...

In file included from include/G4OpenGL.hh:35,

                 from include/G4OpenGLSceneHandler.hh:40,

                 from src/G4OpenGLImmediateSceneHandler.cc:42:

include/GL/gl.h:10: warning: ignoring #pragma include_noerr

include/GL/gl.h:14: warning: ignoring #pragma ifndef G__GLDLL_H

include/GL/gl.h:15: warning: ignoring #pragma message Note

In file included from include/G4OpenGL.hh:35,

                 from include/G4OpenGLSceneHandler.hh:40,

                 from src/G4OpenGLImmediateSceneHandler.cc:42:

include/GL/gl.h:15:64: warning: '$' in identifier or number

include/GL/gl.h:16: warning: ignoring #pragma endif

include/G4OpenGLSceneHandler.hh:100: error: �GLubyte’ does not name a type

include/G4OpenGLTransform3D.hh:44: error: ISO C++ forbids declaration of �GLdouble’ with no type

include/G4OpenGLTransform3D.hh:44: error: expected �;’ before �*’ token

include/G4OpenGLTransform3D.hh:46: error: �GLdouble’ does not name a type

src/G4OpenGLImmediateSceneHandler.cc: In member function �virtual void G4OpenGLImmediateSceneHandler::BeginPrimitives(const G4Transform3D&)’:

src/G4OpenGLImmediateSceneHandler.cc:64: error: �glPushMatrix’ was not declared in this scope

src/G4OpenGLImmediateSceneHandler.cc:77: error: �class G4OpenGLTransform3D’ has no member named �GetGLMatrix’src/G4OpenGLImmediateSceneHandler.cc:77: error: �glMultMatrixd’ was not declared in this scope

src/G4OpenGLImmediateSceneHandler.cc: In member function �virtual void G4OpenGLImmediateSceneHandler::EndPrimitives()’:

src/G4OpenGLImmediateSceneHandler.cc:81: error: �glPopMatrix’ was not declared in this scope

src/G4OpenGLImmediateSceneHandler.cc:83: error: �glFlush’ was not declared in this scope

 

****************************************************************************************************

 

 

Can anyone help me on this please?

 

Thanks

 

Ian Cullum

Senior Lecturer

Institute of Nuclear Medicine

5th Floor University College Hospital

235 Euston Road

London NW12BU

 



**********************************************************************
This email is confidential and is intended solely for the person or entity to whom it is addressed.  If this is not you, please forward the message to mail.administrator at uclh.nhs.uk.  We have scanned this email before sending it, but cannot guarantee that malicious software is absent and we shall carry no liability in this regard. 
We advise that information intended to be kept confidential should not be sent by email.  We also advise that health concerns should be discussed with a medical professional in person or by telephone.  NHS Direct can also provide advice.  We shall not be liable for any failure to follow this advice.  University College London Hospitals NHS Foundation Trust (UCLH).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20070515/ee92f529/attachment.htm>


More information about the Gate-users mailing list