Hi Eric,

> Also run a 'locate' for jpeglib.h. Hopefully, you should have only one.
> In in any case, look inside each found .h file and check the
> JPEG_LIB_VERSION macro to make sure that it matches the version of the
> library. (In this case, its value should be 62.)

Well, it turns out that I have quit a few jpeg.h on my system:

---
[EMAIL PROTECTED]:~$grep JPEG_LIB_VERSION `locate jpeglib.h`
/home/user/install/xv-3.10a/jpeg/jpeglib.h: * Might be useful for
tests like "#if JPEG_LIB_VERSION >= 60".
/home/user/install/xv-3.10a/jpeg/jpeglib.h:#define JPEG_LIB_VERSION
51        /* Version 5a */
/home/user/install/vtk/VTK/Utilities/jpeg/jpeglib.h: * Might be useful
for tests like "#if JPEG_LIB_VERSION >= 60".
/home/user/install/vtk/VTK/Utilities/jpeg/jpeglib.h:#define
JPEG_LIB_VERSION  62    /* Version 6b */
/home/user/install/vtk/VTK/Utilities/jpeg/jpeglib.h:
jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/vtk/VTK/Utilities/jpeg/jpeglib.h:
jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/povray/povray-3.6.1/libraries/jpeg/jpeglib.h: *
Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
/home/user/install/povray/povray-3.6.1/libraries/jpeg/jpeglib.h:#define
JPEG_LIB_VERSION  62   /* Version 6b */
/home/user/install/povray/povray-3.6.1/libraries/jpeg/jpeglib.h:
jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/povray/povray-3.6.1/libraries/jpeg/jpeglib.h:
jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/freeimage/FreeImage/Source/LibJPEG/jpeglib.h: *
Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
/home/user/install/freeimage/FreeImage/Source/LibJPEG/jpeglib.h:#define
JPEG_LIB_VERSION  62   /* Version 6b */
/home/user/install/freeimage/FreeImage/Source/LibJPEG/jpeglib.h:
jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/freeimage/FreeImage/Source/LibJPEG/jpeglib.h:
jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/irrlicht/irrlicht-1.3.1/source/Irrlicht/jpeglib/jpeglib.h:
* Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
/home/user/install/irrlicht/irrlicht-1.3.1/source/Irrlicht/jpeglib/jpeglib.h:#define
JPEG_LIB_VERSION  62      /* Version 6b */
/home/user/install/irrlicht/irrlicht-1.3.1/source/Irrlicht/jpeglib/jpeglib.h:
   jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/irrlicht/irrlicht-1.3.1/source/Irrlicht/jpeglib/jpeglib.h:
   jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/python-ogre/FreeImage/Source/LibJPEG/jpeglib.h: *
Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
/home/user/install/python-ogre/FreeImage/Source/LibJPEG/jpeglib.h:#define
JPEG_LIB_VERSION  62 /* Version 6b */
/home/user/install/python-ogre/FreeImage/Source/LibJPEG/jpeglib.h:
jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/python-ogre/FreeImage/Source/LibJPEG/jpeglib.h:
jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/ogre/ogreaddons/PocketPC/Ogre_WinCE_Dependencies/libjpeg/jpeglib.h:
* Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
/home/user/install/ogre/ogreaddons/PocketPC/Ogre_WinCE_Dependencies/libjpeg/jpeglib.h:#define
JPEG_LIB_VERSION  62     /* Version 6b */
/home/user/install/ogre/ogreaddons/PocketPC/Ogre_WinCE_Dependencies/libjpeg/jpeglib.h:
   jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/ogre/ogreaddons/PocketPC/Ogre_WinCE_Dependencies/libjpeg/jpeglib.h:
   jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/ogre/ogreaddons/ogreswf/ogreSwf/dependencies/jpeglib/include/jpeglib.h:
* Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
/home/user/install/ogre/ogreaddons/ogreswf/ogreSwf/dependencies/jpeglib/include/jpeglib.h:#define
JPEG_LIB_VERSION  62 /* Version 6b */
/home/user/install/ogre/ogreaddons/ogreswf/ogreSwf/dependencies/jpeglib/include/jpeglib.h:
   jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/ogre/ogreaddons/ogreswf/ogreSwf/dependencies/jpeglib/include/jpeglib.h:
   jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/python-ogre2/FreeImage/Source/LibJPEG/jpeglib.h: *
Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
/home/user/install/python-ogre2/FreeImage/Source/LibJPEG/jpeglib.h:#define
JPEG_LIB_VERSION  62        /* Version 6b */
/home/user/install/python-ogre2/FreeImage/Source/LibJPEG/jpeglib.h:
jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
/home/user/install/python-ogre2/FreeImage/Source/LibJPEG/jpeglib.h:
jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
/usr/include/jpeglib.h: * Might be useful for tests like "#if
JPEG_LIB_VERSION >= 60".
/usr/include/jpeglib.h:#define JPEG_LIB_VERSION  62     /* Version 6b */
/usr/include/jpeglib.h:    jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
/usr/include/jpeglib.h:    jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
/usr/include/mozilla/jpeg/jpeglib.h: * Might be useful for tests like
"#if JPEG_LIB_VERSION >= 60".
/usr/include/mozilla/jpeg/jpeglib.h:#define JPEG_LIB_VERSION  62
 /* Version 6b */
/usr/include/mozilla/jpeg/jpeglib.h:    jpeg_CreateCompress((cinfo),
JPEG_LIB_VERSION, \
/usr/include/mozilla/jpeg/jpeglib.h:    jpeg_CreateDecompress((cinfo),
JPEG_LIB_VERSION, \
---

However, I don't think the any of the jpeg.h in my home directory are
causing these problems, so could it be the mozilla one? But it also
says that it's version is 62. I've also had a look at my ld.so.conf
and ld.so.conf.d files and none of them contain /usr/include/mozilla
...

> You might want to run your distro's package manager and make sure that
> you have the 'libjpeg' and 'libjpeg-devel' packages installed (or
> whatever the package names are on your system) and make sure that the
> same version is installed for both.

Yes I already have and they are both installed and up-to-date.

Thanks a lot for all the help!

Patrick

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to