- Here is the error:
gcc -o testgl testgl.c -g -O2 -I/Volumes/Antares_APPS/build//include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11/include -DHAVE_OPENGL -L/Volumes/Antares_APPS/build//lib -lSDL -L/usr/X11/lib -Wl,-framework,OpenGL
ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib
collect2: ld returned 1 exit status
make: *** [testgl] Error 1
- Here is the context:
I use Mac OS 10.5.8 on a PowerPC G4 machine.
I checked out and compiled the trunk. I installed it in a non-standard subdirectory
so that it doesnt’ mess with existing SDL 1.2 (which resides under /sw through fink).
In order to compile the tests, I had to manually alter the DYLD_LIBRARY_PATH environment variable so that it knows where to find the newly installed SDL 1.3.
Then I get the error above when attempting to compile the OpenGL tests. Same error for testopengl2 and testopengles.