Hello, I'm new here, and new to MSVS .NET 2003.
It seems to me a bit complicated to add the needed .lib files and others that are needed to be added and get it working. I'm working with this tutorial, and that's where I stuck: http://ogrewiki.digitalsentience.com/in ... Tutorial_3
This tutorial is suited for VC++ 6 users, and no instructions for .NET edition
I'm working with a german VC.Net, so option names might be a bit off.
Right click your project. Choose Properties...
Make sure the Configuration-Combobox is set to "All configurations".
On the page C/C++->General is the field "Additional include directories". Add /yourpathto_ogrenew/OgreMain/include to it.
On the page Linker->General there is the field "Additional library directories". Add /yourpathto_ogrenew/OgreMain/lib/$(ConfigurationName) to it.
The $(ConfigurationName) is a variable, that will be substituted by VS with either debug or release, depending on your current configuration.
On the page Linker->Input is the field "Additional dependencies". Here you must insert OgreMain.lib for your Release-Konfiguration and OgreMain_d.lib for your Debug-Configuration.
Edit: substituted dll with lib
Last edited by haffax on Sat Jan 22, 2005 12:05 am, edited 1 time in total.
Thanks for your quick and helpful reply! I still got some problems compiling the example, probably didn't do all the copying files that were needed.
Maybe there's some example with provided project, and all the files that I can get?
Don't know if you've already seen this but Robomaniac has written a great tutorial how to download ogre from cvs, getting it compile with VS .net 2003 and setting up an example project.
More than enough. Look at the samples that come with Ogre. Look at the projects in ogreaddons. 9thLife is a big working RPG based on Ogre with full source code available, get it here.
If you have a specific problem with your project setup you can post it here. But please be specific and provide details.