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

Re: [XaraXtreme-dev] Xcode project query



On 06/04/06, Phil Martin <phil@xxxxxxxx> wrote:
> Ben,

I am not quite sure where you have got to.

> ...there may be some files missing and they should show up during linking. ...

See later. Working with your project file, I get about 690 mising symbol errors.

> Note that I found that during compilation I had to replace one call
> to _tcsdup with wxStrdup but since that change is speculative I
> haven't checked it into SVN yet. You'll find it!

I think that I did. IIRC I found 17 errors in around two files. One
might be fairly simple:

Index: Kernel/epscdef.h
===================================================================
--- Kernel/epscdef.h    (revision 795)
+++ Kernel/epscdef.h    (working copy)
@@ -154,6 +156,6 @@
 };

 // An empty definition to pass back when problems occur.
-const EPSCommentDef EmptyDefinition ( "", "", FALSE, 0 );
+const EPSCommentDef EmptyDefinition ( _T( "" ),  _T( "" ), FALSE, 0 );

 #endif

The other was cameleps.cpp  and I don't think that this file is needed
at the moment.

>...

If I find time, I will try this again. Are you asking for a list of
Xara source files to be added to the project? I am fairly sure that
basestr.cpp is one.

Would it be sense to work from the list in Makefile.am .

What I did was to go by which .cpp files had corresponding .o files.

Also, I had to go back to wxWidgets and create a 'monolithic' library
(Was this the right thing to do?): If you did this you re-named it.

Looking around on the web, there is support for the wxWidgets as
static library approach, but I suspect that this may not be the best
long term route, clearly it is the obvious thing to do at the present.
Rightly or wrongly, I compiled ir with --enable-debug, and this may
have been a mistake.

I need to look for a few MacOS wxWidgets projects.

Ben

> On 6 Apr 2006, at 15:46, Ben Fowler wrote:
> > On 06/04/06, Phil Martin <phil@xxxxxxxx> wrote:
> >> I've created an XCode project ... but
> >> once it has created all the .o files, instead of linking them
> >> together it "Bundlizes" them, making a corresponding .ob file for
> >> each .o file.
> >
> >  Isn't it meant to do that?
> >
> >> I can't find out why it's doing this or how to change it. Anyone any
> >> idea?
> >
> > You are possibly several steps ahead of me: I am trying to create
> > wxOil. Kernel and now tools Frameworks as targets within a XaraLX
> > project, and am having hideous problems linking owing to hundreds of
> > undefined symbol errors.
> >
> > I do look forward to seeing your project, mind.