As of this writing I’m using CMake 3.0.0, Windows 8.1, MinGW 4.8.1 and Assimp 3.1.1.
[Precompiled binaries with inlude headers are attached at the end of this post for your convenience. ]
I’m assuming you’re stuck in cmake GUI after selecting MinGW as your native compiler, and that you have MinGW in your environment paths.
If you want to build Assimp Viewer, have ASSIMP_BUILD_ASSIMP_TOOLS checked and you’ll need to install directX SDK (June 2010). If you have “S1023” error when you install the DirectX SDK go to http://support.microsoft.com/kb/2728613
Set CMAKE_BUILD_TYPE to “release” (without the double quotes). If you didn’t see this option, you’ll have to check “Advanced” (next to Add entry). If you didn’t do this, your library size would be pretty big, if it even builds finish. For me it got stuck at 42% – building IFCReaderGen.cpp.obj because of some error of the file size being too big and having too many sections.
Now you should be able to configure and generate with zero errors. cd to the build directory and run
The compiled libraries will be in <cmake-build-directory>/code
If you have problems building stuffs from unit.dir, just uncheck ASSIMP_BUILD_TESTS. Though, by then both the assimp library and the viewer would have been built.
Just so you know, the compiled library is many times bigger than when it was compiled with VS2013.
So here is the precompiled binaries, both dynamic and static. Debug builds can’t be built as explained earlier:
Download link [MediaFire] : Assimp3-1-1_MinGW4-8-1_Win32.zip (7.16Mb)