gpt4 book ai didi

c++ - 无法完成构建 cgal sln

转载 作者:行者123 更新时间:2023-11-28 04:40:50 24 4
gpt4 key购买 nike

我在编译 CGAL 时遇到问题我按照这里的步骤操作: http://www.cse.msu.edu/~ytong/CGAL_installation.ppt

但是当我到达构建 CGAL .sln 的步骤时它显示以下错误: here

输出:

1>------ Build started: Project: CGAL, Configuration: Debug Win32 ------
1> Building Custom Rule C:/dev/CGAL-4.9.1/src/CGAL/CMakeLists.txt
1> CMake does not need to re-run because C:\dev\CGAL-4.9.1\build\src\CGAL\CMakeFiles\generate.stamp is up-to-date.
1> all_files.cpp
1> Creating library C:/dev/CGAL-4.9.1/build/lib/Debug/CGAL-vc120-mt-gd-4.9.1.lib and object C:/dev/CGAL-4.9.1/build/lib/Debug/CGAL-vc120-mt-gd-4.9.1.exp
1>all_files.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class boost::system::error_category const & __cdecl boost::system::system_category(void)" (__imp_?system_category@system@boost@@YAABVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'native_ecat''(void)" (??__Enative_ecat@system@boost@@YAXXZ)
1>all_files.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (__imp_?generic_category@system@boost@@YAABVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'errno_ecat''(void)" (??__Eerrno_ecat@system@boost@@YAXXZ)
1>C:\dev\CGAL-4.9.1\build\bin\Debug\CGAL-vc120-mt-gd-4.9.1.dll : fatal error LNK1120: 2 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

最佳答案

我们目前使用的是 CGAL 4.12,因此请升级并按照官方安装说明进行操作。

关于c++ - 无法完成构建 cgal sln,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50199895/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com