Hi Tom, I'm not an expert on this topic but maybe I can give you a few suggestions. As shown the mailing list discussion from the link below. I believe Mingw-w64 designed to work with gcc and you cannot use the libraries with Visual Studio.
https://sourceforge.net/p/mingw-w64/mailman/message/32027366/ Did you know that you can download the mingw-w64 libraries together with GCC completely setup to build Windows applications? All I had to do was adding the bin folder to my PATH environment variable. I abandoned Visual Studio and went over to: https://sourceforge.net/projects/mingw-w64/files/mingw-w64/ to download mingw-w64 with GCC. Well there are different versions there like posix-seh and win32-sjlj. These are about thread and exception support. Because I initially didn't know which one to choose I asked on this mailing list: https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/4086cf80.3011.167ba0bebd6.Coremail.lh_mouse%40126.com/#msg36495391 In the link you can found a great response by Liu Hao explaining the differences of these versions. Now for compiling code I just copy a default testcase makefile into the folder of the code I'm working on and adjust the makefile to the specifics for my application. An example is in the attachment. Some stuff is not relevant like INCPATHUTILITY, INCPATHBOOST but you can get the idea how a build something with a third-party library or something of your own. I hope this helps. Best regards, Maarten _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
