I have checked out FLTK3 from SVN (revision 9217). I am having problems with
compilation.
I first tried building using cmake:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/opt
-DOPTION_PREFIX_LIB=/opt/lib64 -DOPTION_BUILD_SHARED_LIBS=on ../CMakeLists.txt
CMake Error: Error in cmake code at
/home/quam/downloads/fltk/fltk-3.0-SVN-x/src/CMakeLists.txt:4:
Parse error. Function missing ending ")". End of file reached.
The file src/CMakeLists.txt is incomplete, containing only the following:
<<<
include_regular_expression("[.][cxx|c|h]$")
set(CPPFILES
>>>
______________________
I also tried using configure/make
make configure
./configure --prefix=/opt --libdir=/opt/lib64 --enable-threads yes
--enable-shared yes --enable-debug yes
make
<compilation proceeds>
Compiling fltk3/xutf8/utf8Utils.c...
Compiling fltk3/xutf8/utf8Wrap.c...
/usr/bin/ar cr ../lib/libfltk3.a ...
make[1]: *** No rule to make target `libfltk3.so.3.0', needed by `all'. Stop.
make: *** [all] Error 1
The file src/Makefile appears to be stale: has directives for building
fltk-1.3 shared libraries rather than fltk-3.0.
What am I doing wrong?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk