![]() |
cvs compile on ubuntu 10.04 - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4) +--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9) +--- Thread: cvs compile on ubuntu 10.04 (/showthread.php?tid=1501) |
cvs compile on ubuntu 10.04 - mike4 - 06-01-2011 Hi just downloaded via cvs as package install didn't work. Now I get this below. Many thanks for help Michael michael@ubuntu:~/CPP/vdrift1$ scons scons: Reading SConscript files ... Checking for C++ header file asio.hpp... yes Checking for C++ header file boost/bind.hpp... yes Checking for C++ header file GL/gl.h... yes Checking for C++ header file GL/glu.h... yes Checking for C++ header file SDL/SDL.h... yes Checking for C++ header file SDL/SDL_image.h... yes Checking for C++ header file SDL/SDL_rotozoom.h... yes Checking for C++ header file vorbis/vorbisfile.h... yes Checking for C++ header file GL/glew.h... yes Checking for C++ header file curl/curl.h... yes scons: done reading SConscript files. scons: Building targets ... CPP build/aabb.o CPP build/aabb_space_partitioning.o CPP build/ai.o In file included from src/gl3v/rendertextureentry.h:5, from src/gl3v/rendermodelext.h:6, from include/rendermodelext_drawable.h:4, from include/drawable.h:8, from include/drawable_container.h:4, from include/scenenode.h:4, from include/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 include/rendermodelext_drawable.h:4, from include/drawable.h:8, from include/drawable_container.h:4, from include/scenenode.h:4, from include/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: ![]() 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 scons: *** [build/ai.o] Error 1 scons: building terminated because of errors. michael@ubuntu:~/CPP/vdrift1$ - antoniovazquez - 06-01-2011 Ubuntu versions for glew are wrong. Download http://glew.sourceforge.net/ the zipped or tared version of glew (repo one doesn't build) and do "make; sudo make install". That should fix some things. - skankerror - 06-01-2011 https://launchpad.net/~amuzen/+archive/ppa Look in this ppa, a working package of glew inside. - antoniovazquez - 06-01-2011 I've already seen that but I prefer to compile it myself. Thanks - mike4 - 06-03-2011 Thanks works fine with scons. But now I try in Eclipse and get: "libcurl not found". What do I need to install? Thanks - NaN - 06-03-2011 You need to install libcurl (something like): sudo apt-get install libcurl4-gnutls-dev I think the wiki needs an update. - mike4 - 06-04-2011 yes i had that but in fact i needed the other version. Something with openssl in the name...anyway works now, thanks. - portets - 06-07-2011 i get the same error in ubuntu 11.04 which comes with glew 1.5.7 - joevenzon - 06-08-2011 If you do "dpkg -s libglew1.5-dev" you'll see that the version of glew is "1.5.7.is.1.5.2-1ubuntu2" on 11.04. Ubuntu have purposefully mislabeled glew 1.5.2 as 1.5.7 in their repository. You need to manually install 1.5.7 or greater. Drives me nuts that they did that. - portets - 06-08-2011 thanks, working now. and liking the damage effects so far ![]() |