File path problem

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
ragnatic
Posts: 14
Joined: Sun Nov 22, 2009 5:11 am

File path problem

Post by ragnatic »

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.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

there is also a "working path" you can specify in the project's properties menu where you set the output path, you should set it to the same as the output dir !!! ;)

you can also check my web site, there are some tutorials I made... 8)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
ragnatic
Posts: 14
Joined: Sun Nov 22, 2009 5:11 am

Post by ragnatic »

Fixed. Thanks for the help, Acki =)
Post Reply