| Summary: | Installation error, gluPickMatrix and gluLookAt not found | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | garnier |
| Component: | visualization | Assignee: | garnier |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | P5 | ||
| Version: | 10.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
|
Description
garnier
2014-04-23 10:34:02 CEST
The fact is for a Linux user, compiling Geant4 with only Qt driver will failed because of missing glu.h.
See :
#ifdef G4VIS_BUILD_OPENGLQT_DRIVER
#ifndef G4VIS_BUILD_OPENGLX_DRIVER
#ifdef __MACH__
//# define G4OPENGL_VERSION_2 1
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#endif
#include <qgl.h>
#endif
#endif
Have to be fixed by :
#ifdef G4VIS_BUILD_OPENGLQT_DRIVER
#ifndef G4VIS_BUILD_OPENGLX_DRIVER
#ifdef __MACH__
//# define G4OPENGL_VERSION_2 1
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#else
#include <GL/gl.h>
#include <GL/glu.h>
#endif
#include <qgl.h>
#endif
#endif
Cheers,
Laurent
|