From: Thoralf S. <tho...@ya...> - 2005-11-28 22:14:07
|
hi there, I'm currently trying to compile gem for pd (see http://gem.iem.at) with mingw. My setup is MinGW 5.0.0, MSys 1.0.10 nd autoconf 2.59. While doing the ./configure step, this software checks if opengl is installed by looking for libGL. Naturally, this test fails on mingw, because there is no such lib. Since I don't want to tamper with the makefile (yet), I copied libopengl32.a in the lib directory of the mingw installation to libGL.a . This fails too, there seems to be something wrong with libopengl32 and its headers: --config.log--- configure:5321: checking for glInitNames in -lGL configure:5351: gcc -o conftest.exe -g -O2 -I/mingw/include:/mingw/include/GL:/mingw/include/ftgl -I/c/Programme/pd/src -L/mingw/lib conftest.c -lGL -lm >&5 C:/DOKUME~1/VJ/LOKALE~1/Temp/ccwtaaaa.o(.text+0x19): In function `main': c:/dev/Gem/src/conftest.c:25: undefined reference to `glInitNames' collect2: ld returned 1 exit status configure:5357: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "FULL-PACKAGE-NAME" | #define PACKAGE_TARNAME "full-package-name" | #define PACKAGE_VERSION "VERSION" | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION" | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_LIBM 1 | #define X_DISPLAY_MISSING 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char glInitNames (); | int | main () | { | glInitNames (); | ; | return 0; | } configure:5383: result: no Now I'm wondering how I could obtain a working gl.h / libopengl32.a combination. Should I compile mesa? thank you for your help, thoralf. ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com |