droidVncServer icon indicating copy to clipboard operation
droidVncServer copied to clipboard

wrapper library build failure

Open giridhart opened this issue 12 years ago • 5 comments

Hi,

I tried building wrapper libs using following commands from (README). -------------- Compile Wrapper libs ----------------- $ cd <aosp_folder> $ . build/envsetup.sh $ lunch $ ln -s /nativeMethods/ external/

To build: $ cd external/nativeMethods $ mm . $ cd $ ./updateExecsAndLibs.sh

mm . Build failied with unable to find include files.

include <surfaceflinger/ISurfaceComposer.h>

include <surfaceflinger/SurfaceComposerClient.h>

I'm trying to build this with latest ASOP.

I'm complete noob,, could someone help me.

Regards.

giridhart avatar Dec 08 '12 16:12 giridhart

You don't need to compile the wrapper lib for this source code to work fine. I am not clearly understand about the wrapper libs, but I think the author had built it for us? I just do ndk-build for the jni and do ./updateExecsAndLibs.sh to generate the .so file. Then the code can be run on Eclipes.

hyhjcjy avatar May 08 '13 10:05 hyhjcjy

I did ndk-build and then tried ./updateExecsAndLibs.sh, i am able to genarate the libandroidvncserver.so file ,when i run the project in eclipse i am getting the error "could not start server ",i think have to build the wrapper libs too.. ?

maheshsompalli avatar May 14 '14 06:05 maheshsompalli

Me too in the chaos.... Any Helping Hands.....? is this really a developer can built droid-vnc-server native libraries( flinger and gralloc wrapper libs) or which is author specific ?

My error message when try to build the droid-vnc-server( contained in nativeMethods) woth AOSP master branch:

PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=5.1.51 TARGET_PRODUCT=aosp_arm TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=x86_64 HOST_OS=darwin HOST_OS_EXTRA=Darwin-13.4.0-x86_64-i386-64bit HOST_BUILD_TYPE=release BUILD_ID=AOSP

OUT_DIR=out

make: *** No rule to make target out/target/product/generic/obj/STATIC_LIBRARIES/libunwind_llvm_intermediates/libunwind_llvm.a', needed byout/target/product/generic/obj/SHARED_LIBRARIES/libdvnc_flinger_sdk22_intermediates/LINKED/libdvnc_flinger_sdk22.so'. Stop.

and one more doubt for building vnc wrapper libs ( flinger and gralloc) AOSP master branch needs atleast one total building or module specfic build is fine...?

kumarmani avatar Jun 01 '15 10:06 kumarmani

high version(>=android4.2) AOSP,should include <gui/ISurfaceComposer.h> <gui/SurfaceComposerClient.h>

coffemate avatar Oct 21 '17 05:10 coffemate

but i think it's not necessary to build wrapper library,nativeMethods/libs/ has provided it

coffemate avatar Oct 21 '17 05:10 coffemate