Codelite Cannot set Compilers - macOS 11 Big Sur Beta 9
- 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
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
- 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
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
-
- 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
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!
-
- 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
I see. That explains the difference. I will then have to submit PR for people who uses multi-lib build like me.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
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!
-
- 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
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 ?
- 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
You can edit the file ~/.codelite/config/build_settings.xml manually
Make sure you have read the HOW TO POST thread