* installing *source* package ‘cito’ ...
** this is package ‘cito’ version ‘1.2’
** package ‘cito’ successfully unpacked and MD5 sums checked
** using staged installation
cito: found libjpeg via pkg-config
cito: found libpng via pkg-config
cito: found libtiff-4 via pkg-config
cito: PKG_CPPFLAGS = -I/opt/R/x86_64/include -DHAVE_JPEG -I/opt/R/x86_64/include/libpng16 -DHAVE_PNG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -DHAVE_TIFF
cito: PKG_LIBS = -L/opt/R/x86_64/lib -ljpeg -L/opt/R/x86_64/lib -lpng16 -lz -L/opt/R/x86_64/lib -ltiff -lwebp -lzstd -llzma -ljpeg -ldeflate -lz -lwebp -lm -D_THREAD_SAFE -pthread -lsharpyuv -lm -D_THREAD_SAFE -pthread -lzstd -pthread -llzma -pthread -lpthread -ljpeg -ldeflate -lz
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.1.sdk’
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -DHAVE_JPEG -I/opt/R/x86_64/include/libpng16 -DHAVE_PNG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -DHAVE_TIFF -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -DHAVE_JPEG -I/opt/R/x86_64/include/libpng16 -DHAVE_PNG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -DHAVE_TIFF -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c decode.cpp -o decode.o
In file included from decode.cpp:19:
In file included from /opt/R/x86_64/include/jpeglib.h:27:
/opt/R/x86_64/include/jmorecfg.h:317:16: error: redefinition of enumerator 'FALSE'
typedef enum { FALSE = 0, TRUE = 1 } boolean;
^
/Library/Frameworks/R.framework/Resources/include/R_ext/Boolean.h:65:23: note: previous definition is here
typedef enum :int { FALSE = 0, TRUE } Rboolean; // so NOT NA
^
In file included from decode.cpp:19:
In file included from /opt/R/x86_64/include/jpeglib.h:27:
/opt/R/x86_64/include/jmorecfg.h:317:27: error: redefinition of enumerator 'TRUE'
typedef enum { FALSE = 0, TRUE = 1 } boolean;
^
/Library/Frameworks/R.framework/Resources/include/R_ext/Boolean.h:65:34: note: previous definition is here
typedef enum :int { FALSE = 0, TRUE } Rboolean; // so NOT NA
^
decode.cpp:87:3: error: no matching function for call to 'jpeg_read_header'
jpeg_read_header(&ci, TRUE);
^~~~~~~~~~~~~~~~
/opt/R/x86_64/include/jpeglib.h:1043:13: note: candidate function not viable: no known conversion from 'Rboolean' to 'boolean' for 2nd argument
EXTERN(int) jpeg_read_header JPP((j_decompress_ptr cinfo,
^
3 errors generated.
make: *** [decode.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘cito’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cito.Rcheck/cito’