Yes, I know this [1] thread is old, but it hurts me, too.

This is what I found:
The mingw32 installer (mingw32-get, IIRC) no longer places a key in the 
windows registry.

So if anyone installed mingw32 in a directory other than c:/MinGW/,
cmake will not find it.
After adding the bin directory of the mingw install location to %PATH%, cmake 
will detect mingw32-make, but it will complain saying 'the compiler is not 
able to build a single program'. 
This happens because cc1.exe (which is *not* in the bin directory) cannot find 
the DLLs located in the bin directory. You have to manually copy the DLLs to 
the directory containing cc1.exe.

Maybe someone finds this useful.

Martin

[1] https://cmake.org/pipermail/cmake/2011-May/044637.html

-- 
Cd wrttn wtht vwls s mch trsr.


-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to