I'm using Codeblocks to code now and i have someweird file reading problems:
Note that i use irrlicht project template that already pre-installed with Codeblocks.
1. I've put my resources in a folder (say: called res/) with my executable,
2. Tried to run with Codeblocks by pressing the 'run' button, it looked resources in irrlicht's media/ folder instead, not at the res/ folder. Program crashes unless i put my resources at that media/ folder.
3. However, when running by clicking the .exe with Windows Explorer, it found the resources correctly at the res/ folder.
Well, how do i make codeblocks look for resources at that folder?
Help plz: My IDE can't find mesh, textures, etc.
same for C::B, it's in the project properies menu...Brkopac wrote:there is a project option called "Working Directory"
output and working directory should be the same...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
properties
It's under the properties tab "execution working directory". I like to just change it to the bin folder and have my media files in there because that's what the working directory is outside the IDE anyway.
That would be illogical captain...
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar