Ask Your Question

arvindpereira's profile - activity

2014-04-09 11:17:17 -0500 received badge  Student (source)
2013-11-15 14:41:49 -0500 asked a question libnative_camera compilation

I am trying to build libnative_camera*.so locally on my own machine because the info-level logs in modules/androidcamera/camera_wrapper/camera_wrapper.cpp pollutes logcat.

I guess some of us might be interested in seeing the FPS during initial tests, but in a production build this turns out to be a problem. I have tried using cmake_android_all_camera.py to compile these but I am unable to build these libraries on my own computer.

I am using Ubuntu 12.04 (in a virtual machine), and have done: export ANDROID_STUB_ROOT=~/android_sources/

which is where I have the source code for Android downloaded from https://android.googlesource.com/

Does anyone know how I can go about building these libraries from scratch, or perhaps where I could get libnative_camera_*.so without the "LOGI("### Camera FPS ### [%d] Frames, %.2f FPS", mFrameCount, mFps);"?

Thanks, Arvind