Forums
Trouble building - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Trouble building (/showthread.php?tid=890)



Trouble building - TF - 02-03-2008

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.


- thelusiv - 02-03-2008

SCons should now check for glew.h in r1934. Sorry, I forgot about that one...