Archived

This topic is now archived and is closed to further replies.

Android 13

SDL / C++ Pages?

Recommended Posts

If you''re using MSVC do the following:
  • Make a Win32 application.
  • Go to Project->Settings.
  • Make "Settings For" All Configurations.
  • Click on the "Link" tab.
  • Check "Ignore all default libraries."
  • Add sdl.lib, sdlmain.lib, msvcrt.lib and (possibly) libc.lib and libcp.lib to the "Object/library modules" textbox.
  • Instead of another variety of main you must use "int main(int argc, char *argv[])"
    That should be all you need to do .

    [Resist Windows XP''s Invasive Production Activation Technology!]

    Share this post


    Link to post
    Share on other sites
    I tried to get it to work with Dev C++ to explain how to someone a while ago and failed. I know it is possible, since I''ve used SDL with GCC (what Dev C++ uses) before. If you want to do it from a makefile or from the command line it is easy (see this page). However, I still haven''t figured out why it won''t work in the Dev C++ IDE .

    [Resist Windows XP''s Invasive Production Activation Technology!]

    Share this post


    Link to post
    Share on other sites