Hi,
I tried to compile fltk on Mac OS 10.5 Leopard for obtain a 64bit library, but 
I obtain compilation errors, pheraps FLTK use DirectDraw API that was 
deptacated in MAC OS 10.4.
I tried with fltk-2.0.x-r5963 and fltk-1.1.x-r5953

I used env viriable:
FLAGS          = $(OPTIM) -arch x86_64 -arch ppc64 -isysroot 
/Developer/SDKs/MacOSX10.5.sdk
CXXFLAGS        = $(OPTIM)  -Wno-non-virtual-dtor -arch x86_64 -arch ppc64 
-isysroot /Developer/SDKs/MacOSX10.5.sdk
LDFLAGS        = -arch x86_64 -arch ppc64

and this is the compilation error:
Compiling Choice.cxx...
Compiling clip.cxx...
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


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

Reply via email to