Mac OS X 10.10 yosemite 上的 Dionysus Build/make 出现问题
Issue with Dionysus Build/make on Mac OS X 10.10 yosemite
我按照说明从 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 的电脑上尝试了完全相同的安装并且它有效,所以我想知道端口安装功能是否会产生一些问题?
只是偶然发现了同样的问题。也使用 OSX 10.10。几天在 macports 和 brew 之间切换和操作库没有成功......
今天我终于用这种方式编译了狄俄尼索斯:
brew unlink boost
brew tap homebrew/versions
brew install boost155
brew link boost155
然而,必须看看整个库树(boost,cgal,swig,cgal-swig-bindings,dionysus)是否构建良好。
我也有类似的问题。我只是删除了显式命名空间(在 stack_constructor.hpp 中):
load_construct_data_adl
而不是
boost::serialization::load_construct_data_adl
这解决了我的情况中的错误。
相关文章:
- 如何使用ndk-build.cmd构建Android.so文件
- VS Code "command":"make"与终端窗口中的命令行"make"不同
- CMake "--target install"无需"--build"命令行
- 库标题在标题中不可见,但在 cmake build 下.cpp文件中完全可见.为什么?
- 使用 make 编译 MPI,几个命名空间错误,例如"错误:未知类型名称'使用'?
- make 命令如何避免重新编译未更改的源文件?
- Android Studio:如何在build.gradle中定义自定义宏(针对不同的构建变体),并让原生C / C++
- MAKE:找不到包含的用户定义的头文件?
- 加载"D:UsersPublicDocumentsopencvbuildx64vc14binopencv_world340d.dll",找不到或打开PDB文件
- 'make check' GLIBC 运行时的链接问题
- meson-build:wxWidgets 资源文件,用于 Windows 未构建
- Qt5 [make -snap] 无法正确编译:进程"/usr/bin/snap"代码 1 退出
- mingw32-make 使用"MinGW Makefiles"生成器跟踪 CMAKE 无法将可执行文件链接到对象库
- make 命令创建 .file,但不创建应用程序文件
- 为 g++ build 设置超时,为 Sublime Text 运行?
- 如何摆脱导入的 make 项目中的 Eclipse 索引器"Type std::... could not be resolved"错误
- build error : undefined reference to `yyFlexLexer::yyFlexLex
- 如何使cmake输出到"build"目录?
- make / gcc:"bad build"的可能原因是什么?
- Mac OS X 10.10 yosemite 上的 Dionysus Build/make 出现问题