As I waited for the answer, yesterday I installed MinGW using 
mingw-get-inst-20120426.exe (version April 26, 2012). Then I installed MSYS 
using MSYS-1.0.11.exe installing above MSYS created by 
mingw-get-inst-20120426.exe. So I did the tar xvzf fltk-1.3.1-source.tar.gz. So 
I run ./configure then make and make install. OK. Finally I eventually in MSYS 
to compile the sample using fltk-config --compile hello.cxx. Hurra!! If I want 
to build the sample using the DOS prompt, how can I do if fltk-config is not 
recognized (not fltk-config.exe) ?



> OK - a how-to on installing mingw/Msys is way off-topic for this forum, =
> but here goes anyway...
>
> http://www.mingw.org/wiki/Getting_Started
>
> - get mingw-get-inst and run it.
>
> - select the C and C++ options, the Msys options and the Dev Kit options
>
> - Install mimgw
>
> - launch a mingw shell, either the "DOS-box" one or mintty (even the =
> deprecated rxvt ought to work.)
>
> - download the fltk tarball
>
> - in the mingw shell, cd to where the fltk tarball is
>
> - tar -zxf fltk-whatever.tar.gz   (will expand the fltk build tree)
>
> - cd fltk-whatever
>
> - ./configure
>
> - make
>
> - wait a bit...
>
> - Job Done.
>
>
> Now try fltk-config --ldstaticflags and verify it is returning a =
> sensible looking set of linker directories.
>
> Also, go into the "test" folder and run the demo program and try out a =
> few of the other demos to make sure it has built OK.
>
> That is all there is to it.=20
>
>
>

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

Reply via email to