MAC OSX

CodeLite installation/troubleshooting forum
valiyuneski
CodeLite Enthusiast
Posts: 40
Joined: Fri Jul 11, 2008 11:13 pm
Contact:

MAC OSX

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: MAC OSX

Post 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
Make sure you have read the HOW TO POST thread
valiyuneski
CodeLite Enthusiast
Posts: 40
Joined: Fri Jul 11, 2008 11:13 pm
Contact:

Re: MAC OSX

Post 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
Post Reply