Page 1 of 1

File path problem

Posted: Sun Nov 22, 2009 5:30 am
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.

Posted: Sun Nov 22, 2009 6:33 am
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)

Posted: Sun Nov 22, 2009 3:02 pm
by ragnatic
Fixed. Thanks for the help, Acki =)