Codelite Cannot set Compilers - macOS 11 Big Sur Beta 9

This forum is for the weekly builds only.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite Cannot set Compilers - macOS 11 Big Sur Beta 9

Post by eranif »

the main difference is that on macOS I am building wxWidgets as a single library
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite Cannot set Compilers - macOS 11 Big Sur Beta 9

Post by eranif »

This is how I build wxWidgets on macOS:

Code: Select all

cd /Users/you/src/wx-src/
mkdir build-release
cd build-release
../configure --enable-shared --enable-monolithic --with-osx_cocoa CXX='clang++ -std=c++11 -stdlib=libc++' CC=clang --disable-debug --disable-mediactrl
make -j4
sudo make install
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite Cannot set Compilers - macOS 11 Big Sur Beta 9

Post by evstevemd »

eranif wrote: Fri Dec 18, 2020 5:10 pm the main difference is that on macOS I am building wxWidgets as a single library
That explains the difference. But you can fix that anyway for us who build it as multiple.
One question though, why isn't CL providing an option to add wxWidgets as submodule? That would remove a lot of pains for sure.
I could try to look into that, if it is viable option.

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite Cannot set Compilers - macOS 11 Big Sur Beta 9

Post by evstevemd »

eranif wrote: Fri Dec 18, 2020 6:25 pm This is how I build wxWidgets on macOS:

Code: Select all

cd /Users/you/src/wx-src/
mkdir build-release
cd build-release
../configure --enable-shared --enable-monolithic --with-osx_cocoa CXX='clang++ -std=c++11 -stdlib=libc++' CC=clang --disable-debug --disable-mediactrl
make -j4
sudo make install
I see. That explains the difference. I will then have to submit PR for people who uses multi-lib build like me.

As of the main issue, I could not resolve it so I wiped `~/Library/Application Support/CodeLite` and then ran the Wizard which saved compilers fine.
Now all is well!

Thanks for your time and fixes

CodeLite 15.x
CodeLite is awesome, I just Love it!

gkourtis
CodeLite Enthusiast
Posts: 18
Joined: Sat Jan 25, 2014 9:16 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite Cannot set Compilers - macOS 11 Big Sur Beta 9

Post by gkourtis »

I use linux ubuntu 20.10 and I cannot set compilers either. The behavior is the same ( compilers detected but not set). HELP I cannot use it ! Is there a text file to correct it any way ?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite Cannot set Compilers - macOS 11 Big Sur Beta 9

Post by eranif »

You can edit the file ~/.codelite/config/build_settings.xml manually
Make sure you have read the HOW TO POST thread
Post Reply