In our previous episode, Anthony Walter said: > 2) I cannot compile a i386-win32 SDL2 application on Linux using the SDL2 > static libraries (define static in CrossSDL2.pas which should be reference > i386-win32/libSDL2.a) for Windows. I get a bunch of errors similar to this: > > test.lpr(79,1) Error: Undefined symbol: > CROSSSDL2_$$_SDL_GL_LOADLIBRARY$PCHAR$$LONGINT > ... > test.lpr(79,1) Error: Undefined symbol: > CROSSSDL2_$$_SDL_DESTROYWINDOW$PSDL_WINDOW
This is related to how you link. Missing FPC generated symbols is extremely rare when the buildprocess is under FPC's control. See what you do differently (from just using fpc <xx>), and check it. Thoroughly. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal