Moderators: Sascha Willems, walaber
rvangaal wrote:- I had to modify NewtonCreateBody() each time for the 3rd matrix argument. I understand that's currently unused (only in 3.00).
Unhandled exception at 0x10002b3f (newton.dll) in NewtonDemos.exe: 0xC000008F: Floating-point inexact result.
Dear Julio,
It sounds as though you are compiling one or more object files in your static library with Whole Program Optimization (/GL). When compiling with this option, the compiler tools that build the .obj/.lib and the ones that consume the .lib to build the .dll/.exe must be the same; if they aren't, error C1900 will be emitted. This behavior is by design as the format stored in a /GL .obj may change between releases. As noted in http://msdn.microsoft.com/en-us/library/0zza0de8.aspx, you should not ship a .lib file composed of .obj files built with /GL.
Please check your build to make sure that Whole Program Optimization is disabled. For a static lib project, go to the property page and change “Configuration Properties->C/C++->Optimization->Whole Program Optimization” to “No”.
Mark Levine
Visual C++
Users browsing this forum: No registered users and 2 guests