Forums

Full Version: Trouble building
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Tried to build the latest SVN:

Code:
g++ -o build/vamos/body/Aerodynamic_Device.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Aerodynamic_Device.cc
In file included from include/vamos/geometry/Three_Vector.h:21,
                 from include/vamos/body/Particle.h:24,
                 from include/vamos/body/Aerodynamic_Device.h:24,
                 from src/vamos/body/Aerodynamic_Device.cc:21:
include/pch.h:15:22: error: GL/glew.h: No such file or directory
include/textures.h:67: error: ‘GLuint’ does not name a type
include/textures.h: In constructor ‘TEXTURE_SDLGL::TEXTURE_SDLGL()’:
include/textures.h:76: error: ‘tex_id’ was not declared in this scope
scons: *** [build/vamos/body/Aerodynamic_Device.o] Error 1
scons: building terminated because of errors.
tfric@tfric-desktop:~/vdrift$ locate GL/glew.h
/home/tfric/vdrift/bullet-2.64/Glut/GL/glew.h

It looks like glew was added as a prerequisite for building but the documentation was not updated. I am adding it to the wiki.
SCons should now check for glew.h in r1934. Sorry, I forgot about that one...