villano-lab / nrCascadeSim

calculating the NR spectrum resulting from neutron-capture cascades.
MIT License
0 stars 1 forks source link

libtbb.so causing build failures on some systems #93

Closed villaa closed 2 years ago

villaa commented 2 years ago

On my Linux Ubuntu 18.04 system there is a build error even though the Travis builds (which also use Ubuntu 18.04) don't have it.

The error looks like:

[ 69%] Building CXX object CMakeFiles/libncap.dir/src/cascadeProd.cpp.o
make[2]: *** No rule to make target '/mnt/build/ws/BUILDTYPE/Release/LABEL/ROOT-ubuntu18.04/build/lib/libtbb.so', needed by 'lib/libncap.so'.  Stop.
CMakeFiles/Makefile2:407: recipe for target 'CMakeFiles/libncap.dir/all' failed
make[1]: *** [CMakeFiles/libncap.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

On the make step.

villaa commented 2 years ago

Here are some links that might be associated with this problem, surprise, it may be a ROOT problem.

link1

link2

villaa commented 2 years ago

According to the first post the binary distributions of ROOT contain libtbb.so in their library directory. This might explain why it is passing on Travis.

villaa commented 2 years ago

Don't quite know why but this issue seemed to evaporate after PR #95

villaa commented 2 years ago

Addressed by PR #95 -- a bit mysterious though.