[ODE] drawstuff + glew ?

gabdab gabdab at spamhole.com
Thu Dec 14 02:32:42 MST 2006

Yes it might depends from the fact I have nvidia drivers which leads to a
particoular sort of glx .
Infact I get a null pointer from requesting opengl version, how could I
solve that (gl version from glx ?/google=0)

Andreas Fredriksson wrote:
> On 12/8/06, gabdab <gabdab at spamhole.com> wrote:
>> Hello,
>> I am trying to handle gl extensions using glew on linux.
>> While glew works fine ( I don't have support for higher fx anyway) on sdl
>> I
>> have an error while initializing it
>> not being able to get gl version :
>> ..
>> Error: Missing GL version
>> GLEW Version String: 1.3.5
>> OpenGL Version String: terminate called after throwing an instance of
>> 'std::logic_error'
>>   what():  basic_string::_S_construct NULL not valid
> It sounds as though your OpenGL implementation isn't behaving
> correctly. Try running 'glxinfo' from a terminal window (attached to
> your X server) and see what it reports in the version string--it
> sounds as it's returning a null pointer instead of a character string.
> Also make sure the program is linking to a correct version of OpenGL
> if you have several on your system. Try 'ldd myprogram' and see if the
> correct library is referenced.
> HTH, Andreas

View this message in context: http://www.nabble.com/drawstuff-%2B-glew---tf2781815.html#a7869277
Sent from the ODE mailing list archive at Nabble.com.

More information about the ODE mailing list