[cmake-developers] [CMake 0013989]: Unable to change native compilers after initial configuration

Mantis Bug Tracker mantis at public.kitware.com
Thu Mar 7 03:16:02 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13989 
====================================================================== 
Reported By:                Claudio Bley
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13989
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-03-07 03:16 EST
Last Modified:              2013-03-07 03:16 EST
====================================================================== 
Summary:                    Unable to change native compilers after initial
configuration
Description: 
I'm using the CMake-GUI.

I always receive this error even after using File -> Delete Cache:

You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= C:/MinGW/bin/gcc.exe
CMAKE_CXX_COMPILER= C:/MinGW/bin/g++.exe

Steps to Reproduce: 
1. Open cmake-gui and set the source to a CMake project source dir
2. change the build dir to a non-existent path
3. click "Configure"
4. select "Yes" (create build directory)
5. Select "MinGW Makefiles" and choose "Use default native compilers" and click
"Finish"
6. click File -> Delete Cache, answer "Yes"
7. click "Configure"
8. this time choose "Specify native compilers"
9. fill in the information in the dialog, select a different compiler toolchain
   than the one found as default


Additional Information: 
By default, MinGW GCC 4.5 would be found, but I wanted to use MinGW 4.7.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-03-07 03:16 Claudio Bley   New Issue                                    
======================================================================




More information about the cmake-developers mailing list