> I will look at the fltk-config section, as you said..

Read it now.
Come back once you understand it - I'm very hopeful it will make your task very 
much easier...!


> In the meantime I have tried again but I still have differents errors
> lines, compiling with -DWIN32:
> 
> g++ -o "C:\EsempiCPP\PrintMessage" "C:\EsempiCPP\PrintMessage.cpp" -static
> -std=c++0x -DWIN32


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 quite a 
variety of other things...

However; if your code is a single self-contained file, then fltk-config will 
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 WinXX 
hosts) is a Bad Idea since historically the extension .cpp was often used for 
C-pre-processor scripts, which are quite a different beast altogether...

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 SS14 
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
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to