Page 1 of 1

MAC OSX

Posted: Tue Oct 21, 2008 3:13 pm
by valiyuneski
Hi Eran,

Since our software needs to be rewritten in some crossplatform environment (QT or wxWidgets) i was assigned to wxWidgets task of checking it.
Now i have created a small project no functionality yet just to make a proof of concept.
This has succeded with no problems in Windows And Ubuntu and on both machines works like a beauty with no effort whatsoever.
Now i have done some wxMac installation by myself on an old mac and recompiled from scratch as the wxWidgets.org
advises to, i only created a small app with just a framework and that is about it, compiled it and runn it. The problem is
that the application freezes to any event (window is stuck and does not respond).

Kind regards,

Valentin

Re: MAC OSX

Posted: Tue Oct 21, 2008 4:38 pm
by eranif
Hi,

This is topic is not related to CodeLite, however:

When creating Mac application with WX widgets, you need to make it as a bundle application. This is one of the FAQ using wxMac, look here for a solution:

Read this:
http://wiki.wxwidgets.org/WxMac_Issues# ... ion_bundle

In short, you cant run wxWidgets application from command line, like you do on LInux.

A solution:
Create this folder:
MyApp.app/Contents/MacOS/

Where MyApp is the name of your application.
Copy the binary to that directory.

Now, to run it from command line, type:

Code: Select all

open MyApp.app
This is not mistake you run 'open' on the folder...
Or you can open 'Finder' and double click on the MyApp.app folder

Eran

Re: MAC OSX

Posted: Tue Oct 21, 2008 7:49 pm
by valiyuneski
You the man, knew i could count on you.

My coleagues are pretty impressed with the work you have put on codelite.
It really rocks.

Thanks

Valentin