inbilla / CMake

CMake, the cross-platform, open-source build system.
http://www.cmake.org
Other
10 stars 6 forks source link

Configure fails with MinGW on path / GNU compilers chosen before cl.exe #15

Open l0calh05t opened 8 years ago

l0calh05t commented 8 years ago

Steps to reproduce:

Stderr:

CMake Error at Y:/development/cmake-fastbuild-inbilla-install/share/cmake-3.2/Modules/Platform/Windows-GNU.cmake:141 (enable_language):
  No CMAKE_RC_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "RC" or the CMake cache entry CMAKE_RC_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
  Y:/development/cmake-fastbuild-inbilla-install/share/cmake-3.2/Modules/Platform/Windows-GNU-C.cmake:2 (__windows_compiler_gnu)
  Y:/development/cmake-fastbuild-inbilla-install/share/cmake-3.2/Modules/CMakeCInformation.cmake:56 (include)
  CMakeLists.txt:2 (project)
inbilla commented 8 years ago

Not sure about MinGW - I don't know if it has an RC compiler configured for Cmake. Does this work with other generators? I suspect it doesn't and is an issue with CMake MinGW support itself

l0calh05t commented 8 years ago

It has an RC compiler. Which is detected when using MinGW Makefiles and IIRC also Ninja.

On 07.03.2016, at 07:33, Joshua Green notifications@github.com wrote:

Not sure about MinGW - I don't know if it has an RC compiler configured for Cmake. Does this work with other generators? I suspect it doesn't and is an issue with CMake MinGW support itself

— Reply to this email directly or view it on GitHub.

l0calh05t commented 8 years ago

image