On 29 Nov 2011, at 18:25, fltkgui wrote:

> I fixed it by copying the files manually manually.

Meh - seldom the right solution... But if it is working for you...


> I do have one more question though.
> 
> How can I link to libs additionally from the fltk-config?
> 
> I tried "fltk-config" --use-images --compile program.cxx -llinkto -llinkto".
> But than it returned me to the "print help" lets say.
> 
> I also tried just copying the g++ code but that again gave many errors, all
> "undefined reference to -->", 'jpeg_CreateDecompress', 
> 'jpeg_resync_to_restart',
> 'jpeg_finish_decompress', 'jpeg_destroy_decompress' etc etc.
> 
> It does work compiling through fltk-config though now, so it at least works.

To build projects that consist of more than one file, your best bet is a 
Makefile  - there's a Howto here that describes how to use fltk-config with a 
basic Makefile skeleton to get you up and running.


http://www.fltk.org/articles.php?L599





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

Reply via email to