[英]Including Armadillo C++ library in a C++ project in Microsoft Visual Studio 2015
I'm trying to include the Armadillo C++ library, a linear algebra library, in a C++ project I'm working on, and I'm having a difficult time figuring out how to do so. 我正在尝试将Armadillo C ++库(一个线性代数库)包含在我正在研究的C ++项目中,但是我很难确定该怎么做。 I'm unfamiliar with how to add libraries to a project in general, so I've been searching for a resource that has step by step instructions, and the best one I could find didn't work for me ( http://codeyarns.com/2013/11/15/how-to-use-armadillo-on-windows/ ).
我通常不熟悉如何向项目中添加库,因此我一直在寻找具有逐步说明的资源,而我能找到的最好的资源对我不起作用( http:// codeyarns .com / 2013/11/15 / how-to-use-armadillo-on-windows / )。 I followed all the instructions on the web page, and Visual Studio still complains when I put
#include <armadillo>
and using namespace arma
in my code. 我遵循了网页上的所有说明,当我在代码中放入
#include <armadillo>
并using namespace arma
时,Visual Studio仍然抱怨。 Does anyone have any idea what I'm doing wrong? 有人知道我在做什么错吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.