Yes, I have been programming al the time (years) in VB6 and I wanted to change now and start with c++ using text editor (notepad++).. So, as you already have seen, I am an absolute beginner. I looked at Qt at first, but then I decided to go the unconfortable way, coding everything by hand and using tools like FLTK and MinGW compiler.
You are helping me a lot, technically and also personally, making me understand that the FLTK community the right one is to join. I will follow your instructions, I wiil read fltk-config, I will use .cxx extension from now on. Then I will read more about compiler strings to adopt for more then 1 single example cpp file, as I did.. I will study and try everything, and will let you know... Until then, many many thanks again for helping Giuliano .. > > OK - I guess you are quite new to compiling code then? > > The compiler command you show is *very* incomplete - you need to have paths= > for all the libraries you depend on, and the include files they use, and q= > uite a variety of other things... > > However; if your code is a single self-contained file, then fltk-config wil= > l build it for you, just do: > > fltk-config --compile "C:\EsempiCPP\PrintMessage.cpp" > > And it should pretty much Just work... > > As an aside, using ".cpp" as an extension for C++ files (though common on W= > inXX hosts) is a Bad Idea since historically the extension .cpp was often u= > sed for C-pre-processor scripts, which are quite a different beast altogeth= > er... > > I'd suggest that you use .cxx instead (the fltk default) or .cc = > > > > > > > > > SELEX Galileo Ltd > Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS= > 14 3EL > A company registered in England & Wales. Company no. 02426132 > ******************************************************************** > This email and any attachments are confidential to the intended > recipient and may also be privileged. If you are not the intended > recipient please delete it from your system and notify the sender. > You should not copy it or use it for any purpose nor disclose or > distribute its contents to any other person. > ******************************************************************** > _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk