File path problem
Posted: Sun Nov 22, 2009 5:30 am
Hi, I'm new in the forums but I've been using Irrlicht for a few months. I searched about my problem but didn't find any clue.
I use Codeblocks to compile my Irrlicht programs and in that matter everything is fine until I click in the Run button. Every file, be it models or textures or whatever, don't show up in the application but it does show up when I double click the executable found in the Release folder of the project.
The file path I use is something like this: ("../../imagenes/portada.jpg"). Two ../ to go out to the root path of the project and then go to the folder I need.
Hope I explained myself. Thanks in advance.
I use Codeblocks to compile my Irrlicht programs and in that matter everything is fine until I click in the Run button. Every file, be it models or textures or whatever, don't show up in the application but it does show up when I double click the executable found in the Release folder of the project.
The file path I use is something like this: ("../../imagenes/portada.jpg"). Two ../ to go out to the root path of the project and then go to the folder I need.
Hope I explained myself. Thanks in advance.