rigid-ipc
rigid-ipc copied to clipboard
boost-related compilation error
Following the build instructions on mac I got this compilation error:
In file included from /Users/alecjacobson/Repos/rigid-ipc/src/utils/sinc.cpp:1:
In file included from /Users/alecjacobson/Repos/rigid-ipc/src/utils/sinc.hpp:6:
In file included from /Users/alecjacobson/Repos/rigid-ipc/src/interval/interval.hpp:6:
In file included from /Users/alecjacobson/Repos/rigid-ipc/build/_deps/boost-src/boost/numeric/interval.hpp:18:
/Users/alecjacobson/Repos/rigid-ipc/build/_deps/boost-src/boost/numeric/interval/hw_rounding.hpp:42:4: error: Boost.Numeric.Interval: Please specify rounding control mechanism.
# error Boost.Numeric.Interval: Please specify rounding control mechanism.
^
1 error generated.
make[2]: *** [CMakeFiles/ipc_rigid.dir/src/utils/sinc.cpp.o] Error 1
make[1]: *** [CMakeFiles/ipc_rigid.dir/all] Error 2
make: *** [all] Error 2
Maybe it's fixed in a newer version of boost? Is the version pulled in by cmake (circa 2018) important?