- 2013.10.28 09:38 "Re: [Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Joris Van Damme
- 2013.10.28 13:50 "Re: [Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Bob Friesenhahn
- 2013.10.28 22:37 "Re: [Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Nikos Chantziaras
2013.12.02 02:35 "[Tiff] (no subject)", by Nacho Man
Hello,
I am working on updating the PS3Libraries to the latest versions. was using an older version of the tiff library (3.9.4) and an older library of libzip (0.9.3). have successfully compiled libzip (0.11.1) but now I have trouble compiling the tiff library (4.0.3). error message I receive is as follows: It I The
In file included from ../../libtiff/tif_jpeg.c:30:0:
error: expected identifier before numeric constant ../../libtiff/tiffiop.h:72:16:
# define FALSE 0
^
/usr/local/ps3dev/portlibs/ppu/include/jmorecfg.h:263:16: note: in expansion of macro 'FALSE'
enum { FALSE = 0, TRUE = 1 } boolean; typedef
^
make[2]: *** [tif_jpeg.lo] Error 1
In the jmorecfg.h header file, it says:
/*
* On a few systems, type boolean and/or its values FALSE, TRUE may appear
* in standard header files. Or you may have conflicts with application-
* specific header files that you want to include together with these files.
* Defining HAVE_BOOLEAN before including jpeglib.h should make it work.
*/
#ifdef HAVE_BOOLEAN
#ifndef FALSE /* in case these macros already exist */
#define FALSE 0 /* values of boolean */
#endif
#ifndef TRUE
#define TRUE 1
#endif
#else
typedef enum { FALSE = 0, TRUE = 1 } boolean;
#endif
HAVE_BOOLEAN gets defined in tif_jpeg.c if I'm compiling in a WIN32 environment. I'm compiling on a Linux x86_64 OS. I have tried defining HAVE_BOOLEAN anyways and I get a lot more errors. Does anyone have any suggestions on what to do? These are my configure options:
CPPFLAGS="-I$PSL1GHT/ppu/include -I$PSL1GHT/portlibs/ppu/include" \
CFLAGS="-I$PSL1GHT/ppu/include -I$PS3DEV/portlibs/ppu/include" \
LDFLAGS="-L$PSL1GHT/ppu/lib -L$PS3DEV/portlibs/ppu/lib -lrt -llv2" \
PKG_CONFIG_PATH="$PS3DEV/portlibs/ppu/lib/pkgconfig" \
../configure --prefix="$PS3DEV/portlibs/ppu" --host="powerpc64-ps3-elf" --disable-shared
Thank you.