Message: Error when compiling "G4OpenGLXViewer.cc" Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Error when compiling "G4OpenGLXViewer.cc" 

Forum: Installation and Configuration
Date: 18 Sep, 2008
From: Oscar Larsson <Oscar Larsson>

Hi

I have been trying to find out what's wrong with my installation of G4.9.1.p02. I'm running it on SL5 on an PC-x86

When I tried to compile the N03-example I got a lot of errors I couldn't figure out. So I went back and checked the log from the building of G4 and found these lines:

Compiling G4OpenGLXViewer.cc ...

src/G4OpenGLXViewer.cc: In member function "virtual void G4OpenGLXViewer::CreateMainWindow()":

src/G4OpenGLXViewer.cc:302: error: illegal conversion from "GLint" to "GLenum"

gmake[2]: *** [/home/Nasa/cern/G4/geant4.9.1.p02/tmp/Linux-g++/G4OpenGL/G4OpenGLXViewer.o] Error 1

gmake[1]: *** [granular] Error 2

Any ideas as to what might be causing this compilation error? Since I have no clue I have chose not to include any environmental values or such. But if you need any more info, just let me know.

/Oscar

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

1 None: Re: Error when compiling   (John Allison - 18 Sep, 2008)
(_ Question: Re: Error when compiling   (Oscar Larsson - 22 Sep, 2008)
(_ None: Re: Error when compiling   (Paul Nicholas Colin Gloster - 22 Sep, 2008)
 Add Message Add Message
to: "Error when compiling "G4OpenGLXViewer.cc""

 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 ]