Registered Member
|
I have spent so many hours trying to download and install and run Eigen with my visual studio 2010 c++ project and now I finally gave up. So I'm asking you how to do it. I downloaded the zip, extracted it, moved the Eigen folder to my favorite directory, as I was told in the install text file, and then I right-clicked on properties and edited the include directory to include that favorite directory that has Eigen in it. And now I can't include the outer files, like #include <Eigen\Dense>, as is seen in the examples. I'd have to include individual files, but if I don't include all of them, the code fails to compile. So how do I fix this problem so I can include folders instead of individual files? This is very frustrating.
Here's my directory structure: Favorite_Folder\Eigen\src\Core(Eigenvalues, Jacobi, etc.) I tell visual studio include to point to Favorite_Folder. Then in my project, I say #include <Eigen\Dense> I've tried other combinations, like renaming the src folder to 'Eigen', restructuring the directory structure as: Favorite_Folder\Eigen\Core(Eigenvalues, Jacobi, etc.) Nothing works. Could you please help me? |
Registered Member
|
Notice that there is a dedicated Eigen forum:
viewforum.php?f=74 I have no idea why this is not working for you, since it seems that you are doing the right thing.
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Administrator
|
Moved into Eigen sub-forum.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi,
I am having the same problem. I have a second internal drive where I have installed Visual Studio Community 2013 and where I have copied the Eigen folder, the one from the .zip file. I have also included this path to the additional include directories option in "Project->Options->Configuration Properties -> C/C++-> General". Somehow I can NOT do "#include <Eigen/Core>" for example. I would have to include ALL files inside the Core folder, which is just crazy! Can anyone help me please!? Best Regards, Julio |
Registered users: Bing [Bot], Evergrowing, Google [Bot]