Forums
compiling on ubuntu 10.04 lts and asus eee PC 1000H - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: compiling on ubuntu 10.04 lts and asus eee PC 1000H (/showthread.php?tid=1559)



compiling on ubuntu 10.04 lts and asus eee PC 1000H - snajka - 09-14-2011

hi i'm trying to compile the game since 3 days without success!
below is the scons output:

Quote:scons: Reading SConscript files ...
Checking for C++ header file asio.hpp... (cached) yes
Checking for C++ header file boost/bind.hpp... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
Checking for C++ header file SDL/SDL_image.h... (cached) yes
Checking for C++ header file SDL/SDL_rotozoom.h... (cached) yes
Checking for C++ header file vorbis/vorbisfile.h... (cached) yes
Checking for C++ header file GL/glew.h... (cached) yes
Checking for C++ header file curl/curl.h... (cached) yes
Checking for C++ header file bullet/btBulletCollisionCommon.h... (cached) yes
Checking for C++ header file archive.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
CPP build/ai.o
In file included from src/drawable.h:6,
from src/drawable_container.h:4,
from src/scenenode.h:4,
from src/ai.h:6,
from src/ai.cpp:1:
src/model.h:29: warning: unused parameter ‘strFileName’
src/model.h:29: warning: unused parameter ‘error_output’
In file included from src/drawable.h:6,
from src/drawable_container.h:4,
from src/scenenode.h:4,
from src/ai.h:6,
from src/ai.cpp:1:
src/model.h:31: warning: unused parameter ‘strFileName’
src/model.h:31: warning: unused parameter ‘error_output’
src/model.h:31: warning: unused parameter ‘genlist’
In file included from src/gl3v/rendertextureentry.h:5,
from src/gl3v/rendermodelext.h:6,
from src/rendermodelext_drawable.h:4,
from src/drawable.h:8,
from src/drawable_container.h:4,
from src/scenenode.h:4,
from src/ai.h:6,
from src/ai.cpp:1:
src/gl3v/glwrapper.h: In member function ‘void GLWrapper::SamplerParameteri(GLuint, GLenum, GLint)’:
src/gl3v/glwrapper.h:129: error: ‘glSamplerParameteri’ was not declared in this scope
src/gl3v/glwrapper.h: In member function ‘void GLWrapper::SamplerParameterf(GLuint, GLenum, GLfloat)’:
src/gl3v/glwrapper.h:130: error: ‘glSamplerParameterf’ was not declared in this scope
src/gl3v/glwrapper.h: In member function ‘void GLWrapper::SamplerParameterfv(GLuint, GLenum, const GLfloat*)’:
src/gl3v/glwrapper.h:131: error: ‘glSamplerParameterfv’ was not declared in this scope
In file included from src/gl3v/rendertextureentry.h:5,
from src/gl3v/rendermodelext.h:6,
from src/rendermodelext_drawable.h:4,
from src/drawable.h:8,
from src/drawable_container.h:4,
from src/scenenode.h:4,
from src/ai.h:6,
from src/ai.cpp:1:
src/gl3v/glwrapper.h: In member function ‘GLuint GLWrapper::GenSampler()’:
src/gl3v/glwrapper.h:150: error: ‘glGenSamplers’ was not declared in this scope
src/gl3v/glwrapper.h: In member function ‘void GLWrapper:Big GrineleteSampler(GLuint)’:
src/gl3v/glwrapper.h:151: error: ‘glDeleteSamplers’ was not declared in this scope
src/gl3v/glwrapper.h: In member function ‘void GLWrapper::BindSampler(GLuint, GLuint)’:
src/gl3v/glwrapper.h:152: error: ‘glBindSampler’ was not declared in this scope
src/gl3v/glwrapper.h: In member function ‘void GLWrapper::unbindSampler(GLuint)’:
src/gl3v/glwrapper.h:153: error: ‘glBindSampler’ was not declared in this scope
In file included from src/cardynamics.h:7,
from src/car.h:4,
from src/ai.cpp:2:
src/cardifferential.h: At global scope:
src/cardifferential.h:58: warning: unused parameter ‘new_side1_speed’
src/cardifferential.h:58: warning: unused parameter ‘new_side2_speed’
In file included from src/cardynamics.h:14,
from src/car.h:4,
from src/ai.cpp:2:
src/caraerodynamicdevice.h:101: warning: unused parameter ‘s’
scons: *** [build/ai.o] Error 1
scons: building terminated because of errors.



- NaN - 09-14-2011

Hi snajka. You need a more recent GLEW version >= 1.5.4. I think this issue has been reported a few times already. Maybe scons should check the version?


- snajka - 09-15-2011

thank you! problem solved!


- joevenzon - 09-17-2011

NaN Wrote:Maybe scons should check the version?

Done! I set it up to check that glDeleteSamplers works, since ubuntu ships with an old GLEW hacked to report as a newer version.