Page 1 of 1

Probably the biggest n00b question you guys have ever faced.

Posted: Sat Dec 16, 2006 5:57 pm
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...

Posted: Sat Dec 16, 2006 6:03 pm
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

Posted: Sat Dec 16, 2006 6:25 pm
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!!!!

Posted: Sat Dec 16, 2006 7:51 pm
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!