Jump to content
  • Advertisement

Archived

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

maruchan

SDL trouble =(

This topic is 5575 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

I just downloaded the SDL pack for dev-c++ 4.9.7.0 and i try runninga simple program that only includes the sdl library i get a [Linker error] undefined reference to `WinMain@16'' so i did some searching some people said change main() to SDL_main() and put all these extensions in the linker options and none of them worked.. thanks

Share this post


Link to post
Share on other sites
Advertisement
You don''t need to make a windows app, it will work with either window or console (although window is recommended, since you don''t want a window and a console). It sounds like you just didn''t link the SDLmain library.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!