Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cvs compile on ubuntu 10.04
06-01-2011, 07:57 AM,
#1
cvs compile on ubuntu 10.04
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:Big GrineleteSampler(GLuint)’:
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$
Reply
06-01-2011, 08:36 AM,
#2
 
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.
Reply
06-01-2011, 08:40 AM,
#3
 
https://launchpad.net/~amuzen/+archive/ppa

Look in this ppa, a working package of glew inside.
Reply
06-01-2011, 08:56 AM,
#4
 
I've already seen that but I prefer to compile it myself. Thanks
Reply
06-03-2011, 04:17 AM,
#5
 
Thanks works fine with scons. But now I try in Eclipse and get: "libcurl not found". What do I need to install?
Thanks
Reply
06-03-2011, 05:14 PM,
#6
 
You need to install libcurl (something like): sudo apt-get install libcurl4-gnutls-dev

I think the wiki needs an update.
Reply
06-04-2011, 04:41 AM,
#7
 
yes i had that but in fact i needed the other version. Something with openssl in the name...anyway works now, thanks.
Reply
06-07-2011, 08:27 PM,
#8
 
i get the same error in ubuntu 11.04 which comes with glew 1.5.7
Reply
06-08-2011, 10:34 AM,
#9
 
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.
Reply
06-08-2011, 06:56 PM,
#10
 
thanks, working now. and liking the damage effects so far Big Grin
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)