Jump to content

  • Log In with Google      Sign In   
  • Create Account

Issues Setting up SDL for Dev C++ ver 5.1


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
7 replies to this topic

#1 Nikhil Nanu   Members   -  Reputation: 100

Like
0Likes
Like

Posted 12 January 2012 - 04:11 AM

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 :(

Attached Thumbnails

  • Error.jpg
  • C++Includes.jpg
  • Libraries.jpg
  • Parameters.jpg


Sponsor:

#2 CRYP7IK   Members   -  Reputation: 939

Like
2Likes
Like

Posted 12 January 2012 - 05:08 AM

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
To accomplish great things we must first dream, then visualize, then plan...believe... act! - Alfred A. Montapert
Gold Coast Studio Manager, Lead Programmer and IT Admin at Valhalla Studios Bifrost.

#3 BeerNutts   Crossbones+   -  Reputation: 2944

Like
0Likes
Like

Posted 12 January 2012 - 10:18 AM

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)

#4 prh99   Members   -  Reputation: 501

Like
0Likes
Like

Posted 12 January 2012 - 10:25 AM


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.


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

#5 BeerNutts   Crossbones+   -  Reputation: 2944

Like
1Likes
Like

Posted 12 January 2012 - 12:04 PM



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.


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.

Except the OP said:

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



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


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)

#6 prh99   Members   -  Reputation: 501

Like
0Likes
Like

Posted 12 January 2012 - 12:37 PM

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

#7 CRYP7IK   Members   -  Reputation: 939

Like
0Likes
Like

Posted 13 January 2012 - 07:28 PM

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.
To accomplish great things we must first dream, then visualize, then plan...believe... act! - Alfred A. Montapert
Gold Coast Studio Manager, Lead Programmer and IT Admin at Valhalla Studios Bifrost.

#8 BeerNutts   Crossbones+   -  Reputation: 2944

Like
0Likes
Like

Posted 15 January 2012 - 01:22 AM


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.


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)




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS