tags:

views:

48

answers:

1

Hi, I'm just trying to build the Lesson 101 from PhysX tutorials. I'm using VS2008 and this is the compile error im getting. Not sure what to do...?

Im using Windows 7.

1>------ Build started: Project: L101, Configuration: Debug Win32 ------
1>Compiling...
1>Lesson101.cpp
1>c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\sdks\foundation\include\nx.h(34) : fatal error C1189: #error :  custom definition of NX_CALL_CONV for your OS needed!

Thanks

+1  A: 

Write

#define WIN32

before including the PhysX header files.

Anthony Eden