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
