View unanswered posts | View active topics It is currently Wed Dec 01, 2021 10:11 am



Reply to topic  [ 1 post ] 
 Could not compile 
Author Message

Joined: Tue Dec 31, 2013 9:34 pm
Posts: 1
Post Could not compile
Hello,

im trying to compile GLC lib in the following environment:

- Debian 7 Wheezy (amd x64)
- Qt 4.8 (from repo)
- 'GLC_lib-Version_2_5_2'
- noob user

After some warning message the compiling stops with the following:

Code:
glc_context.cpp: In member function ‘void GLC_Context::glcUseVertexPointer(const GLvoid*)’:
glc_context.cpp:70:74: error: ‘glVertexAttribPointer’ was not declared in this scope
glc_context.cpp:71:43: error: ‘glEnableVertexAttribArray’ was not declared in this scope
glc_context.cpp: In member function ‘void GLC_Context::glcDisableVertexClientState()’:
glc_context.cpp:92:66: error: ‘glDisableVertexAttribArray’ was not declared in this scope
glc_context.cpp: In member function ‘void GLC_Context::glcUseNormalPointer(const GLvoid*)’:
glc_context.cpp:115:74: error: ‘glVertexAttribPointer’ was not declared in this scope
glc_context.cpp:116:43: error: ‘glEnableVertexAttribArray’ was not declared in this scope
glc_context.cpp: In member function ‘void GLC_Context::glcDisableNormalClientState()’:
glc_context.cpp:137:64: error: ‘glDisableVertexAttribArray’ was not declared in this scope
glc_context.cpp: In member function ‘void GLC_Context::glcUseTexturePointer(const GLvoid*)’:
glc_context.cpp:160:74: error: ‘glVertexAttribPointer’ was not declared in this scope
glc_context.cpp:161:43: error: ‘glEnableVertexAttribArray’ was not declared in this scope
glc_context.cpp: In member function ‘void GLC_Context::glcDisableTextureClientState()’:
glc_context.cpp:182:65: error: ‘glDisableVertexAttribArray’ was not declared in this scope
glc_context.cpp: In member function ‘void GLC_Context::glcUseColorPointer(const GLvoid*)’:
glc_context.cpp:205:74: error: ‘glVertexAttribPointer’ was not declared in this scope
glc_context.cpp:206:43: error: ‘glEnableVertexAttribArray’ was not declared in this scope
glc_context.cpp: In member function ‘void GLC_Context::glcDisableColorClientState()’:
glc_context.cpp:227:63: error: ‘glDisableVertexAttribArray’ was not declared in this scope
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DCREATE_GLC_LIB_DLL -DLIB3DS_EXPORTS -D_CRT_SECURE_NO_WARNINGS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I3rdparty/zlib -I/usr/X11R6/include -IBuild -o Build/glc_uniformshaderdata.o glc_uniformshaderdata.cpp
make[1]: *** [Build/glc_context.o] Error 1
make[1]: *** Waiting for unfinished jobs....
glc_contextshareddata.cpp: In member function ‘void GLC_ContextSharedData::glcMultMatrix(const GLC_Matrix4x4&)’:
glc_contextshareddata.cpp:168:25: warning: variable ‘current’ set but not used [-Wunused-but-set-variable]
make[1]: Leaving directory `/home/johndoe/Letöltések/GLC_lib-Version_2_5_2/GLC_lib-Version_2_5_2/src'
make: *** [sub-src-make_default-ordered] Error 2


Any idea? Thank you!


Wed Jan 01, 2014 2:21 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.