- joevenzon - 01-28-2011
I did the initial integration of my GL3.3 renderer code into VDrift. It can be enabled by using the -gl3 argument, although right now all it does is render 2d UI sprites... incorrectly (unless your card doesn't support GL3.3, then it falls back to the GL1/2 renderer). Let me know if there are any build problems from me forgetting to check something in....
- skankerror - 01-28-2011
Code: scons: Building targets ...
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:7,
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:97: 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:98: 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:99: 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:7,
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:118: error: âglGenSamplersâ was not declared in this scope
src/gl3v/glwrapper.h: In member function âvoid GLWrapper::DeleteSampler(GLuint)â:
src/gl3v/glwrapper.h:119: error: âglDeleteSamplersâ was not declared in this scope
src/gl3v/glwrapper.h: In member function âvoid GLWrapper::BindSampler(GLuint, GLuint)â:
src/gl3v/glwrapper.h:120: error: âglBindSamplerâ was not declared in this scope
src/gl3v/glwrapper.h: In member function âvoid GLWrapper::unbindSampler(GLuint)â:
src/gl3v/glwrapper.h:121: error: âglBindSamplerâ was not declared in this scope
scons: *** [build/ai.o] Error 1
scons: building terminated because of errors.
- joevenzon - 01-28-2011
My first guess: GLEW 1.5.4 is required for OpenGL 3.3 support. Run "glewinfo" to check your glew version.
- NaN - 01-28-2011
graphics_gl3v.cpp is missing?
GLEW for win32 has to be updated. Is it OK to update to 1.5.7?
- nomoo - 01-28-2011
Seems to be broken under windows :roll:
- joevenzon - 01-29-2011
Yep, I forgot to check in graphics_gl3v.cpp. Doh. It's in there now.
- gianni - 01-29-2011
Hi all!
Compiling in revision 3035 I got this message:
Code: scons: done reading SConscript files.
scons: Building targets ...
scons: *** [build/rendermodelext_drawable.o] Source `src/rendermodelext_drawable.cpp' not found, needed by target `build/rendermodelext_drawable.o'.
scons: building terminated because of errors.
- NaN - 01-29-2011
Quote:`src/rendermodelext_drawable.cpp' not found
I've updated the Sconscript file, should compile now.
- gianni - 01-29-2011
Yes, it compile. Thanks!
- joevenzon - 01-29-2011
NaN Wrote:I've updated the Sconscript file, should compile now.
I forgot to check in the file. Fixed in R3037, also undid some of the changes you made in 3035 to rendermodelext_drawable.h (which I assume you made to get it to compile with the missing cpp file). Why did you remove the "virtual" tag from drawEnabled?
- portets - 01-29-2011
i have libcurl installed but get:
Code: You do not have the curl/curl.h headers installed. Exiting.
upon trying to compile.
- joevenzon - 01-29-2011
When you do 'locate curl.h' does it show up in /usr/include/curl/curl.h? You may need to install dev packages.
- NaN - 01-29-2011
Quote:Why did you remove the "virtual" tag from drawEnabled?
Assumed there would be no classes derived from RenderModelExternalDrawable. Else might be a good idea to make the destructor virtual too.
- portets - 01-29-2011
joevenzon Wrote:When you do 'locate curl.h' does it show up in /usr/include/curl/curl.h? You may need to install dev packages.
Code: /usr/share/doc/python-pycurl/html/pycurl.html
hmm.. ubuntu doesn't appear to have dev packages for libcurl.
i may need to compile libcurl myself?
- fudje - 01-29-2011
portets Wrote:hmm.. ubuntu doesn't appear to have dev packages for libcurl.
Ubuntu package name is libcurl4-gnutls-dev
|