Skip to content
This repository was archived by the owner on Dec 21, 2025. It is now read-only.
This repository was archived by the owner on Dec 21, 2025. It is now read-only.

I was compiling wrapper libs for sdk25. Can anyone help with my error? #135

@z3r0c00l-2k

Description

@z3r0c00l-2k
[  6% 1/15] target thumb C++: libdvnc_flinger_sdk25 <= /home/mj_jabir1/droidVncServer/nativeMethods/flinger/flinger.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I /home/mj_jabir1/droidVncServer/na
tiveMethods/flinger -I /home/mj_jabir1/droidVncServer/nativeMethods/flinger/.. -I /home/mj_jabir1/droidVncServer/nativeMethods/flinger -I out/target/product/generic/obj/SHARE
D_LIBRARIES/libdvnc_flinger_sdk25_intermediates -I out/target/product/generic/gen/SHARED_LIBRARIES/libdvnc_flinger_sdk25_intermediates -I libnativehelper/include/nativehelper
 \$(cat out/target/product/generic/obj/SHARED_LIBRARIES/libdvnc_flinger_sdk25_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include 
-isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/i
nclude -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem out/target/product/generic/obj/include -isystem bion
ic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bi
onic/libm/include -isystem bionic/libm/include/arm -c    -fno-exceptions -Wno-multichar -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-str
ong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -DANDROID -fmessag
e-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g 
-Wstrict-aliasing=2 -DNDEBUG -UDEBUG  -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-arg
ument -fcolor-diagnostics -nostdlibinc  -target arm-linux-androideabi    -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-andro
ideabi/bin    -fvisibility-inlines-hidden -Wsign-promo  -Wno-inconsistent-missing-override -nostdlibinc  -target arm-linux-androideabi   -mthumb -Os -fomit-frame-pointer -fno
-strict-aliasing  -fno-rtti -fPIC -D_USING_LIBCXX -std=gnu++14  -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast  -Werror=address-of-temporary -Werror=null-dereference
 -Werror=return-type    -MD -MF out/target/product/generic/obj/SHARED_LIBRARIES/libdvnc_flinger_sdk25_intermediates/flinger.d -o out/target/product/generic/obj/SHARED_LIBRARI
ES/libdvnc_flinger_sdk25_intermediates/flinger.o /home/mj_jabir1/droidVncServer/nativeMethods/flinger/flinger.cpp ) && (cp out/target/product/generic/obj/SHARED_LIBRARIES/lib
dvnc_flinger_sdk25_intermediates/flinger.d out/target/product/generic/obj/SHARED_LIBRARIES/libdvnc_flinger_sdk25_intermediates/flinger.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' 
-e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < out/target/product/generic/obj/SHARED_LIBRARIES/libdvnc_flinger_sdk25_intermediates/flinger.d >> out/target/product/generic/obj
/SHARED_LIBRARIES/libdvnc_flinger_sdk25_intermediates/flinger.P; rm -f out/target/product/generic/obj/SHARED_LIBRARIES/libdvnc_flinger_sdk25_intermediates/flinger.d )"-
/home/mj_jabir1/droidVncServer/nativeMethods/flinger/flinger.cpp:28:10: fatal error: 'surfaceflinger/ISurfaceComposer.h' file not found

#include <surfaceflinger/ISurfaceComposer.h>
         ^
1 error generated.
ninja: build stopped: subcommand failed.

I found the header in "./frameworks/native/include/gui/ISurfaceComposer.h" added it and ended up in more errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions