1
Graphics / Re: Loading an image fail
« on: August 31, 2012, 05:52:22 am »
Posting the answer for future reference:
In order for the image to work, you have to have the image where your source is, not where the exe compiles.
In Code::Blocks your folders look like:
Sorry if this is considered necroing, just posting this for future reference for anyone else who was confused.
In order for the image to work, you have to have the image where your source is, not where the exe compiles.
In Code::Blocks your folders look like:
Source <- Image and source .cpp files go here
Source\bin\Debug <- Exe compiles here
Source\obj\Debug <- Main.o is here, but irrelevant to this topic.
Source\bin\Debug <- Exe compiles here
Source\obj\Debug <- Main.o is here, but irrelevant to this topic.
Sorry if this is considered necroing, just posting this for future reference for anyone else who was confused.