When you go to the forum that Colin points you to, I recall some discussion on this occuring there in the last few months, a forum search should bring it up.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Compile log:
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Janne\Typyt\Jannen hommelit\testi\lesson2\lesson2\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Janne\Typyt\Jannen hommelit\testi\lesson2\lesson2\Makefile.win" all
windres.exe -i Lesson_2_private.rc --input-format=rc -o Lesson_2_private.res -O coff
g++.exe lesson2.o Lesson_2_private.res -o "Lesson 2.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/include/SDL/SDL_image-1.2.4/lib" ../../../../../../../Dev-Cpp/lib/libSDL.a ../../../../../../../Dev-Cpp/lib/libSDL.dll.a ../../../../../../../Dev-Cpp/lib/libSDLmain.a ../../../../../../../Dev-Cpp/lib/libSDL_ttf.a ../../../../../../../Dev-Cpp/lib/libSDL_net.a ../../../../../../../Dev-Cpp/lib/libSDL_mixer.a
C:/Dev-Cpp/lib/libmingw32.a(main.o)(.text+0x106):main.c: undefined reference to `WinMain@16'
make.exe: *** ["Lesson] Error 1
Execution terminated
And code was example.
Please take a moment to read a forum before you post a question to it. This is the thread you posted directly above.
http://sourceforge.net/forum/forum.php?thread_id=940084&forum_id=33286
When you go to the forum that Colin points you to, I recall some discussion on this occuring there in the last few months, a forum search should bring it up.
Wayne