Sign in to follow this  
JDUK

SDL_Image... Entry point not found in SDL_Error

Recommended Posts

JDUK    100
I have followed the image loading tut for Dev C++ from Lazy Foo's page. My program compiles fine and when i run it its fine... unless I actualy try to load an image like so
Image1 = IMG_Load(filename.c_str());
Even the Foo's code i downloaded does the same. I've unzipped every thing as per the documentiation .. im sure, ive even done it 3 times over just to tripple check... any advice? Cheers.

Share this post


Link to post
Share on other sites
Lazy Foo    1113
Just make sure you have the lastest versions on SDL and SDL_image.

New versions of of SDL_image don't like old versions of SDL and vice versa.

Share this post


Link to post
Share on other sites
JDUK    100
Quote:
Original post by Undeadlnsanity
Are you including SDL_image.h? If so, can I see your source-code please?


Its not my code.. becuase EXACLTY the same thing happens when i download lazyfoo's code and run it from here:
http://lazyfooproductions.com/SDL_tutorials/lesson03/windows/devcpp/index.php

Share this post


Link to post
Share on other sites
JDUK    100
Quote:
Original post by Lazy Foo
Just make sure you have the lastest versions on SDL and SDL_image.

New versions of of SDL_image don't like old versions of SDL and vice versa.


I have (im pretty damn sure, but i will recheck)
SDL version 1.2.9 (stable)
And the only version of _image i can find is the 1.2.4 version your tutorials link to.

Is this the right set up?

Share this post


Link to post
Share on other sites
JDUK    100
I've sorted this now thanks.. I WAS using the old version of SDL but when i was dragging and dropping the new verison of the DLLs into System32 it wasnt giving me any overwirte confirmation so i assumed it was doing it... it wasnt i had to manualy delete SDL.dll from system32 and place the new one in afterwards... thanks guys all sorted now... got my game using 2.5 MB's of PNG images rather than 10mbs of bmps [smile]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this