paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] undefined references to SDL_main


From: nandrats
Subject: [paragui-users] undefined references to SDL_main
Date: Wed, 26 Jun 2002 12:32:10 -0500

When compiling the test apps, some (dropdown e.g.) produce errors for undefined
references to SDL_main. Others like "animation" compileand execute just fine.
I only see that problem on WinNT/98 and not with Linux.

This is the error code:
$ make
c++  -g -O2  -o dropdown.exe  dropdown.o -L/usr/local/lib -L/usr/local/lib
-lparagui -lmingw32 -lSDLmain -lSDL -mwindows -lz -lSDL_image
-Lc:/progra~1/FreeType/lib -lfreetype -lstdc++
C:\msys\1.0\local\lib/libSDLmain.a(SDL_main.o.b): In function `console_main':
//c/Mingw32/Visual-MinGW/SDL-1.2.4/src/main/SDL_main.c:227: undefined reference
to `SDL_main'
make: *** [dropdown.exe] Error 1

Thanks,

NIC





reply via email to

[Prev in Thread] Current Thread [Next in Thread]