AICP / device_xiaomi_ginkgo

1 stars 1 forks source link

frameworks/av/camera/cameraserver/main_cameraserver.cpp:20:10: fatal error: 'CameraService.h' file not found #1

Closed Jokerman1991 closed 4 years ago

Jokerman1991 commented 4 years ago

wildcard(out/target/product/ginkgo/clean_steps.mk) was changed, regenerating... [ 15% 12500/83210] //frameworks/av/camera/cameraserver:cameraserver clang++ main_cameraserver.cpp [arm] FAILED: out/soong/.intermediates/frameworks/av/camera/cameraserver/cameraserver/android_arm_armv8-a_core/obj/frameworks/av/camera/cameraserver/main_cameraserver.o PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r353983c1/bin/clang++ -c -Iframeworks/av/camera/cameraserver -mthumb -Os -fomit-frame-pointer -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -Dcompiler_offsetof=__builtin_offsetof -faddrsig -Wimplicit-fallthrough -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-zero-as-null-pointer-constant -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -msoft-float -march=armv8-a -mfloat-abi=softfp -mfpu=neon-fp-armv8 -Isystem/core/liblog/include -Isystem/core/libutils/include -Isystem/core/libbacktrace/include -Isystem/core/libsystem/include -Isystem/core/libcutils/include -Isystem/core/libprocessgroup/include -Isystem/core/base/include -Iframeworks/native/libs/nativebase/include -Iframeworks/native/libs/nativewindow/include -Ihardware/libhardware/include -Isystem/media/audio/include -Isystem/bt/types -Iframeworks/native/libs/ui/include -Iframeworks/native/libs/arect/include -Iframeworks/native/libs/math/include -Isystem/libhidl/base/include -Isystem/libhidl/transport/include -Iout/soong/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/manager/1.1/android.hidl.manager@1.1_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/manager/1.2/android.hidl.manager@1.2_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/base/1.0/android.hidl.base@1.0_genc++_headers/gen -Isystem/libhwbinder/include -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.0/android.hardware.graphics.common@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.1/android.hardware.graphics.common@1.1_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.2/android.hardware.graphics.common@1.2_genc++_headers/gen -Iframeworks/native/libs/gui/include -Iout/soong/.intermediates/hardware/interfaces/media/1.0/android.hardware.media@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/bufferqueue/1.0/android.hardware.graphics.bufferqueue@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/bufferqueue/2.0/android.hardware.graphics.bufferqueue@2.0_genc++_headers/gen -Isystem/libhidl/transport/token/1.0/utils/include -Iframeworks/native/libs/binder/include -Iout/soong/.intermediates/frameworks/native/libs/binder/libbinder/android_arm_armv8-a_core_shared/gen/aidl -Iframeworks/native/opengl/libs/EGL/include -Iframeworks/native/opengl/include -Iframeworks/native/libs/nativewindow/include-private -Iout/soong/.intermediates/hardware/interfaces/camera/common/1.0/android.hardware.camera.common@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/camera/device/1.0/android.hardware.camera.device@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/camera/device/3.2/android.hardware.camera.device@3.2_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/camera/provider/2.4/android.hardware.camera.provider@2.4_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/camera/provider/2.5/android.hardware.camera.provider@2.5_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/camera/device/3.3/android.hardware.camera.device@3.3_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/camera/device/3.4/android.hardware.camera.device@3.4_genc++_headers/gen -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Ibionic/libc/include -DLIBC_API=10000 -DLIBM_API=10000 -DLIBDL_API__=10000 -Isystem/core/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -Ilibnativehelper/include_jni -Wall -Wextra -Werror -Wno-unused-parameter -target armv7a-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -DANDROID_STRICT -fPIE -D_USING_LIBCXX -std=gnu++17 -Wsign-promo -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -Wno-gnu-include-next -fvisibility-inlines-hidden -fno-rtti -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-tautological-unsigned-zero-compare -Wno-c++98-compat-extra-semi -Wno-return-std-move-in-c++11 -MD -MF out/soong/.intermediates/frameworks/av/camera/cameraserver/cameraserver/android_arm_armv8-a_core/obj/frameworks/av/camera/cameraserver/main_cameraserver.o.d -o out/soong/.intermediates/frameworks/av/camera/cameraserver/cameraserver/android_arm_armv8-a_core/obj/frameworks/av/camera/cameraserver/main_cameraserver.o frameworks/av/camera/cameraserver/main_cameraserver.cpp frameworks/av/camera/cameraserver/main_cameraserver.cpp:20:10: fatal error: 'CameraService.h' file not found

include "CameraService.h"

     ^~~~~~~~~~~~~~~~~

1 error generated. [ 15% 12509/83210] Building Kernel Config make: Entering directory '/home/jokerman/space/aicp/kernel/xiaomi/ginkgo' make[1]: Entering directory '/home/jokerman/space/aicp/out/target/product/ginkgo/obj/KERNEL_OBJ' GEN ./Makefile #

configuration written to .config

# make[1]: Leaving directory '/home/jokerman/space/aicp/out/target/product/ginkgo/obj/KERNEL_OBJ' make: Leaving directory '/home/jokerman/space/aicp/kernel/xiaomi/ginkgo' make: Entering directory '/home/jokerman/space/aicp/kernel/xiaomi/ginkgo' make[1]: Entering directory '/home/jokerman/space/aicp/out/target/product/ginkgo/obj/KERNEL_OBJ' GEN ./Makefile scripts/kconfig/conf --savedefconfig=defconfig Kconfig make[1]: Leaving directory '/home/jokerman/space/aicp/out/target/product/ginkgo/obj/KERNEL_OBJ' make: Leaving directory '/home/jokerman/space/aicp/kernel/xiaomi/ginkgo' 17:00:52 ninja failed with: exit status 1

failed to build some targets (04:49 (mm:ss))

CameraService.h > frameworks/av/services/camera/libcameraservice/CameraService.h

Don't know why this happened.

Jokerman1991 commented 4 years ago

sorry for ignoring the readme.md(device/xiaomi/ginkgo/patches.txt):

Get display hal to work

275408/1 https://review.lineageos.org hardware/qcom-caf/sm8150/display

We're using our own camera service

101034/1 http://gerrit.aicp-rom.com vendor/aicp 101033/1 http://gerrit.aicp-rom.com frameworks/av

https://gerrit.aicp-rom.com/c/AICP/frameworks_av/+/101033 https://gerrit.aicp-rom.com/c/AICP/vendor_aicp/+/101034