Startup with NxOgre

Laughing_Gas

15-05-2008 09:58:14

Hey, this is my first wrapper i'm using with ogre so I have some questions. I downloaded it from SVN, and put it in the ogre folder. There is a Bat file that says to run it in the ogre folder. What does that do?

Anyway, I ran that and then compiled the project. I get a lib file in the release_static file. There is also lots of Obj's in there. Are they used for anything?

Anyway, I think its worked fine so far, but I just wanted some clarification on those things.

gugus

15-05-2008 10:14:10

the BAT file set the environement variables for the PhysX SDK.
If you want to create a project,you must link to a .lib(for exemple OgreMain.lib,or NxOgre.lib),so you must keep it. But as you compiled in static,you should be careful with license.
.obj are "temporary" files,you can delete them if you wants,it won't do anything.

Laughing_Gas

15-05-2008 10:30:50

How should have I compiled it?

I used static because normal release gave me about 200 linker errors

betajaen

15-05-2008 11:11:48

Did you follow the "Download and Compile" section in the shortguide?

http://www.nxogre.org/shortguide_download_and_compile

Tells you all you need to know and do.

Laughing_Gas

15-05-2008 12:04:13

Sweet that worked, thanks for that.

I do have one more question though(Sorry, I'm hopeless at setting these things up.)

The two lib files go in the ogre lib directory, and the dll's go into the the directory of any projects I make using them correct?

betajaen

15-05-2008 12:13:29

No. The lib files usually stay where they are. The DLL's and the PhysXLoader.dll goes into your application directory.