Issues Setting up SDL for Dev C++ ver 5.1

Started by
6 comments, last by BeerNutts 12 years, 3 months ago
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 :(
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

Engineering Manager at Deloitte Australia


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.

My Gamedev Journal: 2D Game Making, the Easy Way

---(Old Blog, still has good info): 2dGameMaking
-----
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)


[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.
Patrick
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]
Patrick

[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]

My Gamedev Journal: 2D Game Making, the Easy Way

---(Old Blog, still has good info): 2dGameMaking
-----
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)

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.
Patrick

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.

Engineering Manager at Deloitte Australia


[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."

My Gamedev Journal: 2D Game Making, the Easy Way

---(Old Blog, still has good info): 2dGameMaking
-----
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)

This topic is closed to new replies.

Advertisement