Sign in to follow this  

[SDL] Problem running application on other pcs

This topic is 3590 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´m having a problem running a program on an other pc. I´ve included SDL.dll and SDL_image.dll in the .rar file. I have two images. The background, which is of jpg format and an object which is bmp. The problem is that the bmp image is shown on the screen, where the back of the screen remains black. Is that because I´m using SDL_image and I have to destribute something else in addition to SDL_image.dll ?

Share this post


Link to post
Share on other sites
Yes, you need dll image files for all of the images you intend to support. For jpegs, I think you need libjpeg.dll. For PNG images, you'll need libpng.dll and zlib.dll. Or you could convert all of your media to BMP (if possible) and get rid of SDL_image. It'll make your file sizes larger though.

Share this post


Link to post
Share on other sites

This topic is 3590 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.

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