When I try to build the Xara source on my MacBook Pro, I get errors about jpeglib.h
In file included from .././Kernel/exjpeg.h:104,
from maskfilt.cpp:118:
.././Kernel/jpglib_namespace.h:116:22: error: jpeglib.h: No such file or directory
.././Kernel/exjpeg.h:144: error: 'J_DCT_METHOD' in namespace 'libJPEG' does not name a type
.././Kernel/exjpeg.h:145: error: expected unqualified-id before '&' token
.././Kernel/exjpeg.h:145: error: expected ',' or '...' before '&' token
.././Kernel/exjpeg.h:145: error: ISO C++ forbids declaration of 'parameter' with no type
.././Kernel/exjpeg.h:147: error: 'J_COLOR_SPACE' in namespace 'libJPEG' does not name a type
.././Kernel/exjpeg.h:149: error: expected unqualified-id before '&' token
.././Kernel/exjpeg.h:149: error: expected ',' or '...' before '&' token
.././Kernel/exjpeg.h:149: error: ISO C++ forbids declaration of 'parameter' with no type
.././Kernel/exjpeg.h:173: error: 'J_DCT_METHOD' in namespace 'libJPEG' does not name a type
.././Kernel/exjpeg.h:174: error: 'J_COLOR_SPACE' in namespace 'libJPEG' does not name a type
.././Kernel/exjpeg.h:275: error: 'jpeg_compress_struct' in namespace 'libJPEG' does not name a type
make[2]: *** [maskfilt.o] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
However, fink list libjpeg reports that the library is installed:
i libjpeg 6b-16 JPEG image format handling library
i libjpeg-bin 6b-16 Executables for libjpeg package
i libjpeg-shlibs 6b-16 Shared libraries for libjpeg package
Does anyone know what's going on here?
Any help on this would be greatly appreciated.
Bookmarks