Making wine use the correct OpenGL libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to compile Wine under Snow Leopard and I finally managed to fix the issue where it could find the OpenGL development headers, but... having done that, it finds the wrong OpenGL libraries by default, in other words, running ./configure with:
./configure CPPFLAGS='-I/usr/X11/include'
Results in:
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for GL/glu.h... yes
checking for up-to-date OpenGL version... yes
checking for -lGL... libGL.1.dylib
checking for -lGLU... libGLU.1.dylib

But at runtime it can't find the .1 versions of the libraries - I'm guessing because those aren't in the OpenGL framework folder. So, to make this work I'm assuming it needs to use libGL.dylib file instead. So, in a desperate attempt to fix this issue, I tried:
./configure CPPFLAGS='-I/usr/X11/include' LDFLAGS='-L/System/Library/Frameworks/OpenGL.framework/Libraries'
And this results in:
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for GL/glu.h... yes
checking for up-to-date OpenGL version... yes
checking for -lGL... not found
checking for -lGL... not found
checking for -lGLU... libGLU.dylib

So now it finds the correct libGLU.dylib, but doesn't find libGL.dylib, which exists in the same directory. I think these problems are probably due to changes in Snow Leopard, in theory, all I should need to do is ./configure and it should all just work, but the OpenGL stuff is broken quite well.






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux