![]() Registered Member ![]()
|
I use eclipse as my IDE, and I got a bothersome error as the title said. I just install the Eigen into /usr/local/include floder by default.
Although the code works well, I am still upset with it. I switch to Code::Blocks, there is no error when compiling, however if I try to locate the 'col' method, it just can't find it. Now I use Visual studio, and it works! So any one tell me how to fix the 'parse' problem with Eclipse or Code::Blocks under linux? The code is like this: typedef std::complex<double> cd; typedef SparseVector<cd> SpVecXcd; typedef SparseMatrix<cd> SpMatXcd; SpMatXcd m1(5,5); SpVecXcd v1(5); v1.insert(2)=cd(2,3); m1.col(0)=v1; Thank you! |
![]() Moderator ![]()
|
You should rather report the error to Ecplise and Code::Blocks. It's not our problem if their parser cannot properly parse C++ template code.
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]