UltraVNC——build
来源:互联网 发布:java float 大小 编辑:程序博客网 时间:2024/05/16 17:59
- 安装:汇编编译器nasm和DirectX SDK (June 2010)(SDK安装出错的话http://my.oschina.net/szm/blog/52039)
- 下载源代码:UltraVNC
- VS打开源码中的winvnc工程,会导入所有工程,删除如图所示的工程(对一般使用没有影响)
- winvnc->右键->属性->配置属性->vc++目录,在包含目录和库目录中添加directX SDK的include和lib目录(解决:fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory)
- 把nasm安装目录(C:\Users\用户名\AppData\Local\nasm)下的nasm和ndisasm文件复制到vs安装目录下的\VC\bin中(我的是:D:\Tools\vs2010\VC\bin)(解决:nasm编译出错)
- 对项目中所有工程:右键->属性->配置属性->常规中的平台工具集修改为v100或v90,或者安装intel的开发工具Intel C++ Compiler XE 12.0(解决:error MSB8008: 指定的平台工具集(Intel C++ Compiler XE 12.0)未安装或无效)
- 运行成功!
----------------------------------------------------------我是风格线----------------------------------------------------
编译出问题->直接编译release版就木有问题了
https://forum.ultravnc.net/viewtopic.php?f=3&t=29242
1>------ Build started: Project: winvnc, Configuration: Debug Win32 ------
1>Performing Pre-Link Event...
1>buildtime.cpp
1>Linking...
1>vncclient.obj : error LNK2019: unresolved external symbol _compress referenced in function "protected: int __thiscall vncClient::SendCacheZip(class std::vector<struct rfb::Rect,class std::allocator<struct rfb::Rect> > const &)" (?SendCacheZip@vncClient@@IAEHABV?$vector@URect@rfb@@V?$allocator@URect@rfb@@@std@@@std@@@Z)
1>vncEncodeZlib.obj : error LNK2001: unresolved external symbol _compress
1>vncclient.obj : error LNK2019: unresolved external symbol _adler32 referenced in function "public: int __thiscall vncClient::GenerateFileChecksums(void *,char *,int)" (?GenerateFileChecksums@vncClient@@QAEHPAXPADH@Z)
1>vncclient.obj : error LNK2019: unresolved external symbol _uncompress referenced in function "public: bool __thiscall vncClient::ReceiveFileChunk(int,int)" (?ReceiveFileChunk@vncClient@@QAE_NHH@Z)
1>vncEncodeTight.obj : error LNK2019: unresolved external symbol _deflateEnd referenced in function "public: virtual __thiscall vncEncodeTight::~vncEncodeTight(void)" (??1vncEncodeTight@@UAE@XZ)
1>vncEncodeZlib.obj : error LNK2001: unresolved external symbol _deflateEnd
1>vncEncodeZlibHex.obj : error LNK2001: unresolved external symbol _deflateEnd
1>rdr.lib(ZlibOutStream.obj) : error LNK2001: unresolved external symbol _deflateEnd
1>vncEncodeTight.obj : error LNK2019: unresolved external symbol _deflate referenced in function "protected: int __thiscall vncEncodeTight::CompressData(unsigned char *,int,int,int,int)" (?CompressData@vncEncodeTight@@IAEHPAEHHHH@Z)
1>vncEncodeZlib.obj : error LNK2001: unresolved external symbol _deflate
1>vncEncodeZlibHex.obj : error LNK2001: unresolved external symbol _deflate
1>rdr.lib(ZlibOutStream.obj) : error LNK2001: unresolved external symbol _deflate
1>vncEncodeTight.obj : error LNK2019: unresolved external symbol _deflateParams referenced in function "protected: int __thiscall vncEncodeTight::CompressData(unsigned char *,int,int,int,int)" (?CompressData@vncEncodeTight@@IAEHPAEHHHH@Z)
1>vncEncodeTight.obj : error LNK2019: unresolved external symbol _deflateInit2_ referenced in function "protected: int __thiscall vncEncodeTight::CompressData(unsigned char *,int,int,int,int)" (?CompressData@vncEncodeTight@@IAEHPAEHHHH@Z)
1>vncEncodeZlib.obj : error LNK2001: unresolved external symbol _deflateInit2_
1>vncEncodeZlibHex.obj : error LNK2001: unresolved external symbol _deflateInit2_
1>rdr.lib(ZlibInStream.obj) : error LNK2019: unresolved external symbol _inflateInit_ referenced in function "public: __thiscall rdr::ZlibInStream::ZlibInStream(int)" (??0ZlibInStream@rdr@@QAE@H@Z)
1>rdr.lib(ZlibInStream.obj) : error LNK2019: unresolved external symbol _inflateEnd referenced in function "public: virtual __thiscall rdr::ZlibInStream::~ZlibInStream(void)" (??1ZlibInStream@rdr@@UAE@XZ)
1>rdr.lib(ZlibInStream.obj) : error LNK2019: unresolved external symbol _inflate referenced in function "private: void __thiscall rdr::ZlibInStream::decompress(void)" (?decompress@ZlibInStream@rdr@@AAEXXZ)
1>rdr.lib(ZlibOutStream.obj) : error LNK2019: unresolved external symbol _deflateInit_ referenced in function "public: __thiscall rdr::ZlibOutStream::ZlibOutStream(class rdr::OutStream *,int,int)" (??0ZlibOutStream@rdr@@QAE@PAVOutStream@1@HH@Z)
1>.\..\Debug/winvnc.exe : fatal error LNK1120: 11 unresolved externals
1>Build log was saved at "file://e:\dev\ultraVNC\UltraVNC Project Root\UltraVNC\winvnc\Debug\BuildLog.htm"
1>winvnc - 21 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 9 up-to-date, 0 skipped ==========
https://forum.ultravnc.net/viewtopic.php?f=3&t=29242
1>------ Build started: Project: winvnc, Configuration: Debug Win32 ------
1>Performing Pre-Link Event...
1>buildtime.cpp
1>Linking...
1>vncclient.obj : error LNK2019: unresolved external symbol _compress referenced in function "protected: int __thiscall vncClient::SendCacheZip(class std::vector<struct rfb::Rect,class std::allocator<struct rfb::Rect> > const &)" (?SendCacheZip@vncClient@@IAEHABV?$vector@URect@rfb@@V?$allocator@URect@rfb@@@std@@@std@@@Z)
1>vncEncodeZlib.obj : error LNK2001: unresolved external symbol _compress
1>vncclient.obj : error LNK2019: unresolved external symbol _adler32 referenced in function "public: int __thiscall vncClient::GenerateFileChecksums(void *,char *,int)" (?GenerateFileChecksums@vncClient@@QAEHPAXPADH@Z)
1>vncclient.obj : error LNK2019: unresolved external symbol _uncompress referenced in function "public: bool __thiscall vncClient::ReceiveFileChunk(int,int)" (?ReceiveFileChunk@vncClient@@QAE_NHH@Z)
1>vncEncodeTight.obj : error LNK2019: unresolved external symbol _deflateEnd referenced in function "public: virtual __thiscall vncEncodeTight::~vncEncodeTight(void)" (??1vncEncodeTight@@UAE@XZ)
1>vncEncodeZlib.obj : error LNK2001: unresolved external symbol _deflateEnd
1>vncEncodeZlibHex.obj : error LNK2001: unresolved external symbol _deflateEnd
1>rdr.lib(ZlibOutStream.obj) : error LNK2001: unresolved external symbol _deflateEnd
1>vncEncodeTight.obj : error LNK2019: unresolved external symbol _deflate referenced in function "protected: int __thiscall vncEncodeTight::CompressData(unsigned char *,int,int,int,int)" (?CompressData@vncEncodeTight@@IAEHPAEHHHH@Z)
1>vncEncodeZlib.obj : error LNK2001: unresolved external symbol _deflate
1>vncEncodeZlibHex.obj : error LNK2001: unresolved external symbol _deflate
1>rdr.lib(ZlibOutStream.obj) : error LNK2001: unresolved external symbol _deflate
1>vncEncodeTight.obj : error LNK2019: unresolved external symbol _deflateParams referenced in function "protected: int __thiscall vncEncodeTight::CompressData(unsigned char *,int,int,int,int)" (?CompressData@vncEncodeTight@@IAEHPAEHHHH@Z)
1>vncEncodeTight.obj : error LNK2019: unresolved external symbol _deflateInit2_ referenced in function "protected: int __thiscall vncEncodeTight::CompressData(unsigned char *,int,int,int,int)" (?CompressData@vncEncodeTight@@IAEHPAEHHHH@Z)
1>vncEncodeZlib.obj : error LNK2001: unresolved external symbol _deflateInit2_
1>vncEncodeZlibHex.obj : error LNK2001: unresolved external symbol _deflateInit2_
1>rdr.lib(ZlibInStream.obj) : error LNK2019: unresolved external symbol _inflateInit_ referenced in function "public: __thiscall rdr::ZlibInStream::ZlibInStream(int)" (??0ZlibInStream@rdr@@QAE@H@Z)
1>rdr.lib(ZlibInStream.obj) : error LNK2019: unresolved external symbol _inflateEnd referenced in function "public: virtual __thiscall rdr::ZlibInStream::~ZlibInStream(void)" (??1ZlibInStream@rdr@@UAE@XZ)
1>rdr.lib(ZlibInStream.obj) : error LNK2019: unresolved external symbol _inflate referenced in function "private: void __thiscall rdr::ZlibInStream::decompress(void)" (?decompress@ZlibInStream@rdr@@AAEXXZ)
1>rdr.lib(ZlibOutStream.obj) : error LNK2019: unresolved external symbol _deflateInit_ referenced in function "public: __thiscall rdr::ZlibOutStream::ZlibOutStream(class rdr::OutStream *,int,int)" (??0ZlibOutStream@rdr@@QAE@PAVOutStream@1@HH@Z)
1>.\..\Debug/winvnc.exe : fatal error LNK1120: 11 unresolved externals
1>Build log was saved at "file://e:\dev\ultraVNC\UltraVNC Project Root\UltraVNC\winvnc\Debug\BuildLog.htm"
1>winvnc - 21 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 9 up-to-date, 0 skipped ==========
- UltraVNC——build
- UltraVNC——环境搭建
- UltraVNC学习
- 在vs2005编译UltraVNC
- UltraVNC源码结构
- UltraVNC源码编译运行
- build.xml——demo
- UltraVNC 使用时候发现的问题
- 一种UltraVNC反向连接方式的使用
- UltraVNC(TightVNC、WinVNC)源码分析文档
- 设计模式之——build
- poj2004——Mix and Build
- VS2003/VS2005——BUILD编译
- Android——build.prop 解析
- Build模式——自由扩展
- android基础——Build.VERSION.SDK_INT
- gem5学习4——Build System
- 编译——source build/envsetup.sh
- 我的 ISAP 模板
- Google:爬行、索引和排名
- Matlab的内存问题
- newlisp dotimes循环 与 整数格式化成字符串
- Android动态生成控件居中显示
- UltraVNC——build
- Latex插图笔记
- 算法笔记之 拓扑排序 POJ 2585(Window Pains)
- Android实现网络多线程断点续传下载
- Latex中的插图心得
- 关于VS2005 unicode字符集环境
- 关于内部类的解释
- 抽出1个小时制作一款简单的物理小游戏(绳子原理)
- C#重绘TabControl的Tabpage标签,添加图片及关闭按钮