我正在尝试安装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,该版本已经包含odeint:http://www.boost.org/users/history/version_1_56_0.html

10-04 12:08
查看更多