RE: [fltk.general] undefined reference to `fl_register_images()' [General Use]

9 views
Skip to first unread message

MacArthur, Ian (Leonardo, UK)

unread,
Apr 13, 2017, 6:57:41 AM4/13/17
to fltkg...@googlegroups.com

> $ g++ `fltk-config --cxxflags` przyklad10.cpp `fltk-config --ldflags` -o przyklad10


The "ldflags" option needs to be adjusted to link image support in.

Something like:

fltk-config --use-images --ldstaticflags

Would work better.

You can see the options that fltk-config understands by doing "fltk-config --help" at the shell prompt.




Leonardo MW 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.
********************************************************************

Mich Paw

unread,
Apr 13, 2017, 7:07:12 AM4/13/17
to fltk.general, ian.ma...@leonardocompany.com
Thank you very much, it works!
Reply all
Reply to author
Forward
0 new messages