The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
|
OpenGL 3.3 renderer rewrite - 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: OpenGL 3.3 renderer rewrite (/showthread.php?tid=1421) |
- portets - 01-30-2011 fudje Wrote:Ubuntu package name is libcurl4-gnutls-dev thanks , did the job. but now i get: Code: CPP build/ai.o - NaN - 01-30-2011 You need glew >= 1.5.4 for the GL3.3 pieces. - portets - 01-30-2011 oops.. 8) i should have looked at the previous posts to see that someone had that error already. - joevenzon - 01-30-2011 NaN Wrote: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. But... RenderModelExternalDrawable is a derived class. It derives from RenderModelExternal. If I want to call drawEnabled on a base class (RenderModelExternal) pointer and have the RenderModelExternalDrawable drawEnabled method get called, RenderModelExternalDrawable::drawEnabled must be virtual too, right? It doesn't really matter because due to some other changes RenderModelExternalDrawable::drawEnabled no longer exists, but I'm curious. - NaN - 01-30-2011 Declaring a method virtual tells the compiler to look for it in the vtable. Try: Code: #include <iostream> - joevenzon - 01-30-2011 Oh cool, thanks. It makes sense now. - nomoo - 01-31-2011 Guys, is windows build broken or i missed something? I've downloaded latest glew, rearranged files and now i'm getting: "obj\Release\src\ai.o:ai.cpp|| undefined reference to `vtable for RenderModelExternalDrawable'|" etc - NaN - 01-31-2011 Project file needed to be updated. - zimluura - 02-23-2011 finally got glew 1.5.8 installed. a friend said it might be good to put it in my /usr/local directory. after that it compiled. but won't link: LINK build/vdrift build/gl3v/renderpass.o: In function `GLWrapper::GenSampler()': renderpass.cpp.text._ZN9GLWrapper10GenSamplerEv[GLWrapper::GenSampler()]+0x20): undefined reference to `__glewGenSamplers' build/gl3v/renderpass.o: In function `GLWrapper:eleteSampler(unsigned int)': renderpass.cpp.text._ZN9GLWrapper13DeleteSamplerEj[GLWrapper:eleteSampler(unsigned int)]+0x23): undefined reference to `__glewDeleteSamplers' build/gl3v/renderpass.o: In function `GLWrapper::unbindSampler(unsigned int)': renderpass.cpp.text._ZN9GLWrapper13unbindSamplerEj[GLWrapper::unbindSampler(unsigned int)]+0x23): undefined reference to `__glewBindSampler' build/gl3v/rendersampler.o: In function `GLWrapper::BindSampler(unsigned int, unsigned int)': /home/zimluura/Games/vdrift/source/src/gl3v/glwrapper.h:142: undefined reference to `__glewBindSampler' build/gl3v/renderstate.o: In function `GLWrapper::SamplerParameteri(unsigned int, unsigned int, int)': renderstate.cpp.text._ZN9GLWrapper17SamplerParameteriEjji[GLWrapper::SamplerParameteri(unsigned int, unsigned int, int)]+0x2a): undefined reference to `__glewSamplerParameteri' build/gl3v/renderstate.o: In function `GLWrapper::SamplerParameterf(unsigned int, unsigned int, float)': renderstate.cpp.text._ZN9GLWrapper17SamplerParameterfEjjf[GLWrapper::SamplerParameterf(unsigned int, unsigned int, float)]+0x2b): undefined reference to `__glewSamplerParameterf' build/gl3v/renderstate.o: In function `GLWrapper::SamplerParameterfv(unsigned int, unsigned int, float const*)': renderstate.cpp.text._ZN9GLWrapper18SamplerParameterfvEjjPKf[GLWrapper::SamplerParameterfv(unsigned int, unsigned int, float const*)]+0x2b): undefined reference to `__glewSamplerParameterfv' collect2: ld returned 1 exit status scons: *** [build/vdrift] Error 1 scons: building terminated because of errors. i still have the normal ubuntu10.10 glew around(1.5.0 i think). which i can't remove (via synaptic) without taking out gnome too. i know, i know, no real loss, but i don't have a good version of e17 on here yet. anybody got any ideas? - fudje - 02-24-2011 zimluura Wrote:anybody got any ideas? Did you clean your vdrift tree before rebuilding? It might also be necessary to trash SCons's cache - do 'rm .sconsign.dblite' from the vdrift directory. - skankerror - 02-24-2011 zimluura Wrote:i still have the normal ubuntu10.10 glew around(1.5.0 i think). which i can't remove (via synaptic) without taking out gnome too. i know, i know, no real loss, but i don't have a good version of e17 on here yet. https://launchpad.net/~amuzen/+archive/ppa Add this ppa, then update via synaptic. You'll have 1.5.6 properly installed. - zimluura - 02-24-2011 fudje: on your advice, i tried it. still wouldn't link same error i think. skankerror: the ppa version got it to link, and now all is well. thanks to both of you for the helpful suggestions! - portets - 02-25-2011 just tried the gl3 and get a black screen and segfault after "Loaded GUI successfully". rv3076 datarv806, nvidia 9600m gs on 260.19.06 that reports gl3.3 capabilities. - gianni - 02-25-2011 Me too. Code: INFO: Multithreading enabled: 8 processors Ubuntu 10.10 for amd64, vdrift rev. 3076. I have tried to delete ~/.vdrift and restart but nothing. Also I have tried to compile and install latest glew from svn repository. - gianni - 02-25-2011 If it can be usefull, this is my output from gdb: Code: ... |