Unable to compile NxOgre

notaprogrammer

15-06-2010 10:12:24

Hi all.

I've been trying to compile my NxOgre so that I can use it with OGRE, but everytime I try to compile, I get errors

1>c:\program files (x86)\nvidia corporation\nvidia physx sdk\v2.8.3\sdks\physics\include\nxcontactstreamiterator.h(503) : error C2065: 'NxU32F32' : undeclared identifier
1>c:\program files (x86)\nvidia corporation\nvidia physx sdk\v2.8.3\sdks\physics\include\nxcontactstreamiterator.h(503) : error C2065: 'sep' : undeclared identifier
1>c:\program files (x86)\nvidia corporation\nvidia physx sdk\v2.8.3\sdks\physics\include\nxcontactstreamiterator.h(503) : error C2061: syntax error : identifier 'NxU32F32'
1>c:\program files (x86)\nvidia corporation\nvidia physx sdk\v2.8.3\sdks\physics\include\nxcontactstreamiterator.h(504) : error C2065: 'sep' : undeclared identifier
1>c:\program files (x86)\nvidia corporation\nvidia physx sdk\v2.8.3\sdks\physics\include\nxcontactstreamiterator.h(504) : error C2227: left of '->f' must point to class/struct/union/generic type
1> type is ''unknown-type''


I've included every include and lib files, so I'm lost as to what I may have done wrong. Please advise me, thanks.

betajaen

15-06-2010 10:14:05

Is that error message from NxOgre or your application? Because you don't need to include or link to PhysX in your application.

notaprogrammer

15-06-2010 15:44:13

Following instructions provided to me, I was to rebuild NxOgre's solution. I did just that, and those errors appear.