How to change the compiler

General questions regarding the usage of CodeLite
coot
CodeLite Enthusiast
Posts: 20
Joined: Thu Jun 15, 2017 1:41 pm
Genuine User: Yes
IDE Question: c++
Contact:

How to change the compiler

Post 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.
You do not have the required permissions to view the files attached to this post.
coot
CodeLite Enthusiast
Posts: 20
Joined: Thu Jun 15, 2017 1:41 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: How to change the compiler

Post 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. :)
Post Reply