############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL ChemmineOB ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library’ * installing *source* package ‘ChemmineOB’ ... ** using staged installation checking for pkg-config... /opt/R/x86_64/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 x86_64 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 x86_64 accepts -g... yes checking for clang -arch x86_64 option to accept ISO C89... none needed checking how to run the C preprocessor... clang -arch x86_64 -E configure: creating ./config.status config.status: creating src/Makevars ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -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-x86_64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/zlibbioc/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ChemmineOB.cpp -o ChemmineOB.o In file included from ChemmineOB.cpp:1576: /usr/local/include/openbabel3/openbabel/griddata.h:74:12: warning: 'OpenBabel::OBGridData::GetValue' hides overloaded virtual function [-Woverloaded-virtual] double GetValue(int i, int j, int k) const; ^ /usr/local/include/openbabel3/openbabel/base.h:228:32: note: hidden overloaded virtual function 'OpenBabel::OBGenericData::GetValue' declared here: different number of parameters (0 vs 3) virtual const std::string &GetValue() const ^ In file included from ChemmineOB.cpp:1576: /usr/local/include/openbabel3/openbabel/griddata.h:76:12: warning: 'OpenBabel::OBGridData::GetValue' hides overloaded virtual function [-Woverloaded-virtual] double GetValue (vector3 pos) const; ^ /usr/local/include/openbabel3/openbabel/base.h:228:32: note: hidden overloaded virtual function 'OpenBabel::OBGenericData::GetValue' declared here: different number of parameters (0 vs 1) virtual const std::string &GetValue() const ^ In file included from ChemmineOB.cpp:1582: /usr/local/include/openbabel3/openbabel/reaction.h:99:15: warning: 'OpenBabel::OBReaction::GetTitle' hides overloaded virtual function [-Woverloaded-virtual] std::string GetTitle() const { return _title; } ^ /usr/local/include/openbabel3/openbabel/base.h:286:28: note: hidden overloaded virtual function 'OpenBabel::OBBase::GetTitle' declared here: different number of parameters (1 vs 0) virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} ^ In file included from ChemmineOB.cpp:1582: /usr/local/include/openbabel3/openbabel/reaction.h:101:8: warning: 'OpenBabel::OBReaction::SetTitle' hides overloaded virtual function [-Woverloaded-virtual] void SetTitle(const std::string& title) { _title=title; } ^ /usr/local/include/openbabel3/openbabel/base.h:287:21: note: hidden overloaded virtual function 'OpenBabel::OBBase::SetTitle' declared here: type mismatch at 1st parameter ('const char *' vs 'const std::string &' (aka 'const basic_string, allocator> &')) virtual void SetTitle(const char *) {} ^ ChemmineOB.cpp:4160:7: warning: unused variable 'ecode' [-Wunused-variable] int ecode = 0; arg1 = (std::ios_base::event) swigarg_arg1; arg2 = (std::ios_base *) &swigarg_arg2; arg3 = (int) swigarg_arg3; ^ 5 warnings generated. clang++ -arch x86_64 -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-x86_64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/zlibbioc/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c canonical.cpp -o canonical.o clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o ChemmineOB.so ChemmineOB.o canonical.o -L/usr/local/lib/openbabel3 -lopenbabel -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: directory not found for option '-L/usr/local/lib/openbabel3' ld: library not found for -lopenbabel clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [ChemmineOB.so] Error 1 ERROR: compilation failed for package ‘ChemmineOB’ * removing ‘/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/ChemmineOB’