Priest of the Order of the Butterfly
Posts: 602 from 2004/4/15
Hi,
got the following linker error when I am linking to SDl2:
Code:
...
linker ... /gg/usr/local/lib/libSDL2_mixer.a /gg/usr/local/lib/libSDL2_ttf.a /gg/usr/local/lib/libSDL2.a -lm
/gg/lib/gcc-lib/ppc-morphos/11.3.0/../../../../ppc-morphos/bin/ld: /gg/usr/local/lib/libSDL2.a(sdl-startup.o): in function `__CSTP_init_SDL2Base':
sdl-startup.c:(.text+0x67a): undefined reference to `TGLGetMaximumContextVersion'
/gg/lib/gcc-lib/ppc-morphos/11.3.0/../../../../ppc-morphos/bin/ld: sdl-startup.c:(.text+0x68a): undefined reference to `TGLGetMaximumContextVersion'
collect2: error: ld returned 1 exit status
Any idea what's going wrong, where this this symbol comes from?
[ Edited by eliot 26.12.2024 - 09:06 ]regards
eliot