Cygwin:2.6.0-1无法为openGM运行CMake-3.3.2,这会产生致命错误

时间:2016-10-03 12:15:11

标签: c++ cmake cygwin

使用cygwin bash为OpenGM执行CMake命令时遇到问题,该命令通过桌面计算机安装在Windows 8.1中。我的机器通过执行64位的cygwin.exe(版本2.6.0-1)具有CMake(版本3.3.2)开发包装器。 OpenGM是一个C ++模板库,用于离散因子图模型和这些模型上的分布式操作。我从sourceforge opengm下载了openGM。通过阅读CMake building for cygwin之类的不同来源并遵循相同的程序。首先进入项目目录文件夹,然后传递剩余代码,如:

mkdir my-project-build
cmake /path/to/my-project
make

我不知道如何构建OpenGM并运行平台/接口。执行一堆行后出现以下错误消息:

In file included from /cygdrive/c/Users/Dell/Desktop/opengm-master/include/opengm/inference/auxiliary/fusion_move/fusion_mover.h          xx:16:0,
        from /cygdrive/c/Users/Dell/Desktop/opengm-master/include/opengm/inference/fusion_based_inf.hxx:38,
                     from /cygdrive/c/Users/Dell/Desktop/opengm-master/src/unittest/inference/test_fusion_based_inf.cxx:13:
    /cygdrive/c/Users/Dell/Desktop/opengm-master/include/opengm/inference/fix-fusion/fusion-move.hpp:6:29: fatal error: boost/foreac          h.hpp: No such file or directory
    compilation terminated.
    make[2]: *** [src/unittest/inference/CMakeFiles/test-fusion-based-inf.dir/build.make:63: src/unittest/inference/CMakeFiles/test-          fusion-based-inf.dir/test_fusion_based_inf.cxx.o] Error 1
    make[1]: *** [CMakeFiles/Makefile2:3266: src/unittest/inference/CMakeFiles/test-fusion-based-inf.dir/all] Error 2
    make: *** [Makefile:139: all] Error 2

有人帮我解决了这个错误以及如何为我的工作构建openGM。

0 个答案:

没有答案