Hi J-S,
The only that comes to my mind is change all RPATHS on dependent
libraries. This is a little bit complicated, and maybe a I need to
reinstall OS :S.
Using otool -L you can see all the rpaths associated to a library or
executable in mac.
Using install_name_tool you can change a concrete
Hi all,
A bit of a general question, does anyone know how to run an OpenGL
program with mesa instead of the platform's OpenGL driver? Is it
supposed to require a recompile?
I want to run osgviewer using mesa to compare this with my machine's
OpenGL drivers. I'm doing this on MacOS X, BTW,
Jean-Sébastien Guay writes:
A bit of a general question, does anyone know how to run an OpenGL
program with mesa instead of the platform's OpenGL driver? Is it
supposed to require a recompile?
Hi J-S,
I don't know why is it different on Mac, but on Linux just setting the
LD_LIBRARY_PATH as
Hi Alberto,
I don't know why is it different on Mac, but on Linux just setting the
LD_LIBRARY_PATH as you did is the way to go, since both libraries must
have the same ABI. For example, when one installs the nVidia libraries
on Linux, the installer just substitutes the old ones (e.g. Mesa) by
Hi J-S,
Did you try LD_PRELOAD? Something like 'export
LD_PRELOAD=/usr/lib/mesa/libGL.so'
May be it can do the trick..
Cheers.
2010/9/20 Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com
Hi Alberto,
I don't know why is it different on Mac, but on Linux just setting the
LD_LIBRARY_PATH
Hi Jordi,
Did you try LD_PRELOAD? Something like 'export
LD_PRELOAD=/usr/lib/mesa/libGL.so'
May be it can do the trick..
Seems like the MacOSX version of LD_PRELOAD is DYLD_INSERT_LIBRARIES. So
having built a recent mesa now, I tried:
DYLD_INSERT_LIBRARIES=...path/to/libGL.dylib osgversion
6 matches
Mail list logo