Ubuntu compiled VNC source RealVNC

Source: Internet
Author: User

First on the official website to download VNC source code, the download is a UNIX version, can also be downloaded through the link below
http://download.csdn.net/detail/guoqianqian5812/8929377 version 4.1.3
http://download.csdn.net/detail/guoqianqian5812/8929387 version 4.0
At compile time to learn to read the Readme, the above will give us the method of compiling
I compiled the version 4.1.3.
By looking at the Readme I know the first thing to common this folder, and then the UNIX under the

Go directly to the Common folder./configure, then go to common under the directory zlib, check the readme, you will see this sentence for Unix: "./configure; Make Make install, and then follow this procedure to do it.
After execution, enter common and make configure
Then go to the UNIX directory, or read the Readme first
To build everything but Xvnc, do:
48
%./configure
% make
51
Should build first some libraries-zlib, RDR, Network, Xregion, RFB an D
Tx-then Vncviewer, Vncconfig and vncpasswd. If you already has zlib
Installed on your system can run './configure--with-installed-zlib ' If you
Prefer (this was strongly advised on FreeBSD, since we ' ve been told there are
Problems otherwise).
57
Building Xvnc
59 ============= This is the compile step.
./configure--with-installed-zlib No problem
There's a problem with make.
Tcpsocket.cxx: in static member function ' static network::tcpfilter::P attern network::tcpfilter::p arsepattern (const char*) ':
TCPSOCKET.CXX:421:35: Error: ' Atoi ' has not been declared in this scope
MAKE[2]: * * [TCPSOCKET.O] Error 1
This is a very simple question. This is a header file that does not contain atoi in Tcpsocket.cxx, plus # include <stdio.h> #include <stdlib.h>.
[Email protected]:~/tt/vnc-4_1_3-unixsrc/vnc-4_1_3-unixsrc/common/network# vim Tcpsocket.cxx


Then continue make

TXIMAGE.CXX:247:62: Error: ' malloc ' has not been declared in this scope
Tximage.cxx:250:11: Error: ' Exit ' has not been declared in this scope
MAKE[1]: * * [TXIMAGE.O] Error 1
This solution is the same as the previous

Solve the problem and you can generate the executable file.

This is the final effect, you can try it yourself

Edit good file download link, ubuntu version is 12.04
http://download.csdn.net/detail/guoqianqian5812/8929495


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Ubuntu compiled VNC source RealVNC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.