Native c++ with Android on Eclipse - gives error on stdlib but works
===

I have been building my android app in an android eclipse environment. Building my c++ code and compiling it independantly with ndk-build. That works fine. 

I need to debug a sigsegv error which is thrown by logcat all of a sudden. 

So I switched the project in eclipse to 'add native code in android'. Now it debugs my c++ code, but gives me an error each time I use any of the std components, such as vector and so I cannot run the code since it contains errors.

The project ran fine on the previous config. I added a lib for std support I believe. 

Any idea on how I can properly debug my native code?

Thank you for the help