I was going to set up the assembly on my computer, downloaded the last cmake 3.9.0 from the off site under Windows (set the checkbox to set all the necessary paths in the PATH) and for checking created in the C: / cin folder the main.cpp file along with CMakeLists.txt in it:

CMakeLists.txt:

add_executable(main main.cpp) 

after which I wrote cmake C: / cin -G "MinGW Makefiles" in cmd

the process has gone, but after entering make, this is what got out ... (without cmake, before that, I compiled in cmd with the gcc command main.c or g ++ main.cpp and in CodeBlocks)

Actually what happens after make

Maybe someone already had such a problem (or someone can throw a link with her decision)?

    1 answer 1

    In general, polaziv a little more on the Internet and thinking decided to download make.exe separately, indicated the path to it in Path, but it turned out that there is no libgmp-10.dll and this is exactly the library that exists in MinGW, in general I registered mingw32-make cmd it all worked. It seems to me that the error was due to the fact that make was initially somehow related to Delphi, and therefore this error occurred.