Windows build problems: MinGW and visual studio

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Windows build problems: MinGW and visual studio

Postby godlike » Mon Feb 13, 2017 7:10 am

I'm sad to be reporting build issues once again. This time on windows.

When trying to build with a recent mingw it complains about __m128 and similar intrinsics. It seems that Newton relies on _MINGW_32_VER and _MINGW_64_VER but those are not defined at all. Mingw exposes __MINGW32__ and __MINGW64__. That's easy to fix but it fails again somewhere down the line with some errors around dllimport.

When trying CMake with visual studio it also fails which is odd. This time it complains about NewtonMeshCreateTetrahedraIsoSurface and the fact it has dllimport. Also missing tinyxml.h files etc.

Long story short it seems CMake project doesn't work well on windows. If you exclude the small errors the serious ones are with dllimport.
User avatar
godlike
 
Posts: 58
Joined: Sun Mar 16, 2014 3:48 am

Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 4 guests