Closed ppxasjsm closed 3 years ago
Updating clang seems to have done the trick for now....thanks :)
Great, glad it was a simple fix. Now on to the next issue ;-)
Ok issues compiling wrappers:
/Users/toni_brain/Projects_git/Sire/wrapper/Helpers/objectregistry.hpp:5:10: fatal error: 'boost/python.hpp' file not
found
#include <boost/python.hpp>
^~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [Helpers/CMakeFiles/SirePython.dir/build.make:80: Helpers/CMakeFiles/SirePython.dir/objectregistry.cpp.o] Error 1
make[2]: Leaving directory '/Users/toni_brain/Projects_git/Sire/build/wrapper'
make[1]: *** [CMakeFiles/Makefile2:559: Helpers/CMakeFiles/SirePython.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/Users/toni_brain/Projects_git/Sire/wrapper/python/main.cpp:8:10: fatal error: 'tbb/task_scheduler_init.h' file not
found
#include "tbb/task_scheduler_init.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [python/CMakeFiles/sire_python.dir/build.make:80: python/CMakeFiles/sire_python.dir/main.cpp.o] Error 1
make[2]: Leaving directory '/Users/toni_brain/Projects_git/Sire/build/wrapper'
make[1]: *** [CMakeFiles/Makefile2:1072: python/CMakeFiles/sire_python.dir/all] Error 2
make[1]: Leaving directory '/Users/toni_brain/Projects_git/Sire/build/wrapper'
make: *** [Makefile:147: all] Error 2
SOMETHING WENT WRONG WHEN COMPILING WRAPPER!
I've seen this issue periodically too. Some times a simple re-run of ./compile_sire.sh
fixes things, other times it's worked following a complete rebuild after deleting everything. I'm not sure what the problem is, but imagine that CMake has messed up, or the cache isn't correct. The files that it's complaining about definitely exist in the Miniconda and I've even got CMake to print out the supposed BOOST and TBB paths, which are also correct.
OS:
Mac osx Catilina 10.15.7
cmake: version 3.19.2
clang: 9.0.1
Compile sire produces the following error: