Hello everybody! First, I would like to thank you for providing this great physics package free of charge for students. And now about my problem: I am currently working on my project that consists of an engine and a visual c++ editor. I would like to implement some physics (rigid body simulation at least) in my engine so I downloaded the hk2012_1_0_r1 package and ran the Physics demo (that includes rigid bodies) form the Step by Step demo folder.
Then I tried to setup the havok with the same project settings that are in the Physics demo and the only difference was the CLR support option which was set to /clr in my project. The compilation goes fine with some warning saying that some havok matrix functions will be compiled as native which sounds reasonable. Now when I run my project (the engine and the editor are in the same project) I am getting a Debug Assertion failed assert that kicks off before any of my code is executed (breakpoint in the beginning of the VC++ main). I tried to comment all of the code in my havok wrapper class (except of the includes and undefines) which led to the same error. I can assume that the error comes from initialising some statics inside the havok, but this is just a guess. I am using Visual Studio 2010 SP1 and Windows 7 Ultimate.
Thanks for the assistance,