> MacArthur, Ian (SELEX GALILEO, UK) wrote:
>
> >> Also I
> >> got a Mac and since I can't compile FLTK2 on snow leopard, I
> >> am stuck with going back to FLTK1.3
> >
> > OK - I don't have a snow-leopard box at present, but I *think* it was
> > still possible to build fltk2 if you build in 32-bit mode... Or I might
> > just be totally making that up... I guess Manolo or others would know
> > much better than me.
>
> For FLTK 1.1 see Mike's note at:
>
> http://www.fltk.org/str.php?L2247
>
> -> ./configure --with-archflags="-arch i386"
>
> FLTK 2 *might* be similar...
>
> Albrecht


Hi,

I tried to configure and compile FLTK2 as you suggest.
I did not try very hard on this occasion but on other occasions
I kept getting a lot of errors related to graphics libraries.

I dont really understand mac systems yet.  It seems that Mac might compile 
FLTK2 in 32 bits but not 64 bits as there are some notes on the net about this. 
 I also think (but I am not really sure) that when Macs went 64 bit they 
dropped some compatibility with the old graphics libraries (?current one Cocoa 
and older ones Carbon (?? Quartz).)  I am guessing that FLTK2 has not gone over 
to COCOA.

FLTK 1.3 does compile OK (which is what I am using).

This is dump from compile / make tonight


./configure --with-archflags="-arch i386"


 In file included from clip.cxx:25:
osx/clip.cxx: In function ‘void fl_restore_clip()’:
osx/clip.cxx:71: error: ‘GetWindowPort’ was not declared in this scope
osx/clip.cxx:73: error: ‘NewRgn’ was not declared in this scope
osx/clip.cxx:75: error: ‘CopyRgn’ was not declared in this scope
osx/clip.cxx:77: error: ‘SectRgn’ was not declared in this scope
osx/clip.cxx:78: error: ‘GetPortBounds’ was not declared in this scope
osx/clip.cxx:80: error: ‘ClipCGContextToRegion’ was not declared in this 
scope
osx/clip.cxx:82: error: ‘DisposeRgn’ was not declared in this scope
osx/clip.cxx: In function ‘void fltk::clip_region(OpaqueRgnHandle*)’:
osx/clip.cxx:90: error: ‘DisposeRgn’ was not declared in this scope
osx/clip.cxx: In function ‘void fltk::push_clip(int, int, int, int)’:
osx/clip.cxx:109: error: ‘NewRgn’ was not declared in this scope
osx/clip.cxx:111: error: ‘SetEmptyRgn’ was not declared in this scope
osx/clip.cxx:115: error: ‘SetRectRgn’ was not declared in this scope
osx/clip.cxx:116: error: ‘SectRgn’ was not declared in this scope
osx/clip.cxx: In function ‘void fltk::clipout(const fltk::Rectangle&)’:
osx/clip.cxx:135: error: ‘NewRgn’ was not declared in this scope
osx/clip.cxx:135: error: ‘SetRectRgn’ was not declared in this scope
osx/clip.cxx:136: error: ‘NewRgn’ was not declared in this scope
osx/clip.cxx:137: error: ‘SetRectRgn’ was not declared in this scope
osx/clip.cxx:138: error: ‘DiffRgn’ was not declared in this scope
osx/clip.cxx: In function ‘void fltk::pop_clip()’:
osx/clip.cxx:164: error: ‘DisposeRgn’ was not declared in this scope
osx/clip.cxx: In function ‘bool fltk::not_clipped(const fltk::Rectangle&)’:
osx/clip.cxx:186: error: ‘RectInRgn’ was not declared in this scope
osx/clip.cxx: In function ‘int fltk::intersect_with_clip(fltk::Rectangle&)’:
osx/clip.cxx:215: error: ‘NewRgn’ was not declared in this scope
osx/clip.cxx:216: error: ‘SetRectRgn’ was not declared in this scope
osx/clip.cxx:217: error: ‘SectRgn’ was not declared in this scope
osx/clip.cxx:218: error: ‘GetRegionBounds’ was not declared in this scope
osx/clip.cxx:222: error: ‘DisposeRgn’ was not declared in this scope
make[1]: *** [clip.o] Error 1
make: *** [all] Error 2
fltk-2.0.x-r7680 $


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

Reply via email to