Jump to content
  • Advertisement

Archived

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

Android 13

SDL / C++ Pages?

This topic is 6255 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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

    • Advertisement
    ×

    Important Information

    By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

    GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

    Sign me up!