Hello, thanks for your advice!
I've loaded up a Scons'recent version (it's now scons-2.0.1-1 ) and I've retried :
it's always bad, but errors are not the same of scons-0.97.2, they seem like in topic "compile issue(glew)" --->
http://vdrift.net/Forum/viewtopic.php?t=1384
...
except, errors are much more on my computer !
do I've same problems, a mixing of conflicting files ?
for example: I have tried to put some expressions in cpp.file "fbobject.cpp", "GLEW-ARB_framebuffer_object" , but it appears always not declared; yet, "GLEW_ARB followed by others objects (but not by framebuffer_object) appears in "/usr/include/GL/glew.h " ...
I can't correct all the errors, no?
too many!
so, there is surly a true solution !
here below a copy of screen
I specify that vdrift-2010-06-30 is in directory "/usr/lib"
[root@localhost vdrift-2010-06-30]# 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
scons: done reading SConscript files.
scons: Building targets ...
CPP build/fbobject.o
In file included from include/fbtexture.h:12,
from include/fbobject.h:12,
from src/fbobject.cpp:1:
include/glstatemanager.h: In member function 'void GLSTATEMANAGER::BindFramebuffer(GLuint)':
include/glstatemanager.h:98: erreur: '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:25: erreur: 'GL_TEXTURE_RECTANGLE' was not declared in this scope
include/fbtexture.h: In constructor 'FBTEXTURE::FBTEXTURE()':
include/fbtexture.h:59: erreur: '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: erreur: 'GLEW_ARB_framebuffer_object' was not declared in this scope
src/fbobject.cpp:146: erreur: 'glGenFramebuffers' was not declared in this scope
src/fbobject.cpp:161: erreur: 'glGenRenderbuffers' was not declared in this scope
src/fbobject.cpp:162: erreur: 'GL_RENDERBUFFER' was not declared in this scope
src/fbobject.cpp:162: erreur: 'glBindRenderbuffer' was not declared in this scope
src/fbobject.cpp:171: erreur: 'glRenderbufferStorageMultisample' was not declared in this scope
src/fbobject.cpp:176: erreur: 'glRenderbufferStorage' was not declared in this scope
src/fbobject.cpp:181: erreur: 'GL_FRAMEBUFFER' was not declared in this scope
src/fbobject.cpp:181: erreur: 'GL_DEPTH_ATTACHMENT' was not declared in this scope
src/fbobject.cpp:181: erreur: 'glFramebufferRenderbuffer' was not declared in this scope
src/fbobject.cpp:193: erreur: 'GL_COLOR_ATTACHMENT0' was not declared in this scope
src/fbobject.cpp:212: erreur: 'glGenRenderbuffers' was not declared in this scope
src/fbobject.cpp:213: erreur: 'GL_RENDERBUFFER' was not declared in this scope
src/fbobject.cpp:213: erreur: 'glBindRenderbuffer' was not declared in this scope
src/fbobject.cpp:214: erreur: 'glRenderbufferStorageMultisample' was not declared in this scope
src/fbobject.cpp:215: erreur: 'GL_FRAMEBUFFER' was not declared in this scope
src/fbobject.cpp:215: erreur: 'GL_COLOR_ATTACHMENT0' was not declared in this scope
src/fbobject.cpp:215: erreur: 'glFramebufferRenderbuffer' was not declared in this scope
src/fbobject.cpp:228: erreur: 'GL_COLOR_ATTACHMENT0' was not declared in this scope
src/fbobject.cpp:234: erreur: 'GL_FRAMEBUFFER' was not declared in this scope
src/fbobject.cpp:234: erreur: 'glFramebufferTexture2D' was not declared in this scope
src/fbobject.cpp:240: erreur: 'GL_FRAMEBUFFER' was not declared in this scope
src/fbobject.cpp:240: erreur: 'glFramebufferTexture2D' was not declared in this scope
src/fbobject.cpp:259: erreur: 'GL_FRAMEBUFFER' was not declared in this scope
src/fbobject.cpp:259: erreur: 'GL_DEPTH_ATTACHMENT' was not declared in this scope
src/fbobject.cpp:259: erreur: 'glFramebufferTexture2D' was not declared in this scope
src/fbobject.cpp:265: erreur: 'GL_FRAMEBUFFER' was not declared in this scope
src/fbobject.cpp:265: erreur: 'GL_DEPTH_ATTACHMENT' was not declared in this scope
src/fbobject.cpp:265: erreur: 'glFramebufferTexture2D' was not declared in this scope
src/fbobject.cpp: In function 'std:
tring GetStatusString(GLenum)':
src/fbobject.cpp:307: erreur: 'GL_FRAMEBUFFER_UNDEFINED' was not declared in this scope
src/fbobject.cpp:310: erreur: 'GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT' was not declared in this scope
src/fbobject.cpp:313: erreur: 'GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER' was not declared in this scope
src/fbobject.cpp:316: erreur: 'GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER' was not declared in this scope
src/fbobject.cpp:319: erreur: 'GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT' was not declared in this scope
src/fbobject.cpp:322: erreur: 'GL_FRAMEBUFFER_UNSUPPORTED' was not declared in this scope
src/fbobject.cpp:325: erreur: 'GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE' was not declared in this scope
src/fbobject.cpp:328: erreur: '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: erreur: 'GL_FRAMEBUFFER' was not declared in this scope
src/fbobject.cpp:337: erreur: 'glCheckFramebufferStatus' was not declared in this scope
src/fbobject.cpp:339: erreur: 'GL_FRAMEBUFFER_COMPLETE' was not declared in this scope
src/fbobject.cpp: In member function 'void FBOBJECT:
eInit()':
src/fbobject.cpp:370: erreur: 'glDeleteFramebuffers' was not declared in this scope
src/fbobject.cpp:373: erreur: 'glDeleteRenderbuffers' was not declared in this scope
src/fbobject.cpp:379: erreur: 'glDeleteRenderbuffers' was not declared in this scope
src/fbobject.cpp: In member function 'void FBOBJECT::Begin(GLSTATEMANAGER&, std::ostream&, float)':
src/fbobject.cpp:403: erreur: 'GL_FRAMEBUFFER' was not declared in this scope
src/fbobject.cpp:403: erreur: 'glFramebufferTexture2D' was not declared in this scope
src/fbobject.cpp: In member function 'void FBOBJECT::End(GLSTATEMANAGER&, std::ostream&)':
src/fbobject.cpp:428: erreur: 'GL_READ_FRAMEBUFFER' was not declared in this scope
src/fbobject.cpp:428: erreur: 'glBindFramebuffer' was not declared in this scope
src/fbobject.cpp:429: erreur: 'GL_DRAW_FRAMEBUFFER' was not declared in this scope
src/fbobject.cpp:431: erreur: 'glCheckFramebufferStatus' was not declared in this scope
src/fbobject.cpp:431: erreur: 'GL_FRAMEBUFFER_COMPLETE' was not declared in this scope
src/fbobject.cpp:436: erreur: 'glBlitFramebuffer' was not declared in this scope
src/fbobject.cpp:441: erreur: 'GL_FRAMEBUFFER' was not declared in this scope
src/fbobject.cpp:441: erreur: 'glBindFramebuffer' was not declared in this scope
src/fbobject.cpp:454: erreur: 'glGenerateMipmap' was not declared in this scope
scons: *** [build/fbobject.o] Error 1
scons: building terminated because of errors.
thanks for study this situation
Perlin