The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compilation error
09-26-2010, 05:17 PM,
#1
compilation error
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.
Reply


Messages In This Thread
compilation error - by soczkers - 09-26-2010, 05:17 PM
[No subject] - by soczkers - 09-26-2010, 07:38 PM
[No subject] - by NaN - 09-27-2010, 09:49 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)