首页 > 代码库 > tightvnc 2.7.10 vs2008 编译
tightvnc 2.7.10 vs2008 编译
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对应的头文件包含顺序上移,优先包含
tightvnc 2.7.10 vs2008 编译