[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

RE: [XaraXtreme-dev] Mac Developer



When I found it the wxWidgets Xcode project had two configurations,
Development and Deployment, but neither of them was doing a UNICODE
build. So I created a "DevUnicode" configuration and tweaked the
"Preprocessor Macros" line accordingly.

Alex: Does the wxWidgets Xcode project get built by the wx people or is
it built by the configuration of wxWidgets? How do we modify the Xcode
project to do the things we want one way or another...

Christian: Are you building the "static" Target in the "DevUnicode"
configration?

Phil

> -----Original Message-----
> From: owner-dev@xxxxxxxxxxxxxxxx 
> [mailto:owner-dev@xxxxxxxxxxxxxxxx] On Behalf Of Alex Bligh
> Sent: 10 August 2006 16:22
> To: dev@xxxxxxxxxxxxxx
> Cc: Alex Bligh
> Subject: Re: [XaraXtreme-dev] Mac Developer
> 
> Cristian,
> 
> > Today I managed to add and compile all the necessary files into the 
> > XaraLX XCode project.
> > Now I'm struggling with the linking errors.
> >
> > All of them are similar to this one:
> >
> > /workxara/XaraLX/build/Development/libwxXtra.a(sizer.o) malformed 
> > object, illegal reference for -dynamic code (reference to a 
> coalesced 
> > section
> > (__TEXT,__textcoal_nt) from section (__TEXT,__eh_frame) relocation 
> > entry
> > (414))
> >
> > I'm guessing that this is a widgets error (all the 
> malformed objects 
> > are wxwidgets objects) , caused by the "wrong" building of 
> the wxWidgets.
> > I built wxWidgets library using the XCode project made by Phil.
> > So Phil, can you please tell me, if you succeed to use anywhere the 
> > wxWidgets library that you got from building the project with XCode.
> >
> > Also if anyone knows how to solve this type of error, any 
> help will be 
> > welcomed.
> 
> You should not need to use "the XCode project made by Phil" 
> to build wxWidgets. wxWidgets makes contains (or makes, I 
> forget which) its own XCode projects, made by the bakefile 
> system. Obviously if wxWidgets has updated since Phil made 
> his XCode project, his file may have stopped working.
> 
> What I suggest you do is build wxWidgets (changing only the postscript
> setup) using their standard procedure, then try out some of 
> the "samples" files. As I understand it, they come with their 
> own XCode projects too.
> 
> As to what, specifically, the linker error is, I am not sure. 
> It almost looks like it's a "static library can't reference 
> dynamic linked code"
> problem.
> 
> Alex
>