On 03 August 2006 09:55, Susana Manrique de Lara Sanz wrote: > I've installed Cygwin about 5 times because the "jpeglib.h" seems to be > missing. > I install it from the internet and select all the packages needed. IN libs > section I need libjpeg62, libpng12-devel, zlib, which all seem to be > installed properly except from the first one. > > I say this becasuse when I try to compile my project this message is shown: > missing header file 'jpeglib.h' > I've search for it and I can't find it anywhere, I thought it should be at > /cygwin/usr/include/ as the other libs are but the libjpeg isn't there.
None of those packages include jpeglib.h. To find out what cygwin package contains any particular file, go to http://cygwin.com/packages/ and enter it into the search box - you'll get to http://cygwin.com/cgi-bin2/package-grep.cgi?grep=jpeglib.h which shows you that the package you want is called jpeg and it's currently at version jpeg6b-11. The libjpeg62 that you installed only contains the runtime dll; what you need is the development package with the link libraries and headers. > The package has been downloaded but the setup process seem t forget to > install it or something. > Should I just untar the downloaded package to the /cygwin/usr/include/ > directory? if that's the correct directory to do that, which I'm not sure at > all. This isn't what's happened, but if setup had forgotten something, the correct thing to do would be to re-run it and re-select the package for install from local directory. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/