Menu

Problem with SDL

Dimple
2005-02-10
2012-09-26
  • Dimple

    Dimple - 2005-02-10

    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.

     
    • Wayne Keen

      Wayne Keen - 2005-02-10

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.