奇怪的问题,75平台, 哪位达人知道是啥原因?
时间:10-02
整理:3721RD
点击:
奇怪的问题,75平台, 哪位达人知道是啥原因?
prebuilt/linux-x86/toolchain/ARM-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/my_android/obj/SHARED_LIBRARIES/libCAMERAcustom_intermediates/common/hal/imgsensor/sensorlist.o: in function NSFeature::YUVSensorInfo<1541u>::GetDefaultData(CAMERA_DATA_TYPE_ENUM, void*, unsigned int):mediatek/source//external/mhal/src/custom/inc/camera_custom_sensor.h:123: error: undefined reference to 'NSFeature::YUVSensorInfo<1541u>::GetInstance()'
php?mod=tag&id=6090" target="_blank" class="relatedlink">Frameworks/base/include/utils/Log.h:
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/my_android/obj/SHARED_LIBRARIES/libcameracustom_intermediates/common/hal/imgsensor/sensorlist.o: in function SensorList:sensorlist.cpp(.data.rel.SensorList+0x24): error: undefined reference to 'NSFeature::YUVSensorInfo<1541u>::GetInstance()'
prebuilt/linux-x86/toolchain/ARM-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/my_android/obj/SHARED_LIBRARIES/libCAMERAcustom_intermediates/common/hal/imgsensor/sensorlist.o: in function NSFeature::YUVSensorInfo<1541u>::GetDefaultData(CAMERA_DATA_TYPE_ENUM, void*, unsigned int):mediatek/source//external/mhal/src/custom/inc/camera_custom_sensor.h:123: error: undefined reference to 'NSFeature::YUVSensorInfo<1541u>::GetInstance()'
php?mod=tag&id=6090" target="_blank" class="relatedlink">Frameworks/base/include/utils/Log.h:
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/my_android/obj/SHARED_LIBRARIES/libcameracustom_intermediates/common/hal/imgsensor/sensorlist.o: in function SensorList:sensorlist.cpp(.data.rel.SensorList+0x24): error: undefined reference to 'NSFeature::YUVSensorInfo<1541u>::GetInstance()'
camera驱动没加全
sensorlist.cpp 中,加入RAW_INFO()与YUV_INFO()是否弄错了啊?YUV的对应后者,RAW对应前者。我记得有次合代码时,添加这个地方,报过类似的错,就是因为搞错了。
更换摄像头配置要new
找到了,是这个原因! 3Q!