ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I came across this error as well when trying to compile the vision_opencv package. The fix is on line 325 where it defines the 'dims' variable as a lont int.
long int dims[] = {mat.rows, mat.cols, mat.channels()};
Change that to an int so it reads
int dims[] = {mat.rows, mat.cols, mat.channels()};
and it should compile without issue.