mpaw@mpaw-win7 /c/MinGW/fltk-1.3.4-1
$ ./configure --enable-threads --enable-localjpeg --enable-localzlib --enable-localpng
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
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 a BSD-compatible install... /bin/install -c
checking for nroff... no
checking for doxygen... no
checking for ranlib... ranlib
checking for ar... /mingw/bin/ar
checking for windres... /mingw/bin/windres
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 size of short... 2
checking size of int... 4
checking size of long... 4
checking whether byte ordering is bigendian... no
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 whether we have the POSIX compatible scandir() prototype... no
checking for scandir... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for strings.h... (cached) yes
checking for strcasecmp... yes
checking for strlcat... no
checking for strlcpy... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for localeconv... yes
checking for library containing pow... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking for long long int... yes
checking for library containing dlsym... none required
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
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 GCC supports -fno-exceptions... yes
checking if GCC supports -fno-strict-aliasing... yes
checking if ld supports -no-undefined... yes
checking if ld supports -Bsymbolic-functions... yes
checking if toolchain supports sections... yes
Configuration Summary
-------------------------------------------------------------------------
Directories: prefix=/usr/local
bindir=${exec_prefix}/bin
datadir=${datarootdir}
datarootdir=${prefix}/share
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib
mandir=${datarootdir}/man
MSys docpath=C:/MinGW/msys/1.0/local/share/doc/fltk
Graphics: GDI
Image Libraries: JPEG=Builtin
PNG=Builtin
ZLIB=Builtin
Large Files: YES
OpenGL: YES
Threads: YES
configure: creating ./config.status
config.status: creating makeinclude
config.status: creating fltk.list
config.status: creating fltk-config
config.status: creating fltk.spec
config.status: creating FL/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: creating FL/abi-version.h
config.status: FL/abi-version.h is unchanged
mpaw@mpaw-win7 /c/MinGW/fltk-1.3.4-1
$ make
=== making jpeg ===
Compiling jaricom.c...
Compiling jcapimin.c...
Compiling jcapistd.c...
Compiling jcarith.c...
Compiling jccoefct.c...
Compiling jccolor.c...
Compiling jcdctmgr.c...
Compiling jchuff.c...
Compiling jcinit.c...
Compiling jcmainct.c...
Compiling jcmarker.c...
Compiling jcmaster.c...
Compiling jcomapi.c...
Compiling jcparam.c...
Compiling jcprepct.c...
Compiling jcsample.c...
Compiling jctrans.c...
Compiling jdapimin.c...
Compiling jdapistd.c...
Compiling jdarith.c...
Compiling jdatadst.c...
Compiling jdatasrc.c...
Compiling jdcoefct.c...
Compiling jdcolor.c...
Compiling jddctmgr.c...
Compiling jdhuff.c...
Compiling jdinput.c...
Compiling jdmainct.c...
Compiling jdmarker.c...
Compiling jdmaster.c...
Compiling jdmerge.c...
Compiling jdpostct.c...
Compiling jdsample.c...
Compiling jdtrans.c...
Compiling jerror.c...
Compiling jfdctflt.c...
Compiling jfdctfst.c...
Compiling jfdctint.c...
Compiling jidctflt.c...
Compiling jidctfst.c...
Compiling jidctint.c...
Compiling jmemmgr.c...
Compiling jmemnobs.c...
Compiling jquant1.c...
Compiling jquant2.c...
Compiling jutils.c...
Archiving ../lib/libfltk_jpeg.a...
=== making zlib ===
Compiling adler32.c...
Compiling compress.c...
Compiling crc32.c...
Compiling uncompr.c...
Compiling deflate.c...
Compiling trees.c...
Compiling zutil.c...
Compiling inflate.c...
Compiling inftrees.c...
Compiling inffast.c...
Compiling gzclose.c...
Compiling gzlib.c...
Compiling gzread.c...
Compiling gzwrite.c...
Compiling infback.c...
Archiving ../lib/libfltk_z.a...
=== making png ===
Compiling png.c...
Compiling pngset.c...
Compiling pngget.c...
Compiling pngrutil.c...
Compiling pngtrans.c...
Compiling pngwutil.c...
Compiling pngread.c...
Compiling pngrio.c...
Compiling pngwio.c...
Compiling pngwrite.c...
Compiling pngrtran.c...
Compiling pngwtran.c...
Compiling pngmem.c...
Compiling pngerror.c...
Compiling pngpread.c...
Archiving ../lib/libfltk_png.a...
=== making src ===
=== making fluid ===
=== making test ===
Linking sudoku.exe...
gcc: error: sudoku.rc: No such file or directory
gcc: warning: '-x c' after last input file has no effect
gcc: fatal error: no input files
compilation terminated.
C:\MinGW\bin\windres.exe: preprocessing failed.
make[1]: *** [sudoku.exe] Error 1
make: *** [all] Error 1
mpaw@mpaw-win7 /c/MinGW/fltk-1.3.4-1
$ test/demo
Thank you
./configure --enable-threads --enable-localjpeg --enable-localzlib --enable-
localpng
make distclean
make
$ make --versionGNU Make 3.81Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions.There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE.
This program built for i686-pc-msys
mpaw@mpaw-win7 /c/MinGw/fltk-1.3.3$ gcc --versiongcc.exe (GCC) 5.3.0Copyright (C) 2015 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
mpaw@mpaw-win7 /c/MinGw/fltk-1.3.3$ g++ --versiong++.exe (GCC) 5.3.0Copyright (C) 2015 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
mpaw@mpaw-win7 /c/MinGw/fltk-1.3.3$ autoconf --versionautoconf (GNU Autoconf) 2.68Copyright (C) 2010 Free Software Foundation, Inc.License GPLv3+/Autoconf: GNU GPL version 3 or laterThis is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.
$ make -k
=== making jpeg ===
=== making zlib ===
=== making png ===
=== making src ===
=== making fluid ===
=== making test ===
Linking sudoku.exe...
gcc: error: sudoku.rc: No such file or directory
gcc: warning: '-x c' after last input file has no effect
gcc: fatal error: no input files
compilation terminated.
C:\MinGW\bin\windres.exe: preprocessing failed.
make[1]: *** [sudoku.exe] Error 1
Compiling symbols.cxx...
Linking symbols.exe...
Compiling table.cxx...
Linking table.exe...
Generating tabs.cxx and header from tabs.fl...
Compiling tabs.cxx...
Linking tabs.exe...
Compiling threads.cxx...
Linking threads.exe...
Compiling tile.cxx...
Linking tile.exe...
Compiling tiled_image.cxx...
Linking tiled_image.exe...
Generating tree.cxx and header from tree.fl...
Compiling tree.cxx...
Linking tree.exe...
Compiling twowin.cxx...
Linking twowin.exe...
Generating valuators.cxx and header from valuators.fl...
Compiling valuators.cxx...
Linking valuators.exe...
Compiling utf8.cxx...
Linking utf8.exe...
Compiling windowfocus.cxx...
Linking windowfocus.exe...
Compiling cube.cxx...
Linking cube.exe...
Generating CubeViewUI.h and header from CubeViewUI.fl...
Compiling CubeMain.cxx...
Compiling CubeView.cxx...
Compiling CubeViewUI.cxx...
Linking CubeView.exe...
Compiling fractals.cxx...
Compiling fracviewer.cxx...
Linking fractals.exe...
Compiling fullscreen.cxx...
Linking fullscreen.exe...
Compiling gl_overlay.cxx...
Linking gl_overlay.exe...
Compiling glpuzzle.cxx...
Linking glpuzzle.exe...
Compiling shape.cxx...
Linking shape.exe...
make[1]: Target `all' not remade because of errors.
$ make -necho Linking sudoku.exe.../mingw/bin/windres sudoku.rc sudokures.o
g++ -O3 -Wall -Wunused -Wno-format-y2k -fno-exceptions -fno-strict-aliasing -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mwindows -DWIN32 -DUSE_OPENGL32 -O3 -Wall -Wunused -Wno-format-y2k -fno-exceptions -fno-strict-aliasing -ffunction-sections -fdata-sections -mwindows sudoku.o sudokures.o -o sudoku.exe -lwinmm ../lib/libfltk_images.a ../lib/libfltk.a -L../lib -lfltk_png -lfltk_z -lfltk_jpeg -lole32 -luuid -lcomctl32