[ptx] OSX with XCode

Guillaume Filion gfk at logidac.com
Tue Jul 13 03:15:28 BST 2004


Le 04-07-12, à 11:31, Ippei UKAI a écrit :
> The other thing is that I can't compile wx-2.4 somehow, and both 2.5.1 
> and 2.5.2 have critical bugs. In 2.5.1, any menus do not work 
> properly, and in 2.5.2, even though the other bugs have been fixed, 
> the layout breaks down somehow. Those two are the results shown on my 
> homepage. Two possible suggestion I can think of are:
> 1. Try building with wxmac2.4.2

I think I got it!

I don't have to try it from scratch, but you might want to try it:
-----
Download the lastest 2.4.x version of wxMac from: 
http://www.wxwidgets.org/

cd wxMac-2.4.2
sudo /usr/sbin/gcc_select 3.1
./configure --disable-shared
make
cd contrib/src/xrc
make
sudo /usr/sbin/gcc_select 3.3

Notice that we don't install wxMac on the system, we'll include it in 
XCode later. Hugin is not yet compatible with wxMac 2.5.x.

Then, in XCode:
- Add the WXmac carbon framework to the XCode project
Click "Projects, Add Frameworks..."
Choose "path/to/wxMac-2.4.2/ver/lib/libwx_mac-2.4.a"
Click "Add"
Click "Projects, Add Frameworks..."
Choose "path/to/wxMac-2.4.2/ver/lib/libwx_mac_xrc-2.4.a"
Click "Add"
-----

Hope this works! 8-)
GFK's
-- 
Guillaume Filion, ing. jr
Logidac Tech., Beaumont, Québec, Canada - http://logidac.com/
PGP Key and more: http://guillaume.filion.org/



More information about the ptX mailing list