Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
l0calh05t opened this issue Feb 6, 2016 · 3 comments

Comments

@l0calh05t
Copy link

Steps to reproduce:

  • Install MinGW
  • Add the MinGW binary directory to the path
  • Open a VS command prompt
  • Run cmake to configure a project

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
Copy link
Owner

inbilla commented Mar 7, 2016

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
Copy link
Author

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 [email protected] 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
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants