Registered Member
|
[UPDATE2]
/facepalm nvcc is a C compiler, so OBVIOUSLY it's not gonna work [/UPDATE2] [UPDATE] I think the problem lies with the nvcc compiler I use. This project uses CUDA which uses the GPU as a processing unit and uses the nvcc compiler to compile part of the code. In the output window I saw these errors when the nvcc compiler started compile. [/UPDATE] Hi, I'm trying to use the Eigen library for a project of mine, but I haven't succeeded in compiling the project when I use Eigen. What I did was copy the Eigen folder to the source folder of my project and add #include "../math/Eigen/Core" to a global header file that gets included by the rest of the project. I got these compiler errors:
The reason I get the same error multiple times is because I have multiple projects in my solution that include the same global header file. If I remove the include I still get the same errors, unless I clean and rebuild. These errors disappear when I remove the Eigen folder from the source folder. I made a new windows console project, copied the Eigen folder to the source folder and include Eigen/Core. That project compiles just fine and the output is correct. So I checked the compiler options for both projects and adjested them accordingly. And I still get the same errors in my existing project. Does anyone have a clue what the problem could be? |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]