NX_VISUALIZE_CLOTH_MESH: undeclared identifier

nikhil

01-02-2007 05:15:12

Hi

I'm using the PX SDK 2.5.1 and the NxOgre 0.4.RC3 .. I'm getting just tht one error.. can someone plz tell me how to get rid of it.. i searched, but it was not on the forums..

regards

nik

P.S - On commenting out the line "mPhysicsSDK->setParameter(NX_VISUALIZE_CLOTH_MESH, b);" in nxOgre_world.cpp I get this error-

Linking...
1> Creating library C:\OgreSDK\OgreAddons\NxOgre/compiler/NxOgre.VC8/Debug/lib/NxOgre_d.lib and object C:\OgreSDK\OgreAddons\NxOgre/compiler/NxOgre.VC8/Debug/lib/NxOgre_d.exp
1>Embedding manifest...
1>Performing Post-Build Event...
1>The system cannot find the path specified.
1> 0 file(s) copied.
1>Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."
1>Build log was saved at "file://C:\OgreSDK\OgreAddons\NxOgre\compiler\NxOgre.VC8\Debug\obj\BuildLog.htm"
1>nxOgre - 1 error(s), 0 warning(s)

betajaen

01-02-2007 09:13:00

That feature of PhysX wasn't in 2.5.1, so it would cause an error.

Your second error is un-releated, it just means either the NXOGRE_DIR path isn't set, or your tutorial directory isn't there.

Also, I recommend you use PhysX 2.6.2 with RC3, it just makes more sense.

nikhil

06-02-2007 02:53:34

cool.. thanks.. i'll try out and let u know.. and I've every environment variable setup.. maybe its just the SDK version.

regards

nikhil

nikhil

06-02-2007 06:39:38

Well.. yeah the NX_VISUALIZE_CLOTH_MESH error was taken care of by the new sdk version.. but i'm still getting that

Linking...
1> Creating library C:\OgreSDK\OgreAddons\NxOgre/compiler/NxOgre.VC8/Debug/lib/NxOgre_d.lib and object C:\OgreSDK\OgreAddons\NxOgre/compiler/NxOgre.VC8/Debug/lib/NxOgre_d.exp
1>Embedding manifest...
1>Performing Post-Build Event...
1>The system cannot find the path specified.
1> 0 file(s) copied.
1>Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."
1>Build log was saved at "file://C:\OgreSDK\OgreAddons\NxOgre\compiler\NxOgre.VC8\Debug\obj\BuildLog.htm"
1>nxOgre - 1 error(s), 0 warning(s)


I've the environment variables all setup, otherwise it wouldn't have even compiled..

C:\OgreSDK\OgreAddons\NxOgre is my install directory and I've NXOGRE_DIR pointing to it only.

I think its coz I've the working directory setup wrong under the project properties. Currently its blank and I think it should be pointing to probably the debug directory.. Help me out here..

nik

nikhil

06-02-2007 08:29:07

Hmm.. does the tutorial folder needs to be inside the NxOgre folder for a successful build.. its just a hunch?

nikhil

06-02-2007 08:34:27

YES.. it did fix the postbuild error.. well i'm stumped.. y wud u require the tutorial folder to be there already for a successful build.. anyways.. onto some demo and testing.. wish me luck.. :D..

nik

betajaen

06-02-2007 09:18:06

It builds successfully or not if you have the tutorial folder there, but for your convenience it copies the NxOgre.dll over for you.

nikhil

06-02-2007 10:01:38

Well I was getting this
<<A tool returned an error code from "Performing Post-Build Event..." >>

If I read closely it does say error in post-building, i guess, it might have been successful at building but just didn't notify..