Relative File Path Problems, [Dumb Question]

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
gpgarrettboast
Posts: 5
Joined: Sat Jan 13, 2007 11:25 pm

Relative File Path Problems, [Dumb Question]

Post by gpgarrettboast »

.
Last edited by gpgarrettboast on Wed Mar 13, 2013 11:36 pm, edited 1 time in total.
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

Are you running from Visual Studio?
gpgarrettboast
Posts: 5
Joined: Sat Jan 13, 2007 11:25 pm

Post by gpgarrettboast »

.
Last edited by gpgarrettboast on Wed Mar 13, 2013 11:37 pm, edited 1 time in total.
monkeycracks
Posts: 1029
Joined: Thu Apr 06, 2006 12:45 am
Location: Tennesee, USA
Contact:

Post by monkeycracks »

just a stab in the dark but

wouldn't it be


../media
rather than
./media
?
drac_gd
Posts: 132
Joined: Sun Apr 09, 2006 8:43 pm

Post by drac_gd »

If you are running it in the vc debugger you may need to set the working directory.. in vc right click your project .. go to properties then debugging then set the working directory
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

In Irrlicht, you can call IFileSystem::getWorkingDirectory() and IFileSystem::setWorkingDirectory() to get/set the working directory.

Travis
Post Reply