MantisBT - CMake
View Issue Details
0013989CMakeCMakepublic2013-03-07 03:162013-10-07 10:03
Claudio Bley 
Robert Maynard 
normalminoralways
closedduplicate 
x64MS Windows7
CMake 2.8.10.2 
 
0013989: Unable to change native compilers after initial configuration
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
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
By default, MinGW GCC 4.5 would be found, but I wanted to use MinGW 4.7.
No tags attached.
duplicate of 0013756closed Brad King Infinite loop when reconfiguring with different CMAKE_C_COMPILER 
Issue History
2013-03-07 03:16Claudio BleyNew Issue
2013-03-07 08:51Robert MaynardNote Added: 0032530
2013-03-07 08:51Robert MaynardRelationship addedduplicate of 0013756
2013-03-07 08:51Robert MaynardStatusnew => resolved
2013-03-07 08:51Robert MaynardResolutionopen => duplicate
2013-03-07 08:51Robert MaynardAssigned To => Robert Maynard
2013-10-07 10:03Robert MaynardNote Added: 0033981
2013-10-07 10:03Robert MaynardStatusresolved => closed

Notes
(0032530)
Robert Maynard   
2013-03-07 08:51   
Duplicate of 0013756
(0033981)
Robert Maynard   
2013-10-07 10:03   
Closing resolved issues that have not been updated in more than 4 months.