Eclipse Eigen error parsing problem [closed]

asked 2011-08-30 21:41:56 -0500

Deon Joubert gravatar image

updated 2014-01-28 17:10:19 -0500

ngrennan gravatar image

I am interested in using the Eclipse IDE to develop code in ROS. The node that I am developing uses the Eigen package. I am able to compile the node using rosmake and I am able to run it using rosrun.

I did "make eclipse" in the project directory, and succesfully imported it into Eclipse. My problem is that when I try to build the project from within Eclipse, it returns the following error:

Invalid arguments ' Candidates are: Eigen::Matrix<double,-1,-1,0,-1,-1&gt; &amp;="" setzero(?)="" eigen::matrix<double,-1,-1,0,-1,-1&gt;="" &amp;="" setzero(?,="" ?)'<="" em="">

caused by the following line:

sensed_features.setZero(1,3);

where sensed_features is a standard MatrixXd.

It seems to me that Eclipse is not able to understand Eigen's DenseIndex typedef, which is what the question marks in the error message should be reading.

How do I get Eclipse to play nice with Eigen? I am very much a newbie in using Eclipse, so don't count on me thinking of the obvious solutions.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2012-02-21 18:39:41