I have a project that includes both java, c++ and opencv. If I start eclipse and clean and compile my procect then everything compiles ok. I know that the C++ parts are compiling because if I first delete my ".so" file from libs/armeabi-v7a, then the ".so" file will appear again as soon as I click build. But then If I view the c++ source file in eclipse, I see loads of errors being marked by little red bugs down the left hand side of my code. For example next to "using namespace std:" It reports "symbol std could not be resolved". The project can now no longer be built or run (until I close eclipse and start it again - making sure not to view the C++ source).
What is causing this?
EDIT: there was a similar question asked nearly a year ago which had a work around (not a true solution). A comment read "the on-the-fly code analyzer for Android gcc in Eclipse seems to be not mature yet." - is that still the case one year on?