• Advertisement
Sign in to follow this  

Issues Setting up SDL for Dev C++ ver 5.1

This topic is 2201 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 have just started using Dev C++ and i have run into a problem. I followed an online tutorial while setting up SDL for the Dev C++ but when compiling I encountered the following problems

skipping incompatible E:/Development/SDL/SDL-devel-1.2.14-VC8/SDL-1.2.14/lib/SDLmain.lib when searching for -lSDLmain - (as shown in the image (Error.jpg))

I have included the libraries and include files as stated in the tutorial, The images C++Includes and Libraries show this.

I have also set the parameters under Project -> Project Options -> Parameters with ( Parameters.jpg)

I use Windows 7 OS 64bit and Dev C++ ver 5.1.0.0

the SDL file used is SDL-devel-1.2.14-mingw32.tar

Please help me out :(

Share this post


Link to post
Share on other sites
Advertisement

Don't use Dev-C++: http://clicktobegin.net/programming/why-you-shouldnt-use-dev-c/.

Use http://www.codeblocks.org/ or http://www.microsoft...ual-cpp-express.

When you get one of them follow one of these tutorials:

http://wiki.codebloc...th_Code::Blocks

or

http://lazyfoo.net/S...2010e/index.php


Not applicable, since Dev-C++ was updated last month:
http://orwellengine.blogspot.com/

I have no idea if 5.1 fixes the major issues, but the standard "don't use it" line needs to be updated.

Share this post


Link to post
Share on other sites

[quote name='CRYP7IK' timestamp='1326366481' post='4901963']
Don't use Dev-C++: http://www.jasonbada...ldnt-use-dev-c/.

Use http://www.codeblocks.org/ or http://www.microsoft...ual-cpp-express.

When you get one of them follow one of these tutorials:

http://wiki.codebloc...th_Code::Blocks

or

http://lazyfoo.net/S...2010e/index.php


Not applicable, since Dev-C++ was updated last month:
http://orwellengine.blogspot.com/

I have no idea if 5.1 fixes the major issues, but the standard "don't use it" line needs to be updated.
[/quote]

That's because that's someones fork of Dev-C++, it's not the original. When you say you're using Dev-C++ people assume you're using 4.9.9.2 from Bloodshed.

Share this post


Link to post
Share on other sites
Hidden
From the paths it looks like you've download the VC8 development libraries instead of the Mingw32 one.

E:/Development/SDL/SDL-devel-1.2.14-VC8/SDL-1.2.14/lib/SDLmain.lib
[/quote]

Share this post


Link to post

[quote name='BeerNutts' timestamp='1326385127' post='4902040']
[quote name='CRYP7IK' timestamp='1326366481' post='4901963']
Don't use Dev-C++: http://www.jasonbada...ldnt-use-dev-c/.

Use http://www.codeblocks.org/ or http://www.microsoft...ual-cpp-express.

When you get one of them follow one of these tutorials:

http://wiki.codebloc...th_Code::Blocks

or

http://lazyfoo.net/S...2010e/index.php


Not applicable, since Dev-C++ was updated last month:
http://orwellengine.blogspot.com/

I have no idea if 5.1 fixes the major issues, but the standard "don't use it" line needs to be updated.
[/quote]

That's because that's someones fork of Dev-C++, it's not the original. When you say you're using Dev-C++ people assume you're using 4.9.9.2 from Bloodshed.
[/quote]
Except the OP said:

[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif]

I use Windows 7 OS 64bit and Dev C++ ver 5.1.0.0

[/font]
[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif]

[/quote]

[/font]
[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif]

Making it obvious he wasn't using bloodshed's versionl

[/font]

Share this post


Link to post
Share on other sites
The only thing that comes to mind is are you trying to build a 64 bit application? SDL 1.2.14 as downloaded from libsdl.org is a 32 bit library, and as far as I know you can't link a 32 bit library directly to 64 bit application.

Share this post


Link to post
Share on other sites

I have no idea if 5.1 fixes the major issues, but the standard "don't use it" line needs to be updated.


No it doesn't, It's still inferior to both visual studio and code::blocks. It has had some updates, but there is no reason to use it when there are free, better alternatives. One person working on it for a year will not fix anywhere near enough to catch code::blocks let alone visual studio.

Share this post


Link to post
Share on other sites

[quote name='BeerNutts' timestamp='1326385127' post='4902040']
I have no idea if 5.1 fixes the major issues, but the standard "don't use it" line needs to be updated.


No it doesn't, It's still inferior to both visual studio and code::blocks. It has had some updates, but there is no reason to use it when there are free, better alternatives. One person working on it for a year will not fix anywhere near enough to catch code::blocks let alone visual studio.
[/quote]

You missed my point, but the standard "don't use it line" that typically claims it hasn't been updated since 2005 needs to be updated. So, it should be updated to say "while it has been updated, it's still not nearly as good as these, so, you still shouldn't use it."

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement