我按照http://www.mrzv.org/software/dionysus/get-build-install.html上的指示进行了Dionysus的制作/构建。从一台全新的电脑开始,我使用端口安装了Python27、CMake、Boost、Mercurial和其他几个软件包。然后在终端中执行以下命令:
终端通过make运行时出现以下错误:
hg clone http://hg.mrzv.org/Dionysus/
cd Dionysus
hg up tip
mkdir build
cd build
cmake ..
make
终端通过make运行时出现以下错误:
[ 1%] Built target bottleneck-distance
[ 3%] Building CXX object
examples/alphashapes/CMakeFiles/alphashapes2d.dir/alphashapes2d.o
In file included from
/Users/pavan/Desktop/Dionysus/examples/alphashapes/alphashapes2d.cpp:3:
In file included from
/Users/pavan/Desktop/Dionysus/examples/alphashapes/alphashapes2d.h:12:
In file included from
/Users/pavan/Desktop/Dionysus/include/topology/simplex.h:221:
In file included from
/Users/pavan/Desktop/Dionysus/include/topology/simplex.hpp:2:
In file included from /opt/local/include/boost/serialization/set.hpp:26:
/opt/local/include/boost/serialization/detail/stack_constructor.hpp:54:31: error:
no member named 'load_construct_data_adl' in namespace
'boost::serialization'
boost::serialization::load_construct_data_adl(
~~~~~~~~~~~~~~~~~~~~~~^
1 error generated.
make[2]: *** [examples/alphashapes/CMakeFiles/alphashapes2d.dir/alphashapes2d.o]
Error 1
make[1]: *** [examples/alphashapes/CMakeFiles/alphashapes2d.dir/all]
Error 2
make: *** [all] Error 2
到目前为止,我已经尝试了我所能想到的一切,重新安装了所有boost和python依赖项(从全新的出厂重置计算机开始)。当涉及到任何C相关的东西时,我完全是个新手,因此非常感谢任何指针。
另外,我在我的Ubuntu电脑上尝试了完全相同的安装,并且它成功了,因此我想知道端口安装功能是否会产生一些问题?
boost
? - konus