Comments (5)
Could you please let me know on the step by step process to compile the
libandroidvncserver.so from the source code?
Original comment by [email protected]
on 9 Feb 2011 at 10:25
from android-vnc-server.
I edit this file :Android.mk for androidvncserver .At last code, edit it to be
:included $(BUILD_SHARED_LIBRARY)
also edit the name after compiled:LOCAL_MODLE:libandroidvncserver.
And also edit the file:Android.mk for jpeg in external.edit it to be :included
$(BUILD_STATIC_LIBRARY)
Then change the function "int main(int argc, char **argv)" to be "void start()"
in fbvncserver.c.
Compiled, There will be a file libandroidvncserver.so.
I want to use a android app to call this SO using NDK. But failed.I seems only
root can open it.
Do you have any suggestion?
Original comment by [email protected]
on 12 Feb 2011 at 2:47
from android-vnc-server.
Thank you for the input. There are two external libraries that are needed (zlib
and jpeg). I got the source code and build the corresponding library for jpeg.
I copied the same to <project_home>/external/jpeg and compiled using ndk-build.
However, I get a lot of error messages as shown below. Did you come across
these errors and do you know how to fix them? I have attached the header file
for reference. I would appreciate any help.
.
.
.
external/jpeg/jpeglib.h:848: error: expected ')' before '(' token
external/jpeg/jpeglib.h: In function 'EXTERN':
external/jpeg/jpeglib.h:928: error: expected declaration specifiers before
'jpeg_std_error'
external/jpeg/jpeglib.h:944: error: expected declaration specifiers before
'EXTERN'
external/jpeg/jpeglib.h:946: error: expected declaration specifiers before
'EXTERN'
.
.
.
Original comment by [email protected]
on 15 Feb 2011 at 12:00
Attachments:
from android-vnc-server.
Please ignore my previous comment(#3). I had overlooked including some header
files. Now that issue is fixed. However, I now have another problem. I compiled
the libz.so and when I use ndk-build to create the libandroidvncserver.so, I
get the following error.
libz.so: file not recognized: File format not recognized
How did you compile/obtain the libz.so library?
Original comment by [email protected]
on 16 Feb 2011 at 6:09
from android-vnc-server.
I was able to compile the libandroidvncserver.so but facing the same issue of
"cannot open fb device /dev/graphics/fb0".
Looks like the android apps do not have access to kernel drivers and hence the
permissions issue.
Were you able to solve the problem?
Original comment by [email protected]
on 18 Feb 2011 at 7:13
from android-vnc-server.
Related Issues (20)
- cannot work on Moto Atrix
- [PATCH] Running on Samsung Charge HOT 1
- getting half the screen with greenish shade HOT 1
- issue with keyboad or mouse events updation on client side
- Missing defines in the SVN project: build is broken at keysym2scancode (can't find KEY_SOFT1, KEY_SOFT2, KEY_CENTER etc.) HOT 1
- Moving mouse causes delayed framebuffer update on client
- Can't create virtual keyboard and mouse
- how to compile the android-vnc-server source code ? please
- How to complie it on mips-ics source
- Remote Control
- Compile error with android 2.3.4
- couldn't start server
- show the IPv6 address in ICS 4.0
- can't start server on milestone2
- no mouse on mini-PC
- ndk-build error HOT 1
- Return application
- Does not work on EMATIC EGL26BL
- Android Vnc Server
- vnc server not work: Width (1366) is not a multiple of 4 HOT 3
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 android-vnc-server.