Page 1 of 1

wxWindows Osx settings

Posted: Sat Oct 19, 2013 5:45 am
by dumohacker
Thank you for building such a magical ide. I've spend years with visual studio but now the future is codelite ….. initial evaluation with wxWindows in windows looks fantastic, kudos and much appreciation to eranif for sharing this.

My friend google has let me down so i have no choice but to ask a very basic question here
wxWindows 3.0 complied and tested (samples) with xcode5 in osx10.8.5 but i cannot find any info on how to setup in codelite5.2 for Mac OSX 10.8 (App bundle).

Getting make[1]: wx-config: command not found when compiling.
Settings ->Environment Variable set to wxWindows complied root dir.

Thanks

Re: wxWindows Osx settings

Posted: Sat Oct 19, 2013 11:18 am
by eranif
dumohacker wrote:Thank you for building such a magical ide. I've spend years with visual studio but now the future is codelite ….. initial evaluation with wxWindows in windows looks fantastic, kudos and much appreciation to eranif for sharing this.

My friend google has let me down so i have no choice but to ask a very basic question here
wxWindows 3.0 complied and tested (samples) with xcode5 in osx10.8.5 but i cannot find any info on how to setup in codelite5.2 for Mac OSX 10.8 (App bundle).

Getting make[1]: wx-config: command not found when compiling.
Settings ->Environment Variable set to wxWindows complied root dir.

Thanks
I am not sure how you built your wxWidgets on OSX, but did you remember to run make install?
At the end of the day, codelite uses wx-config to compile application using wxWidgets (this is the recommended way)

The process is quite straightforward:

- Download wx sources (make sure you pick the one of the Unix line ending)
- Compile it using the following steps:

Open Terminal and:

Code: Select all

cd wx-sources/
mkdir build
cd build
../configure --with-osx_cocoa --enable-shared --enable- monolithic
make -j4
sudo make install
To test that the installation worked properly, type from the command line:

Code: Select all

wx-config
you should some output (other than command not found ;))

Try codelite again

Eran

Re: wxWindows Osx settings

Posted: Mon Oct 21, 2013 10:39 pm
by dumohacker
Hi Eran
Thank you for your prompt response again much appreciated.

Downloaded codelite 5.3 App Bundle for OSX 10.8 followed instructions and no surprise wxWindows compiled, built wxHelloworld and it runs as a OSX app.

Trying to debug get Failed to locate gdb! at 'gdb'. Again google did not find a solution.

Thanks

Re: wxWindows Osx settings

Posted: Mon Oct 21, 2013 10:57 pm
by eranif
You will need to install gdb - IIRC, on OSX it comes with XCode
But I am not sure

You could also try 'brew install gdb'

Eran