我遵循了从http://www.mrzv.org/software/dionysus/get-build-install.html制作/建造酒神的指示
从一无所有的全新计算机上,
我使用port来安装python27,cmake,boost,mercurial和其他一些软件包。
然后在航站楼我做了
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的PC上尝试了完全相同的安装,但它确实起作用了,所以我想知道端口安装功能是否会引起一些问题?
最佳答案
偶然发现了同样的问题。也使用OSX 10.10。几天在macports和brew之间切换和操作库没有成功...
今天,我终于以这种方式编译了狄俄尼索斯:
brew unlink boost
brew tap homebrew/versions
brew install boost155
brew link boost155
但是还必须查看整个库树(增强树,cgal,swig,cgal-swig-bindings,dionysus)是否构建良好。