Todd Plessel wrote:
> 
> Compiling Fl.cxx...
> In file included from ../FL/x.H:41,
>                  from Fl.cxx:35:
> ../FL/mac.H: In function ‘OpaqueRgnHandle* XRectangleRegion(int, int, 
> int, int)’:
> ../FL/mac.H:49: error: ‘NewRgn’ was not declared in this scope
> 
> I found this routine in the file Quickdraw.h:
> 
> /*
>  *  NewRgn()   *** DEPRECATED ***
>  *
>  *  Mac OS X threading:
>  *    Not thread safe
>  *
>  *  Availability:
>  *    Mac OS X:         in version 10.0 and later in 
> ApplicationServices.framework but deprecated in 10.4
>  *    CarbonLib:        in CarbonLib 1.0 and later
>  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
>  */
> extern RgnHandle
> NewRgn(void)                                                  
> AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
>  
> 
> ''
> 
> Is there a trick to make this compile (and later link)?

I won't try to go into the details, but generally FLTK 1.1 and FLTK 1.3 work 
well on OSX 10.4 and 10.5.

However, you mentioned "with X11 installed" in your subject, and IMHO this is 
not (yet) supported on MacOS.

Which FLTK version do you try to build, which source version (snapshot or 
subversion?), how did you configure?

Please answer the above questions, and post your ./configure commandline and 
the 
summary from the end of the .confgure run so that we can see what you tried.

A wild guess: maybe configure finds the X11 libs and does something wrong...

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

Reply via email to