• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

ROMs Error while building CyanogenMod 12.1

CheeryLee

Lurker
Oct 18, 2015
1
0
Hello everyone!
I try to compile CyanogenMod 12.1 on my Samsung Galaxy Note 10.1. But when I compile the code i get an error:
Code:
In file included from frameworks/av/services/camera/libcameraservice/CameraService.h:26:0,
                 from frameworks/av/services/camera/libcameraservice/CameraDeviceFactory.cpp:21:
hardware/libhardware/include/hardware/camera.h:65:9: error: 'camera_frame_metadata_t' has not been declared
         camera_frame_metadata_t *metadata, void *user);
         ^
In file included from frameworks/av/include/camera/Camera.h:23:0,
                 from frameworks/av/include/camera/ICamera.h:25,
                 from frameworks/av/services/camera/libcameraservice/CameraService.h:28,
                 from frameworks/av/services/camera/libcameraservice/CameraDeviceFactory.cpp:21:
frameworks/av/include/camera/ICameraClient.h:39:42: error: 'camera_frame_metadata_t' has not been declared
                                          camera_frame_metadata_t *metadata) = 0;
                                          ^
In file included from frameworks/av/include/camera/ICamera.h:25:0,
                 from frameworks/av/services/camera/libcameraservice/CameraService.h:28,
                 from frameworks/av/services/camera/libcameraservice/CameraDeviceFactory.cpp:21:
frameworks/av/include/camera/Camera.h:42:27: error: 'camera_frame_metadata_t' has not been declared
                           camera_frame_metadata_t *metadata) = 0;
                           ^
frameworks/av/include/camera/Camera.h:149:38: error: 'camera_frame_metadata_t' has not been declared
                                      camera_frame_metadata_t *metadata);
                                      ^
What is it? The 'camera_frame_metadata_t' definition can be found in system/core/include/system/camera.h. How to solve this problem?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones