Compile on Rasperry PI Trixie had a few warnings, but then failed with this:
cc -std=c99 -O3 -fPIC -fexceptions -fvisibility=hidden -DOPJ_STATIC -DNO_LCMS -DDISABLE_PERF_MEASUREMENT -D__ANSI__ -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -c Source/LibJXR/image/decode/segdec.c -o Source/LibJXR/image/decode/segdec.o
Source/LibJXR/image/decode/segdec.c: In function ‘_load4’:
Source/LibJXR/image/decode/segdec.c:58:12: error: implicit declaration of function ‘_byteswap_ulong’ [-Wimplicit-function-declaration]
58 | return _byteswap_ulong((U32)pv);
| ^~~~~~~~~~~~~~~
make[1]: *** [Makefile.gnu:65: Source/LibJXR/image/decode/segdec.o] Error 1
make[1]: Leaving directory '/home/u1234/fidan/FreeImage-master'
make: *** [Makefile:21: default] Error 2
Only "make" was run.
Compile on Rasperry PI Trixie had a few warnings, but then failed with this:
cc -std=c99 -O3 -fPIC -fexceptions -fvisibility=hidden -DOPJ_STATIC -DNO_LCMS -DDISABLE_PERF_MEASUREMENT -D__ANSI__ -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -c Source/LibJXR/image/decode/segdec.c -o Source/LibJXR/image/decode/segdec.o
Source/LibJXR/image/decode/segdec.c: In function ‘_load4’:
Source/LibJXR/image/decode/segdec.c:58:12: error: implicit declaration of function ‘_byteswap_ulong’ [-Wimplicit-function-declaration]
58 | return _byteswap_ulong((U32)pv);
| ^~~~~~~~~~~~~~~
make[1]: *** [Makefile.gnu:65: Source/LibJXR/image/decode/segdec.o] Error 1
make[1]: Leaving directory '/home/u1234/fidan/FreeImage-master'
make: *** [Makefile:21: default] Error 2
Only "make" was run.