Comments (5)
Install cmake, navigate to $AOSP/external/droidvncdaemon/vnc/libvncserver-kanaka
Issue cmake .
Make sure you include the dot!
This will build the necessary files, then edit rfb/rfbproto.h to put a "rfb/" on the front of its include of rfbconfig.h.
You next problem may be
external/droidvncdaemon/vnc/gralloc_method.c:158: error: 'struct framebuffer_device_t' has no member named 'read'
I searched for a framebuffer_device_t with a read member and had not much luck. I commented out the references to -> read in gralloc_method and forced it to unsupported. Now it compiles and runs.
from droidvncserver.
Got the same issue. Will investigate tomorrow. One concern about "cmake .", it selects my x86 native compiler:
-- Check for working C compiler: /usr/bin/gcc
Shouldn't the ARM toolchain be provided as argument to cmake?
from droidvncserver.
I just used cmake to build required header files, after a top-level make failure. I continued with top-level make once the missing headers were in place, so the cmake toolchain is not invoked.
I guess cmake could produce the wrong shaped header when it's confused about the architecture.
from droidvncserver.
Ok, forget about the toolchain. What I mean is that running "cmake ." without argument leads it to check host libraries insteqad of android libraries. Then at build time, android tries to link with android zlib, libjpeg, ... and found that a lot of routines are missing. Check my cmake output: http://pastebin.com/5GzS7x8c It parses host libraries, that's the root cause of my build issues! Do you know what arguments I should give to cmake to fix this?
from droidvncserver.
I got things running after a clean, no cmake at all, and some tweaks summed up in this patch : http://pastebin.com/abwR4av4
from droidvncserver.
Related Issues (20)
- Android 4.4 droidVNC mouse points different location
- droidVNCserver compiled for armeabi architecture HOT 7
- ERROR! libandroidvncserver.so HOT 1
- Connect the Droid VNC Server via the Hostname HOT 1
- Does not detect root on Android 8.0 (Pixel XL) HOT 3
- unknown type name 'PixelFormatInfo'
- runing the project by Androidstudio HOT 23
- How to open Debug in this programme
- Command to stop Server HOT 1
- Add to F-Droid
- I was compiling wrapper libs for sdk25. Can anyone help with my error? HOT 1
- why i need root phone HOT 1
- How to trigger the home button?
- Recompiled via NDK for Android 7. Display is Messed Up
- droid vnc server Black Screen HOT 1
- Android 7.1 x86 doesnt work HOT 1
- Can I build nativeMethods myself? HOT 7
- Tutorial or APK ? HOT 1
- Cannot load nativemethod lib on Android 6.01
- Build failed on AndroidStudio
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from droidvncserver.