Not sure if this is the appropriate topic but I'd imagine so...
But anyway, do any of the programmers here use Code::Blocks and if so, why when the built exe is ran in the IDE does it become unable to locate resources that were otherwise in the same directory? I have no trouble with having it find things like images/music when I run it directly from the folder the build is deposited in, but when doing it in the IDE it's like the exe falls into a parallel dimension where only the DLLs can be located.
I'm also using SFML-2.0RC if this makes any difference.
Edit: Fixed it myself.
Project -> Properties -> Build targets -> [name of target] -> Execution working dir
Set it to the same directory as "output filename"'s
But anyway, do any of the programmers here use Code::Blocks and if so, why when the built exe is ran in the IDE does it become unable to locate resources that were otherwise in the same directory? I have no trouble with having it find things like images/music when I run it directly from the folder the build is deposited in, but when doing it in the IDE it's like the exe falls into a parallel dimension where only the DLLs can be located.
I'm also using SFML-2.0RC if this makes any difference.
Edit: Fixed it myself.
Project -> Properties -> Build targets -> [name of target] -> Execution working dir
Set it to the same directory as "output filename"'s