############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data ChemmineOB ### ############################################################################## ############################################################################## * checking for file ‘ChemmineOB/DESCRIPTION’ ... OK * preparing ‘ChemmineOB’: * checking DESCRIPTION meta-information ... OK * cleaning src * running ‘cleanup’ * installing the package to build vignettes ----------------------------------- * installing *source* package ‘ChemmineOB’ ... ** using staged installation checking for pkg-config... /opt/R/arm64/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for OPENBABEL... no checking for OPENBABEL... no checking for gcc... clang -arch arm64 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang -arch arm64 accepts -g... yes checking for clang -arch arm64 option to accept ISO C89... none needed checking how to run the C preprocessor... clang -arch arm64 -E configure: creating ./config.status config.status: creating src/Makevars ** libs using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/include/openbabel3 -I/usr/include/eigen3 -DUSE_BOOST -DHAVE_EIGEN -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION -I/usr/local/include/eigen3 -I/usr/local/include/openbabel3 -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/zlibbioc/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ChemmineOB.cpp -o ChemmineOB.o ChemmineOB.cpp:1569:10: fatal error: 'openbabel/obutil.h' file not found #include ^~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [ChemmineOB.o] Error 1 ERROR: compilation failed for package ‘ChemmineOB’ * removing ‘/private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/RtmpKMQUis/Rinstff747dd96ecd/ChemmineOB’ ----------------------------------- ERROR: package installation failed