> 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
