well, I am attempting to build in a recent cygwin download…
I have the cygwin openGL support installed, perhaps that is my mistake…
there seems to be gl.h files in two places (foobar eh?)
/usr/include/mingw/GL/gl.h (which is really /usr/include/GL/gl.h)
(this is also the one it tries to use, see below)
and
/usr/include/w32api/GL/gl.h
I did not install the opengl-devel.tar.gz as suggested in
http://www.libsdl.org/extras/win32/cygwin/README.txt
because it is already there.
but that presents three options now! which gl.h should we be using!?
in any case, has anyone tried this lately?–
LIM
— snippet from config.log —
configure:4598: checking for OpenGL support
configure:4621: gcc -c -g -O2 -I/usr/local/include/SDL -Dmain=SDL_main
-I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin conftest.c >&5
cc1: warning: changing search order for system directory
"/usr/include/mingw"
cc1: warning: as it has already been specified as a non-system directory
In file included from configure:4612:
/usr/local/include/SDL/SDL_opengl.h:2155: redefinition of
PFNGLCOLORSUBTABLEEXTPROC' /usr/include/mingw/GL/gl.h:1535:
PFNGLCOLORSUBTABLEEXTPROC’ previously
declared here
configure:4624: $? = 1
configure: failed program was:
| #line 4601 “configure”
| /* confdefs.h. /
|
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define PACKAGE “SDL_tests”
| #define VERSION “1.2.3”
| / end confdefs.h. */
|
| #include “SDL_opengl.h”
|
| int
| main ()
| {
|
|
| ;
| return 0;
| }
configure:4641: result: no
moving the /usr/include/GL to /usr/include/GL.orig (disabling it
basically) made it work…
it still complains about the includes directory reordering…–
LIM
Jonathan Atkins wrote:
well, I am attempting to build in a recent cygwin download…
I have the cygwin openGL support installed, perhaps that is my mistake…
there seems to be gl.h files in two places (foobar eh?)
/usr/include/mingw/GL/gl.h (which is really /usr/include/GL/gl.h)
(this is also the one it tries to use, see below)
and
/usr/include/w32api/GL/gl.h
I did not install the opengl-devel.tar.gz as suggested in
http://www.libsdl.org/extras/win32/cygwin/README.txt
because it is already there.
but that presents three options now! which gl.h should we be using!?
in any case, has anyone tried this lately?
–
LIM
— snippet from config.log —
configure:4598: checking for OpenGL support
configure:4621: gcc -c -g -O2 -I/usr/local/include/SDL -Dmain=SDL_main
-I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin conftest.c >&5
cc1: warning: changing search order for system directory
"/usr/include/mingw"
cc1: warning: as it has already been specified as a non-system directory
In file included from configure:4612:
/usr/local/include/SDL/SDL_opengl.h:2155: redefinition of
PFNGLCOLORSUBTABLEEXTPROC' /usr/include/mingw/GL/gl.h:1535:
PFNGLCOLORSUBTABLEEXTPROC’ previously
declared here
configure:4624: $? = 1
configure: failed program was:
| #line 4601 “configure”
| /* confdefs.h. /
|
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define PACKAGE “SDL_tests”
| #define VERSION “1.2.3”
| / end confdefs.h. */
|
| #include “SDL_opengl.h”
|
| int
| main ()
| {
|
|
| ;
| return 0;
| }
configure:4641: result: no
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl