hyperb1iss/vncflinger

how to build it with ndk-build

Opened this issue · 2 comments

Hi cyanogen,
I have a problem when I build it.

ndk-build
Android NDK: WARNING: Unsupported source file extensions in /home/git/Public/jni/Android.mk for module vncflinger
Android NDK: aidl/org/chemlab/IVNCService.aidl
[armeabi] Compile++ thumb: vncflinger <= InputDevice.cpp
/home/git/Public/jni/src/InputDevice.cpp:19:23: fatal error: utils/Log.h: No such file or directory
#include <utils/Log.h>
^
compilation terminated.
make: *** [/home/git/Public/obj/local/armeabi/objs/vncflinger/src/InputDevice.o] Error 1

How to import utils or other include files?

Thanks
chuandong

I've only built this thus far along side AOSP, it's possible that I'm using APIs that aren't part of the NDK. I'll see if I can't get it going this week.

The two project cannot be built in NDK environment ,they are built as android externals

  1. download tigervnc , https://github.com/cyanogen/tigervnc
  2. unzip tigervnc and vncflinger in android(AOSP) directory/external/
  3. build all ASOP project
  4. enter external/tigervnc ,execute mm (compile current directory)
  5. enter external/vncflinger, execute mm (compile current directory)