|
From: | Dan Sebald |
Subject: | [Octave-bug-tracker] [bug #44478] test __osmesa_print__.cc-tst crashes with Nvidia drivers |
Date: | Wed, 11 May 2016 22:22:39 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
Follow-up Comment #93, bug #44478 (project octave): Yes, I think the multiple function names is the issue. Check this out: sebald@ ~/octave/opengl_nvidia $ g++ osmesa-foo-mod.cc -lGL -lOSMesa sebald@ ~/octave/opengl_nvidia $ a.out CTX: 0x7fad95c9b010 GL_DEPTH_BITS: 0 GL_STENCIL_BITS: 0 sebald@ ~/octave/opengl_nvidia $ g++ osmesa-foo-mod.cc -lOSMesa sebald@ ~/octave/opengl_nvidia $ a.out CTX: 0x7f28624d6010 GL_DEPTH_BITS: 16 GL_STENCIL_BITS: 0 I didn't even have to link in the OpenGL library to make the glGetIntegerv function work properly. Whether that means the whole OSMesa will function properly, I don't know. But, is it possible to do a partial link and resolve the function calls in the __osmesa_print__.o object using -lOSMesa and then the rest of Octave using -lGL? Then combine? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?44478> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |