Hi Gioyik,
It looks like your build is picking up the wrong version of
CameraParameters.h, one that doesn't include KEY_SUPPORTED_ISO_MODES and
KEY_ISO_MODE.
These symbols aren't part of the standard AOSP version of that file (see
http://androidxref.com/4.0.4/xref/frameworks/base/include/camera/CameraParameters.h)
so you'll need to find which repo the S3 version of the file comes from
and add that to your build.
--Mike.
On 13-01-22 07:44 PM, Gioyik wrote:
Hi
I am finishing the Porting of FirefoxOS for the S3 i9300 but now i have a
problem withe te camerawrapper, could someone help me with this, this is
the log:
b2g/libplds4.so
b2g/application.ini
b2g/libnspr4.so
target thumb C++: camera.exynos4 <=
device/samsung/i9300/camerawrapper/CameraWrapper.cpp
device/samsung/i9300/camerawrapper/CameraWrapper.cpp: In function 'char*
camera_fixup_getparams(int, const char*)':
device/samsung/i9300/camerawrapper/CameraWrapper.cpp:102: error:
'KEY_SUPPORTED_ISO_MODES' is not a member of 'android::CameraParameters'
device/samsung/i9300/camerawrapper/CameraWrapper.cpp: In function 'char*
camera_fixup_setparams(int, const char*)':
device/samsung/i9300/camerawrapper/CameraWrapper.cpp:118: error:
'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/samsung/i9300/camerawrapper/CameraWrapper.cpp:120: error:
'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/samsung/i9300/camerawrapper/CameraWrapper.cpp:122: error:
'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/samsung/i9300/camerawrapper/CameraWrapper.cpp:124: error:
'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/samsung/i9300/camerawrapper/CameraWrapper.cpp:126: error:
'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/samsung/i9300/camerawrapper/CameraWrapper.cpp: In function 'int
camera_device_open(const hw_module_t*, const char*, hw_device_t**)':
device/samsung/i9300/camerawrapper/CameraWrapper.cpp:501: warning: suggest
parentheses around assignment used as truth value
make: ***
[out/target/product/i9300/obj/SHARED_LIBRARIES/camera.exynos4_intermediates/CameraWrapper.o]
Error 1
real 3m15.729s
user 2m1.376s
sys 0m27.010s
Build failed! <
Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf
out| to clobber everything else.
This the last part for the compilation, so if someone can help me this,
could be great to finish the Port.
Thanks
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g