Can not open the file "nxOgre_d.lib" [Solved]

opuris

28-04-2006 10:53:46

Compling encountered fatal error LNK1104, which told me it can't open the file "nxOgre_d.lib". I looked for it, but there's no such a file.

Compiled the NxOgre.sln, I got "nxOgre.lib" only.

Could you help me?

ps: Is there a version which contained precompiled libraries?

Thanks a lot!

betajaen

28-04-2006 11:24:09

You've compiled NxOgre to generate the lib? It should appear in /NxOgre/lib/

I should also advice you not to run NxOgre in debug mode. PhysX is really really picky about it, and most of the advanced features such as meshes, convexes will crash spectacularly.

As for a pre-compiled version; sadly no. But perhaps a good person around here may give you a copy.

opuris

29-04-2006 05:26:13

Problem still

There's nothing in /NxOgre/lib/ before I built solution.

And I follow the instruction in ur wiki set release mode

by the way, here are the version of them:
OGRE 1.2.0RC2
PhysX 2.3.2
NxOgre 0.5 preview 3

I fixed the problems of getSceneManager->createSceneManager and fopen_s

magura

29-04-2006 16:01:56

are you building both nxogre and your project in release mode? if its asking for nxogre_d.lib it means youre building your project in debug mode (i think).

Wretched_Wyx

29-04-2006 17:13:45

I just rebuilt NxOgre in Release mode, and it should definitely be compiling and dropping the files under NxOgre\lib\release. If it's not, I sure am stumped. Works fine for me :? .

betajaen

29-04-2006 18:49:37

Yep, both of you are right. If it's building somewhere else, then the project settings must be modified, or it's not compiling correctly.

opuris

30-04-2006 06:14:59

Thanks all you guys :D
Network here didn't work fine yesterday, so I couldn't access Internet.

I made it! Betajaen, your work is great!

Just as you said, I reset the project setting to locate the SDK folders. Then released the tutorials. Finally, they worked.

You're right, It was "Debug" mode that I used while building the Tutorials.

Best regards

opuris

30-04-2006 06:31:37

By the way, I used precompiled Ogre3D, its folder structure is different from the source version. But the NxOgre follow the second one.

So, if you have the same problem with mine, pay attention to this aspect.

betajaen

30-04-2006 08:04:14

Thanks, and I'm glad it's working.

And good news to hear it works with the pre-compiled version (with the project settings modified of course), perhaps I should have a second tutorial in the future for setting up NxOgre with it.