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:eleteSampler(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.
|