My package ChemmineOB is failing to build on Windows and mac arm64 
(kjohnson1). They both show the same error, that a header file is 
missing from the OpenBabel installation.

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  
-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 <openbabel/obutil.h>
          ^~~~~~~~~~~~~~~~~~~~
1 error generated.



Here is the build report: 
https://www.bioconductor.org/checkResults/3.19/bioc-LATEST/ChemmineOB/palomino7-install.html

It is saying that the file openbabel/obutil.h is missing. That file 
appears normally when I install OpenBabel myself, so could you check 
that OpenBabel is installed on those machines and confirm whether or not 
that file is present? Could you also let me know what directory 
openbabel is installed in? Thank you.

Kevin

        [[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to