I read all include, kernel-headers, and camera folder, but I didn't find nothing to wrong. Do you thing I should delete these folders and try to build like that?
Code:
Import includes file: /home/a/l/out/target/product/p720/obj/SHARED_LIBRARIES/libcamera_client_intermediates/import_includes
target thumb C++: libcamera_client <= frameworks/av/camera/Camera.cpp
target thumb C++: libcamera_client <= frameworks/av/camera/CameraMetadata.cpp
target thumb C++: libcamera_client <= frameworks/av/camera/CameraParameters.cpp
target thumb C++: libcamera_client <= frameworks/av/camera/CaptureResult.cpp
target thumb C++: libcamera_client <= frameworks/av/camera/CameraParameters2.cpp
target thumb C++: libcamera_client <= frameworks/av/camera/ICamera.cpp
target thumb C++: libcamera_client <= frameworks/av/camera/ICameraClient.cpp
frameworks/av/camera/ICameraClient.cpp: In member function 'virtual void android::BpCameraClient::notifyCallback(int32_t, int32_t, int32_t)':
frameworks/av/camera/ICameraClient.cpp:49:63: error: 'CAMERA_FRAME_DATA_FD' was not declared in this scope
if ((msgType == CAMERA_MSG_PREVIEW_FRAME) && (ext1 == CAMERA_FRAME_DATA_FD)) {
^
frameworks/av/camera/ICameraClient.cpp: In member function 'virtual android::status_t android::BnCameraClient::onTransact(uint32_t, const android::Parcel&, android::Parcel*, uint32_t)':
frameworks/av/camera/ICameraClient.cpp:101:67: error: 'CAMERA_FRAME_DATA_FD' was not declared in this scope
if ((msgType == CAMERA_MSG_PREVIEW_FRAME) && (ext1 == CAMERA_FRAME_DATA_FD)) {
^
make: *** [/home/a/l/out/target/product/p720/obj/SHARED_LIBRARIES/libcamera_client_intermediates/ICameraClient.o] Error 1
#### make failed to build some targets (16:24 (mm:ss)) ####