Help plz: My IDE can't find mesh, textures, etc.
Posted: Sat Feb 28, 2009 12:39 am
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?
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?