在Windows 7下为C ++项目安装外部C ++库到Clion

时间:2016-12-27 12:17:31

标签: c++ clion odeint

我是Clion和C ++的新手,非常感谢您的帮助!!

我的目标是下载一个库来解决常微分方程。 该zip文件是从http://headmyshoulder.github.io/odeint-v2/downloads.html下载的 并在D:\myProjects\odeint中解压缩。我使用的是Windows 7和MinGW。

无法使用库,如下图所示。 enter image description here

以下是错误报告。

D:\myProjects\main.cpp:3:51: fatal error: odeint/include/boost/numeric/odeint.hpp: No such file or directory
compilation terminated.
CMakeFiles\myProjects.dir\build.make:61: recipe for target 'CMakeFiles/myProjects.dir/main.cpp.obj' failed
mingw32-make.exe[3]: *** [CMakeFiles/myProjects.dir/main.cpp.obj] Error 1
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/myProjects.dir/all' failed
mingw32-make.exe[2]: *** [CMakeFiles/myProjects.dir/all] Error 2
mingw32-make.exe[1]: *** [CMakeFiles/myProjects.dir/rule] Error 2
CMakeFiles\Makefile2:78: recipe for target 'CMakeFiles/myProjects.dir/rule' failed
mingw32-make.exe: *** [myProjects] Error 2
Makefile:117: recipe for target 'myProjects' failed

0 个答案:

没有答案