gpt4 book ai didi

c++ - 安装 odeint 时出错

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

我正在尝试安装 odeint但每次编译代码时,我都会收到此错误。

c:...odeint\headmyshoulder-odeint-v2-f496df3\include\boost\numeric\odeint\config.hpp(44): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory

我已经包含了包含路径。我检查了这个文件boost/config.hpp , 这不是 <config.hpp> 的完整路径,所以我将其更改为 <boost/numeric/odeint/config.hpp> .现在我在使用相同场景的其他文件时遇到错误。有办法解决这个问题吗?

最佳答案

您的系统上似乎没有 boost 库。odeint 需要 boost 可用。获得两者的最简单方法是下载最新版本的 boost,它已经包含 odeint:http://www.boost.org/users/history/version_1_56_0.html

关于c++ - 安装 odeint <boost/config.hpp> 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26684312/

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