compilation error - soczkers - 09-26-2010
My system: debian lenny 5.0.2
kernel 2.6.26-2-686
I instaled all packs whose in README.
And I have this:
Code: scons
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
sh: svnversion: command not found
scons: done reading SConscript files.
scons: Building targets ...
CPP build/fbobject.o
In file included from include/fbtexture.h:13,
from include/fbobject.h:12,
from src/fbobject.cpp:1:
include/glstatemanager.h: In member function âvoid GLSTATEMANAGER::BindFramebuffer(GLuint)â:
include/glstatemanager.h:98: error: âGL_FRAMEBUFFERâ was not declared in this scope
include/glstatemanager.h:98: error: âglBindFramebufferâ was not declared in this scope
In file included from include/fbobject.h:12,
from src/fbobject.cpp:1:
include/fbtexture.h: At global scope:
include/fbtexture.h:26: error: âGL_TEXTURE_RECTANGLEâ was not declared in this scope
include/fbtexture.h: In constructor âFBTEXTURE::FBTEXTURE()â:
include/fbtexture.h:60: error: âGL_COLOR_ATTACHMENT0â was not declared in this scope
src/fbobject.cpp: In member function âvoid FBOBJECT::Init(GLSTATEMANAGER&, std::vector<FBTEXTURE*, std::allocator<FBTEXTURE*> >, std::ostream&, bool)â:
src/fbobject.cpp:145: error: âGLEW_ARB_framebuffer_objectâ was not declared in this scope
src/fbobject.cpp:146: error: âglGenFramebuffersâ was not declared in this scope
src/fbobject.cpp:161: error: âglGenRenderbuffersâ was not declared in this scope
src/fbobject.cpp:162: error: âGL_RENDERBUFFERâ was not declared in this scope
src/fbobject.cpp:162: error: âglBindRenderbufferâ was not declared in this scope
src/fbobject.cpp:171: error: âglRenderbufferStorageMultisampleâ was not declared in this scope
src/fbobject.cpp:176: error: âglRenderbufferStorageâ was not declared in this scope
src/fbobject.cpp:181: error: âGL_FRAMEBUFFERâ was not declared in this scope
src/fbobject.cpp:181: error: âGL_DEPTH_ATTACHMENTâ was not declared in this scope
src/fbobject.cpp:181: error: âglFramebufferRenderbufferâ was not declared in this scope
src/fbobject.cpp:193: error: âGL_COLOR_ATTACHMENT0â was not declared in this scope
src/fbobject.cpp:212: error: âglGenRenderbuffersâ was not declared in this scope
src/fbobject.cpp:213: error: âGL_RENDERBUFFERâ was not declared in this scope
src/fbobject.cpp:213: error: âglBindRenderbufferâ was not declared in this scope
src/fbobject.cpp:214: error: âglRenderbufferStorageMultisampleâ was not declared in this scope
src/fbobject.cpp:215: error: âGL_FRAMEBUFFERâ was not declared in this scope
src/fbobject.cpp:215: error: âGL_COLOR_ATTACHMENT0â was not declared in this scope
src/fbobject.cpp:215: error: âglFramebufferRenderbufferâ was not declared in this scope
src/fbobject.cpp:228: error: âGL_COLOR_ATTACHMENT0â was not declared in this scope
src/fbobject.cpp:234: error: âGL_FRAMEBUFFERâ was not declared in this scope
src/fbobject.cpp:234: error: âglFramebufferTexture2Dâ was not declared in this scope
src/fbobject.cpp:240: error: âGL_FRAMEBUFFERâ was not declared in this scope
src/fbobject.cpp:240: error: âglFramebufferTexture2Dâ was not declared in this scope
src/fbobject.cpp:259: error: âGL_FRAMEBUFFERâ was not declared in this scope
src/fbobject.cpp:259: error: âGL_DEPTH_ATTACHMENTâ was not declared in this scope
src/fbobject.cpp:259: error: âglFramebufferTexture2Dâ was not declared in this scope
src/fbobject.cpp:265: error: âGL_FRAMEBUFFERâ was not declared in this scope
src/fbobject.cpp:265: error: âGL_DEPTH_ATTACHMENTâ was not declared in this scope
src/fbobject.cpp:265: error: âglFramebufferTexture2Dâ was not declared in this scope
src/fbobject.cpp: In function âstd::string GetStatusString(GLenum)â:
src/fbobject.cpp:307: error: âGL_FRAMEBUFFER_UNDEFINEDâ was not declared in this scope
src/fbobject.cpp:310: error: âGL_FRAMEBUFFER_INCOMPLETE_ATTACHMENTâ was not declared in this scope
src/fbobject.cpp:313: error: âGL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFERâ was not declared in this scope
src/fbobject.cpp:316: error: âGL_FRAMEBUFFER_INCOMPLETE_READ_BUFFERâ was not declared in this scope
src/fbobject.cpp:319: error: âGL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENTâ was not declared in this scope
src/fbobject.cpp:322: error: âGL_FRAMEBUFFER_UNSUPPORTEDâ was not declared in this scope
src/fbobject.cpp:325: error: âGL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLEâ was not declared in this scope
src/fbobject.cpp:328: error: âGL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETSâ was not declared in this scope
src/fbobject.cpp: In member function âbool FBOBJECT::CheckStatus(std::ostream&)â:
src/fbobject.cpp:337: error: âGL_FRAMEBUFFERâ was not declared in this scope
src/fbobject.cpp:337: error: âglCheckFramebufferStatusâ was not declared in this scope
src/fbobject.cpp:339: error: âGL_FRAMEBUFFER_COMPLETEâ was not declared in this scope
src/fbobject.cpp: In member function âvoid FBOBJECT::DeInit()â:
src/fbobject.cpp:370: error: âglDeleteFramebuffersâ was not declared in this scope
src/fbobject.cpp:373: error: âglDeleteRenderbuffersâ was not declared in this scope
src/fbobject.cpp:379: error: âglDeleteRenderbuffersâ was not declared in this scope
src/fbobject.cpp: In member function âvoid FBOBJECT::Begin(GLSTATEMANAGER&, std::ostream&, float)â:
src/fbobject.cpp:403: error: âGL_FRAMEBUFFERâ was not declared in this scope
src/fbobject.cpp:403: error: âglFramebufferTexture2Dâ was not declared in this scope
src/fbobject.cpp: In member function âvoid FBOBJECT::End(GLSTATEMANAGER&, std::ostream&)â:
src/fbobject.cpp:428: error: âGL_READ_FRAMEBUFFERâ was not declared in this scope
src/fbobject.cpp:428: error: âglBindFramebufferâ was not declared in this scope
src/fbobject.cpp:429: error: âGL_DRAW_FRAMEBUFFERâ was not declared in this scope
src/fbobject.cpp:431: error: âglCheckFramebufferStatusâ was not declared in this scope
src/fbobject.cpp:431: error: âGL_FRAMEBUFFER_COMPLETEâ was not declared in this scope
src/fbobject.cpp:436: error: âglBlitFramebufferâ was not declared in this scope
src/fbobject.cpp:441: error: âGL_FRAMEBUFFERâ was not declared in this scope
src/fbobject.cpp:441: error: âglBindFramebufferâ was not declared in this scope
src/fbobject.cpp:454: error: âglGenerateMipmapâ was not declared in this scope
scons: *** [build/fbobject.o] Error 1
scons: building terminated because of errors.
What should I do?
Sorry for my english.
- soczkers - 09-26-2010
new glew and now:
Code: debian:/home/cikol/vd/bin# vdrift
INFO: Multi-processor system detected. Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: development-full, Version: , O/S: Unix-like
INFO: Home directory: /root
INFO: Settings file: /root/.vdrift/VDrift.config (does not exist, will be created)
INFO: Data directory: /usr/local/share/games/vdrift/data
DATA_DIR: /usr/local/share/games/vdrift/data
INFO: Log file: /root/.vdrift/log.txt
Creating link /root/.kde/socket-debian.
Created link from "/root/.kde/socket-debian" to "/tmp/ksocket-root"
INFO: SDL initialization successful
INFO: SDL video query was successful
INFO: Disabling antialiasing
INFO: Display change was successful: 800x600x16 24z fullscreen=0
ERROR: You don't have an NVIDIA or ATI/AMD card. This game may not run correctly or at all.
INFO: Video card information:
Vendor: Tungsten Graphics, Inc
Renderer: Mesa DRI Intel(R) 945GM 20061017 x86/MMX/SSE2
Version: 1.3 Mesa 7.0.4
Maximum texture size: 2048
Maximum varying floats: 0
Using GLEW 1.5.6
INFO: Your video card doesn't support framebuffer objects. Disabling shaders.
ERROR: Unable to open graphics config file: /usr/local/share/games/vdrift/data/shaders/render.conf.noshaders
ERROR: Error loading non-shader render configuration file: /usr/local/share/games/vdrift/data/shaders/render.conf.noshaders
vdrift: src/graphics.cpp:697: void GRAPHICS_SDLGL::DisableShaders(const std::string&, std::ostream&): Assertion `0' failed.
SIGABRT detected, releasing the mouse
Przerwane
debian:/home/cikol/vd/bin#
Quote:ERROR: You don't have an NVIDIA or ATI/AMD card. This game may not run correctly or at all.
It is mean this game is not for me?
- NaN - 09-27-2010
Code: Unable to open graphics config file: /usr/local/share/games/vdrift/data/shaders/render.conf.noshaders
Make sure that the file is there. Or adjust vdrift data path accordingly.
|