Thanks for your quick answer, I think I succeed to create the static .lib/.a
now I have to modify my code to see if it really works... Thanks again, Loic > > In my software I am using since a long time the pnglib > > (together with the libpng13.dll). I am both reading and > > writting png files. > > > > Since FLTK is shipped with the pnglib, it sounds logical to > > use the FLTKImageLib instead of the pnglib (I will get for > > free the jpeg compatibility ;) ) > > > > My first question is: > > 1) are fltkimages.lib, fltkpng.lib and fltkz.lib statically linked > > or will I need to load also the .dll associated to them (what > > I am doing now)... > > I would prefer to have statical library > > If you build fltk to use the built-in image libs rather than the system > ones, and you don't not enable support for shared libraries, then you > will get the static versions and they will be linked into your app at > compile time, removing the need for the dll entirely. > > > > 2) just to be sure, I guess I can also write .png file with > > the fltk lib isn't it? > > The lib distributed as the fltk built-in is just a copy of the png > distribution (1.1.x svn seems to have png-1.2.35 built in), and has all > the functionality of that. > Similarly the jpeg lib (which is jpeg-6b). > > > > SELEX Sensors and Airborne Systems Limited > 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

