码迷,mamicode.com
首页 > 其他好文 > 详细

tightvnc 2.7.10 vs2008 编译

时间:2014-12-11 20:51:48      阅读:275      评论:0      收藏:0      [点我收藏+]

标签:windows   visual c++   开源工程   学习   

tightvnc版本:2.7.10

编译工具IDE:VS2008

系统环境:Win7-32/64都编译过

库文件依赖:Windows Kits 下载链接:http://pan.baidu.com/s/1bnEmioJ

源代码链接:http://download.csdn.net/detail/lonelyrains/8249559

配置说明:


BUILDING TIGHTVNC VERSION 2.7
  
Requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
For building, Windows Software Development Kit (SDK) for Windows 8
is required.
  
Building
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Two versions of the MS Visual Studio are supported. Choose the one
of these files in the TightVNC distribution root folder and compile
the source code.


  * MS Visual C++ 2010 (tightvnc2010.sln)
  * MS Visual C++ 2008 (tightvnc.sln)
  
Building in Visual Studio 2008
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
Before building, go to Tools -> Options -> Configuration Properties ->
VC++ Directories. Replace the default values given below.


Make sure to change x86 for x64 if you are targeting 64-bit systems.
Here, the default location of Windows SDK is used (if you installed it
in another location replace its path as well). --- 指的是 Windows Kits, 不是 Windows SDK


  1. Choose Executable Directories and replace ‘$(WindowsSdkDir)bin‘
  with ‘$(ProgramFiles)\Windows Kits\8.0\bin\x86‘
  
  2. Choose Include Directories and add ‘$(ProgramFiles)\Windows Kits\8.0\Include\um;$(ProgramFiles)\Windows Kits\8.0\Include\shared‘
  at the beginning. Remove ‘$(WindowsSdkDir)include‘.
  
  3. Choose Library Directories and replace ‘$(WindowsSdkDir)lib‘ with
  ‘$(ProgramFiles)\Windows Kits\8.0\lib\win8\um\x86‘.
  
  4. Choose Exclude Directories and replace ‘$(WindowsSdkDir)include‘
  with ‘$(ProgramFiles)\Windows Kits\8.0\Include\um;$(ProgramFiles)\
  Windows Kits\8.0\Include\shared‘


如果提示 __RPC__in_xcount(size)等未定义,需要把windows kits对应的头文件包含顺序上移,优先包含

bubuko.com,布布扣



tightvnc 2.7.10 vs2008 编译

标签:windows   visual c++   开源工程   学习   

原文地址:http://blog.csdn.net/lonelyrains/article/details/41871615

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!