Giorgio, This is really getting way too far off-toic for this forum: all the questions you are asking are basic questions about use of the tools, all of which are covered in the mingw docs - none of this is specific to fltk.
Nevertheless, I'll take one more stab at answering your questions, but I really do think you need to spend a little time reading up on the tools and learning how they work; it will stand you in good stead for the future. Note that nothing about building fltk is unusual, it is really a very conventional build process, so what works for fltk works for many other tools too, and vice versa... On 12 Dec 2012, at 12:39, giorgio wrote: > As I waited for the answer, yesterday I installed MinGW using > mingw-get-inst-20120426.exe (version April 26, 2012). Sounds fine. Assuming you selected the dev tools and so forth from the installer GUI, that should be all that you need. > Then I installed MSYS using MSYS-1.0.11.exe installing above MSYS created by > mingw-get-inst-20120426.exe. Um... Why? That step seems unnecessary to me; the Msys installed by the mingw-get-inst has always worked fine for me. > So I did the tar xvzf fltk-1.3.1-source.tar.gz. So I run ./configure then > make and make install. Why did you feel it was necessary to do a "make install" step? I did not suggest that you do so, and it is unnecessary with fltk, which can be used perfectly well from the build tree, installation is unnecessary here. Though harmless here! Did you test the demo programs in the test folder? Did they all work OK? > OK. Finally I eventually in MSYS to compile the sample using fltk-config > --compile hello.cxx. Hurra!! Good - sounds like that is working. > 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) ? I'd strongly advise against using the DOS command prompt for, well, anything these days. It is a very old and not very capable shell; just use the Msys shell for everything. It can do anything that the DOS shell can do, and so much more beside. However, if you are dead set on using the DOS prompt, then you will need to compensate for its inherent weakness by doing a bit more work yourself - in general you will need to fix the PATH so that the mingw tools are found, and pass all the necessary compiler options to gcc yourself (you can find out what the options should be by running fltk-config in the Msys shell and then copying the options and libs and so forth that it uses.) All of this is described in the mingw docs though, so you'd get much better info from their, I think. Or you can set up your IDE to utilise the mingw tools and the fltk libs. Once you have a working install, invoking it from the IDE ought to be straightforward. _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk