> I am using code::blocks and I have 
> allready configured the fltk and in the lib file I have 
> allready the "libfltk_jpeg.a"

I don't use C::B myself, so can not comment on how to configure it, but
assuming that your fltk libs are built and installed correctly, it
should just be a matter of telling C::B which libs to link with, and
what order to link them in.
(NOTE: the gnu linkers are order sensitive, so it is possible that you
have the correct libs, but in the wrong order, and that may be your
problem...?)

> have I to configure again ? 

I doubt it.

How did you build the fltk lib in the first place? Did you build it from
the fltk tarballs, or did you get a C::B package from somewhere?

If you built it from the fltk tarball, you will have the "fltk-config"
tool in your build tree (indeed the C::B packages may include it too) so
you can use that to determine what the correct libs are, and what order
to use them in.

In a shell, run:

   fltk-config --use-images --ldstaticflags

On this WInXP box, that returns:

$ fltk-config --use-images --ldstaticflags
-mwindows -mno-cygwin ./lib/libfltk_images.a ./lib/libfltk_png.a
./lib/libfltk_z.a ./lib/libfltk_jpeg.a ./lib/libfltk.a -lole32 -luuid
-lcomctl32 -lwsock32

Though note that this was local to the fltk build tree, so the paths
will surely be different for your system.





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