I'm trying to save a file on android, using c++, the following code always crashes:
FileStorage fs2("samples2.yml", FileStorage::WRITE);
if(fs2.isOpened()){
fs2 << "frameCount" << 5;
}
fs2.release();
And the console prints what it seems to be a pretty generic error message:
05-02 22:34:11.001: A/libc(11697): Fatal signal 11 (SIGSEGV) at 0x6d617266 (code=2), thread 11730 (AsyncTask #1)
05-02 22:34:11.081: E/BufferQueue(11697): [unnamed-11697-1] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=5 undequeudCount=1)
Is it possible to use this on android, or should I use the File class that comes with the ndk?
Thanks for your time.