On 17 Apr 2010, at 23:31, Stewart Dickson wrote:

> I just downloaded
> http://ftp2.easysw.com/pub/fltk/snapshots/fltk-1.3.x-r7513.tar.gz
> built and installed it using:
> cd /usr/local/src/fltk-1.3.x-r7513
> ./configure
> make
> sudo make install
> i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)

What platform are you targeting here? I assume OSX, (since the  
compiler call out Darwin) but my OSX builds never call out the  
compiler instantiation explicitly like that - always just "g++" which  
points to the current selected version.

So... are you *actually* running a bare Darwin system rather than OSX?

Also, I note that you do a "make install" step. I would very strongly  
caution against that at this stage. fltk-1.3 is not yet considered  
stable and may yet be subject to ABI (and even API) level changes  
before it is stable.
And it currently "collides" in terms of lib names include names,  
etc., with the stable 1.1 series.

>
> Attempting to port from MacOS-X 10.4.11 (Tiger/G4 PPC) to MacOS-X  
> 10.6.2
> (Snow Leopard/Intel)
> (Was not expecting objective C? to be entering the picture, when I
> thought I was using GNU g++).

To get fltk to work robustly on 64-bit OSX platforms we had to drop  
the last vestiges of Carbon from the host specific sections of the  
fltk code. These had to be replaced with Cocoa, and so there is now  
some Obj-C stuff in the low-level portions of the OSX code.
These are not visible to the fltk API, which is still pure C++, but  
are present, hidden inside the core.

So... If you have an OSX system, this should be no problem, so I  
don't understand why you are seeing errors flagged (this in the "oh,  
well, it works for me!" sense... just completed a refresh to r7526  
with no problems at all)

If you have a Darwin system, you ought to be targeting X11 rather  
than Quartz as your display system anyway, IIRC, in which case all  
the Obj-C-ness would disappear.

HTH,
-- 
Ian


_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to