Paul R wrote:

> undefined reference to png_create, read_struct
> undefined reference to jpeg std error
> undefined reference to jpeg finish decompress
>
> etc
>
> I had been advised to add the fltk library 'before' fltk.a so i did
> this, same problems
> i added the fltk_z.a library as i thought that was to do with
> decompression,
> I have changed the order of the libraries a few times, trying to
> get lucky!
>
> presently i am using png.a, fltk.a, images.a, _z.a

These names are really strange. Please post real command lines
so that we can help you better.

Try this order:

fltk_images, fltk, jpeg, png, zlib, or
fltk_images, jpeg, png, zlib, fltk.

Both should work (together with your other options).

See also my other post (< 2hr ago):

"Re: Linker Warnings Building FLTK1.3.0rc3 withVisualC++V6"

for library dependencies.

HTH

Albrecht
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to