Hey,
using code blocks.
When I'm in debug mode and build and play I see my bmp image, but when I release it as an exe, and put all the necessary .dll files in, and the bmp in, it seems it won't load the bmp. Should I not be using SDL_LoadBMP? It seemed to work fine until a targeted it for release and built and ran it.
-Benjamin
exe Images not showing.
Moderator: Coders of Rage
-
- Chaos Rift Newbie
- Posts: 8
- Joined: Tue Sep 20, 2011 1:37 am
Re: exe Images not showing.
Because your project is using incorrect paths. You have to include the image in the release folder too.
-
- ES Beta Backer
- Posts: 250
- Joined: Tue Jul 19, 2011 9:37 pm
Re: exe Images not showing.
I did include it in the release folder. Also, I tried with the wrong file name, and it acted different. It closed.
This opens the window up, but it is all blank. Unlike debug.
This opens the window up, but it is all blank. Unlike debug.
-
- ES Beta Backer
- Posts: 250
- Joined: Tue Jul 19, 2011 9:37 pm
Re: exe Images not showing.
To Clarify, it does show text on the screen, which it is supposed to... but not the images from the bmp.