[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,
>
> [ snip ]

I am compiling as I write, so far 17 of 956 files, and 5 warnings (see below).

> Apols in advance if settings are missing or hardwired for paths on my
> machine - obviously any such things need to be ironed out so that the
> project file can be used on any machine with minimal change.

1. It probably needs the associated .lproj directory/bundle

2. Xcode needs the path to the wx include files.

   A It might be possible to insist that the wxWidgets folder is kept
in a known place adjacent to the XaraLX tree, and use project relative
paths. I think Seashore does this.

   B It might be possible to obtain the same effect with symlinks. I
have certainly used this successful in projects, but it seems a little
fragile

   C I suspect that we will have to ask people to add the correct path
to the Headers Search Path file in the Edit Project window. This does
not seem very different to using the correct ./configure incantation.

3. I get this message:

                 from /Users/bfowler/PROG/SVN/XaraLX/PreComp/camtypes.h:111:
	                 from /Users/bfowler/PROG/SVN/XaraLX/wxOil/stdwx.h:102,
		                 from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/wx.h:15,
			In file included from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/defs.h:21,
				/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/platform.h:190:22:
error: wx/setup.h: No such file or directory

and I suspect that I have my wx/setup.h file in the wrong place. If
so, where should it be? I have added the directory where that file
actually is to my list of search paths, videlicet:
     /Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/build-mac-debug-unicode/lib/wx/include/mac-unicode-debug-2.6/wx/setup.h

(i would expect to find instructions and concepts surrounding setup.h
on or before page 555 of the Brooklyn Bridge book, but did not see
any).

4. I get these warnings during pre-compilation:

In file included from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/platform.h:190,
                 from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/defs.h:21,
                 from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/wx.h:15,
                 from /Users/bfowler/PROG/SVN/XaraLX/wxOil/stdwx.h:102,
                 from /Users/bfowler/PROG/SVN/XaraLX/PreComp/camtypes.h:111:
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/build-mac-debug-unicode/lib/wx/include/mac-unicode-debug-2.6/wx/setup.h:23:1:
warning: "WXWIN_OS_DESCRIPTION" redefined
In file included from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/platform.h:38,
                 from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/defs.h:21,
                 from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/wx.h:15,
                 from /Users/bfowler/PROG/SVN/XaraLX/wxOil/stdwx.h:102,
                 from /Users/bfowler/PROG/SVN/XaraLX/PreComp/camtypes.h:111:
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/mac/carbon/config_xcode.h:91:1:
warning: this is the location of the previous definition
	                 from /Users/bfowler/PROG/SVN/XaraLX/PreComp/camtypes.h:111:
		                 from /Users/bfowler/PROG/SVN/XaraLX/wxOil/stdwx.h:102,
			                 from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/wx.h:15,
				                 from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/defs.h:21,
					In file included from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/platform.h:190,
						/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/build-mac-debug-unicode/lib/wx/include/mac-unicode-debug-2.6/wx/setup.h:23:1:
warning: "WXWIN_OS_DESCRIPTION" redefined
	                 from /Users/bfowler/PROG/SVN/XaraLX/PreComp/camtypes.h:111:
		                 from /Users/bfowler/PROG/SVN/XaraLX/wxOil/stdwx.h:102,
			                 from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/wx.h:15,
				                 from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/defs.h:21,
					In file included from
/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/platform.h:38,
						/Users/bfowler/PROG/WXWIDGETS/wxWidgets-2.6.3/include/wx/mac/carbon/config_xcode.h:91:1:
warning: this is the location of the previous definition

which I have never seen before. I wonder whether this is something to
do with my not following instructions relating to 3.

> The attached file should live in the root XaraLX folder.

I have been putting .proj and support files in a directory called
xarapbx. (I got this idea from Abiword). It keeps alien build files
and concepts outside anything that autoconf is likely to look at!

On 151 files, I have 17 errors including the one you mentioned.

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 t ... 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.