Page 1 of 1

How to change the compiler

Posted: Thu Jul 13, 2017 1:07 pm
by coot
Codelite 10.0.0.6 win10
When I removed the old compiler and installed a new compiler, the codelite can not find it by setup wizard. Then I removed the old compiler from build settings, and add the new compiler there.
1. When I changed the compiler in project settings, the cmake will still trying to find the old compiler.
I removed the directory "cmake-build-debug", cmake can runs fine. It can find the new compiler.
2. However when I tried to build project, it still trying to find the old compiler. I do not know why it did not use the compiler that cmake found. and what configuration should I change?
as the snapshot, the mingw(mingw 64) is the old compiler.

Re: How to change the compiler

Posted: Fri Jul 14, 2017 6:12 am
by coot
Finally, I found the reason. Because I have several projects in a workspace. If I changed compiler for only one project, it will cause this issue. After I changed all projects' compiler, this issue is gone. :)