Parsing problem in native code

asked 2013-12-11 15:02:50 -0500

Xeverus gravatar image

Maybe it's more JNI or configuration problem than OpenCV but... My Eclipse shows error when i'm trying to do sth like this:

// let say that i have a vector like this:
std::vector<Point2f> someVec(/*init vector or sth...*/);

and i want to read a field or whatever like this:

someVec[0].x = 10;

but then Eclipse cry that it's error. On the other hand I can do sth like this and now Eclipse doesn't see any problem:

Point2f& p = someVec[0];
p.x = 10;

Have ever had similar problem maybe?

edit retag flag offensive close merge delete