oNaiPs / droidVncServer

VNC server for Android devices.
GNU General Public License v3.0
904 stars 480 forks source link

wrapper library build failure #54

Open giridhart opened 11 years ago

giridhart commented 11 years ago

Hi,

I tried building wrapper libs using following commands from (README). -------------- Compile Wrapper libs ----------------- $ cd $ . 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.

hyhjcjy commented 11 years ago

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.

maheshsompalli commented 10 years ago

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.. ?

kumarmani commented 9 years ago

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...?

coffemate commented 6 years ago

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

coffemate commented 6 years ago

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