Building wxMac2.6.3 CW10

H H at h.com
Mon Nov 6 08:52:44 PST 2006


In article <43CB52B2-D3F5-4F05-A981-7A0A6E88E867 at spray.se>,
 bengt.nilsson11 at spray.se (Bengt Nilsson) wrote:

> I am interested.
> Do you have any experience building wxWidgets for CW8.3?
> I have some problems with Mach-o targets.
> 
> 2 nov 2006 kl. 20.18 skrev Brian Ray:
> 
> > I realize this information is useless to most. So, if your not  
> > interested in building the MACH-O static libraries targets with  
> > this version of the existing wxMac distribution on CodeWarrior 10,  
> > please read no further.
> >
> > Here is what I did:
> >
> > 1. got, un-zip/tared wxMac-2.6.3.tar.gz
> > 2. cp include/wx/mac/setup0.h include/wx/setup.h
> > 3. open src/wxWindowsM8.mcp
> > 4. Say yes to convert all.
> > 5. Select the wxlib Carbon Debug or Release target
> > 6. add "#define WX_SOCKLEN_T int" to the Settings->C/C++  
> > Preprocessor panel
> > 7. Remove "MSL_Runtime_Mach-O.a" from project. Link the runtime lib  
> > in later.
> > 8. Build.
> >
> > <http://www.wxwidgets.org/wiki/index.php/WxMacCW10>
> >
> > Brian Ray
> > http://kazavoo.com
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> > For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org

To compile wxWidgets with CW, Mach-O and MSL libs I always have to 
change the following files:

datetime.h
defs.h
directorycopy.c
filefn.cpp
hashmap.h (line 646)
image.h
jconfig.h
listbase.h
macconfig.h
MoreFileExtras.c (line 497)
setup.h
wxchar.h (line 1178)
wx_cw_cm.h
wx_cw_d.h
wx_cwc_d.pch++

If you like to know what I am changing I can send you my files in a 
private e-mail. Mostly, the problems occur with including the wrong 
headers.
As CW is not supported anymore it does not make sense to update the 
source (at least nobody was interested).

Hartwig






More information about the wx-users mailing list