Hello,
update:
if I just extract the tar file, go to the fltk directory and type make, I get
the following error:
$ make
Makefile:26: makeinclude: No such file or directory
if test -f config.status; then \
./config.status --recheck; \
./config.status; \
else \
./configure; \
fi
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for nroff... /usr/bin/nroff
checking for htmldoc... no
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
: integer expression expected 2
: integer expression expected 4
: integer expression expected 4
: integer expression expected 4
: integer expression expected 4
checking whether the compiler recognizes bool as a built-in type... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/select.h usability... no
checking sys/select.h presence... no
checking for sys/select.h... no
checking sys/stdtypes.h usability... no
checking sys/stdtypes.h presence... no
checking for sys/stdtypes.h... no
checking for scandir... no
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strlcat... no
checking for strlcpy... no
checking for library containing pow... none required
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking libpng/png.h usability... no
checking libpng/png.h presence... no
checking for libpng/png.h... no
checking pthread.h usability... no
checking pthread.h presence... no
checking for pthread.h... no
checking for pthread_create in -lpthread... yes
checking for pthread_create using -pthread... no
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking if libsupc++ is required... yes
configure: creating ./config.status
config.status: creating makeinclude
config.status: WARNING: makeinclude.in seems to ignore the --datarootdir
setting
config.status: creating fltk.list
config.status: WARNING: fltk.list.in seems to ignore the --datarootdir setting
config.status: creating fltk2-config
config.status: creating config.h
Libs: -lpthread -lmsimg32 -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++
System image libs: -lfltk2_png -lfltk2_images -lfltk2_jpeg -lz
Local image libs: ../lib/libfltk2_jpeg.a ../lib/libfltk2_png.a
OpenGL libs: -lglu32 -lopengl32
Build targets: static
=== making src ===
Compiling add_idle.cxx...
Compiling addarc.cxx...
Compiling addcurve.cxx...
Compiling Adjuster.cxx...
Compiling AlignGroup.cxx...
Compiling AnsiWidget.cxx...
Compiling args.cxx...
Compiling BarGroup.cxx...
Compiling bmpImage.cxx...
Compiling Browser.cxx...
Browser.cxx: In member function `virtual void BButton::layout()':
Browser.cxx:1751: warning: passing `float' for converting 1 of `void
fltk::Rectangle::h(int)'
Compiling Browser_load.cxx...
Compiling Button.cxx...
Compiling CheckButton.cxx...
Compiling Choice.cxx...
Compiling clip.cxx...
Compiling Clock.cxx...
Compiling Color.cxx...
Compiling color_chooser.cxx...
Compiling ComboBox.cxx...
Compiling compose.cxx...
Compiling Cursor.cxx...
Compiling CycleButton.cxx...
Compiling default_glyph.cxx...
Compiling Dial.cxx...
Compiling DiamondBox.cxx...
Compiling dnd.cxx...
Compiling drawtext.cxx...
drawtext.cxx: In function `void wrap(const char*, const char*, float, float,
float, float (*)(const char*, int))':
drawtext.cxx:446: warning: converting to `int' from `float'
Compiling EngravedLabel.cxx...
Compiling error.cxx...
Compiling event_key_state.cxx...
Compiling file_chooser.cxx...
Compiling FileBrowser.cxx...
Compiling FileChooser.cxx...
Compiling FileChooser2.cxx...
Compiling FileIcon.cxx...
Compiling FileInput.cxx...
Compiling filename_absolute.cxx...
Compiling filename_ext.cxx...
Compiling filename_isdir.cxx...
Compiling filename_list.cxx...
Compiling filename_match.cxx...
Compiling filename_name.cxx...
Compiling fillrect.cxx...
Compiling Fl_Menu_Item.cxx...
Compiling FloatInput.cxx...
Compiling fltk_theme.cxx...
Compiling Font.cxx...
Compiling gifImage.cxx...
gifImage.cxx: In member function `virtual bool fltk::gifImage::fetch()':
gifImage.cxx:105: error: `U32' undeclared (first use this function)
gifImage.cxx:105: error: (Each undeclared identifier is reported only once for
each function it appears in.)
gifImage.cxx:105: error: expected `;' before "colormap"
gifImage.cxx:109: error: expected `;' before "r"
gifImage.cxx:110: error: expected `;' before "g"
gifImage.cxx:111: error: expected `;' before "b"
gifImage.cxx:112: error: `colormap' undeclared (first use this function)
gifImage.cxx:112: error: `r' undeclared (first use this function)
gifImage.cxx:112: error: `g' undeclared (first use this function)
gifImage.cxx:112: error: `b' undeclared (first use this function)
gifImage.cxx:181: error: expected `;' before "r"
gifImage.cxx:182: error: expected `;' before "g"
gifImage.cxx:183: error: expected `;' before "b"
gifImage.cxx:314: error: `to' undeclared (first use this function)
gifImage.cxx:314: error: expected primary-expression before ')' token
make[1]: *** [gifImage.o] Error 1
make: *** [all] Error 2
Kind regards,
Udo
________________________________
Von: Berninger Udo
Gesendet: Mo 04.08.2008 15:40
An: [EMAIL PROTECTED]
Betreff: Problem making FLTK with cygwin
Hello,
I am running cygwin with Windows XP Professional Version 2002, service pack 2,
on a Lenovo AMD Athlon 64 X2 Dual Core Processor 3800+.
I tried to make FLTK but I got an error, details attached.
Any suggestions?
Kind regards,
Udo
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs