Installing the Eigen Library in Visual C ++ 2010

How to install the Eigen library in Visual C ++ 2010? I downloaded the library from eigen.tuxfamily

But I do not know how to install it in Visual C ++. I want to run the program that I downloaded, and it has the following:

#include <Eigen/Core>
using namespace Eigen;

How can i do this? I tried to watch online, but it seems like I'm confused. Can someone explain to me how I can do this?

+5
source share
2 answers

Eigen is basically a header-only library. All you need to do is add the Eigen path to (MSVC2010):

Project PropertiesC / C ++GeneralAdditional Link Directories

, Core C:/folder1/folder2/Eigen/, :

C:/folder1/folder2/Eigen/Core

, C:/folder1/folder2 Include.

+10

:

"Eigen?

Eigen, Eigen (. wiki ). , Eigen , Eigen. . CMake -.

...

. , , , Eigen. , Eigen, include.

, .

+3

All Articles