aridam wrote:
> hey
> I am  using ccmake to compile fltk on release mode and i am running into 
> problems.
> when i configure it gives me
>
> CMake Warning (dev) at png/CMakeLists.txt:21 (ADD_LIBRARY):
>     Policy CMP0003 should be set before this line.  Add code such as

You can ignore this warning...

>   This warning is for project developers.  Use -Wno-dev to suppress it.

> if i then make it it exists with errors ,
>
> wondering if some one could help me out with this.

Sorry, CMake support is not yet complete. The latest snapshots are
missing some files, the next snapshot (on Friday) or subversion
ought to be better.

Note that autoconf/configure/make is known to work, and there is
also an XCode project in ide/XCode3.

If you want to try CMake now, you must replace Fl_Abstract_Printer.*
with Fl_Paged_Device.* in src/CMakeLists.txt:

Index: src/CMakeLists.txt
===================================================================
--- src/CMakeLists.txt  (Revision 7674)
+++ src/CMakeLists.txt  (Revision 7675)
@@ -2,7 +2,6 @@

  set(CPPFILES
    Fl.cxx
-  Fl_Abstract_Printer.cxx
    Fl_Adjuster.cxx
    Fl_Bitmap.cxx
    Fl_Browser.cxx
@@ -43,6 +42,7 @@
    Fl_Native_File_Chooser.cxx
    Fl_Overlay_Window.cxx
    Fl_Pack.cxx
+  Fl_Paged_Device.cxx
    Fl_Pixmap.cxx
    Fl_Positioner.cxx
    Fl_Printer.cxx


If this doesn't work, please post the error messages here. Please
don't forget to tell us which exact FLTK version (snapshot version,
subversion release etc.) you're trying to build.

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

Reply via email to