This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: libglut-devel package conflicts with opengl package [Attn: Volker]
- From: "Yaakov (Cygwin Ports)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 04 Nov 2008 10:57:55 -0600
- Subject: Re: libglut-devel package conflicts with opengl package [Attn: Volker]
- References: <COL104-W7550C4890120CF762BA0C8931C0@phx.gbl>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
http://cygwin.com/acronyms/#PCYMTWLL
André Bleau wrote:
> The applications using freeglut can be compiled and linked without problems,
> but I now realize that native GLUT applications cannot be compiled
> correctly if the libglut-devel package is also installed because the
glut.h
> that it puts in /usr/include/GL takes precedance over the one that is
> required in /usr/include/w32api/GL.
FYI, this won't just be limited to GLUT; with the modular X11
transition, the Mesa OpenGL includes will be in /usr/include/GL as well.
> So, how do we solve this?
Use -I/usr/include/w32api ?
Yes, it's in the default search path, but this will force it before
/usr/include.
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkkQfxMACgkQpiWmPGlmQSOohgCgxgMN9W5VTfTP1lC9xGCAn6VV
03oAoOVxTsY8FcdmXxgH9TxYXiPqWwzV
=6yxk
-----END PGP SIGNATURE-----