Probably the biggest n00b question you guys have ever faced.

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
The_Night_Ninja
Posts: 2
Joined: Sat Dec 16, 2006 5:48 pm
Location: Saskatchewan, Canada

Probably the biggest n00b question you guys have ever faced.

Post by The_Night_Ninja »

Well, I'm using Microsoft Visual Studio 2005 Express.

I have all the llibrary and header files in the correct places.

When I run the program, it works, but then it says that it can't find "sydney.md2"

I tried putting the .md2 file in the same folder as the .exe, but that didn't work.

I tried putting a direct link in the .cpp file, eg, "C:\irrlicht-1.2\media\sydney.md2", but that didn't work.

I'm sure I'm overlooking something really simple...
Image
rimbou
Posts: 20
Joined: Fri Nov 24, 2006 12:09 pm

Post by rimbou »

You have to set the binary path somewhere on your project settings. In VC6 it's on the Debug Tab, Working Directory.
________
Maryjane
Last edited by rimbou on Sat Mar 12, 2011 6:06 am, edited 1 time in total.
omar shaaban
Posts: 616
Joined: Wed Nov 01, 2006 6:26 pm
Location: Cairo,Egypt
Contact:

Post by omar shaaban »

:) ya it is a very easy qustion basiclly i will give u an example
( smgr->getMesh("media/dad.3ds") );
u will find this line in your code this means that u must put it in the media folder and then put the media folder beside your .exe
did u understand!!!!
The_Night_Ninja
Posts: 2
Joined: Sat Dec 16, 2006 5:48 pm
Location: Saskatchewan, Canada

Post by The_Night_Ninja »

Thanks to both of you!

I couldn't find anything about the binary path in VS 2005, but omar's suggestion worked!
Image
Post Reply