Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build it with ndk-build #2

Open
jiaochuandong opened this issue Feb 2, 2018 · 2 comments
Open

how to build it with ndk-build #2

jiaochuandong opened this issue Feb 2, 2018 · 2 comments

Comments

@jiaochuandong
Copy link

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

@hyperb1iss
Copy link
Owner

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.

@laowangsir
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants