Compiling ultravnc 1.0.9.x on Visual Studio 2008

Find help for Frequently Asked Questions here - please look here first before posting an already answered question.

Compiling ultravnc 1.0.9.x on Visual Studio 2008

Postby redge » 2011-04-24 23:01

Compiling ultravnc 1.0.9.x on Visual Studio 2008


Just in case somebody has troubles compiling the project here is what I've done:

1) Install NASM from http://www.nasm.us/

2) Add NASM to your path by opening Visual Studio Command prompt and execute Code:


path = %PATH%;<path_to_nasm_install_dir>





3) Open ./zlib-1.2.5/contrib/vstudio/vc9/zlibstat.vcproj in a text editor.
3.1) Change every line stating Code:


InheritedPropertySheets="C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCProjectDefaults\UpgradeFromVC70.vsprops"




to Code:


InheritedPropertySheets="UpgradeFromVC70.vsprops"





4) Open ./winvnc/winvnc2008.sln in VisualStudio 2008

4.1) Open Properties for zlibstat project.

4.2) Browse to Configuration Properties->C/C++->Preprocesor and in the preprocesor defines remove ZLIB_WINAPI

This way I got it to compile under Visual Studio 2008.


hint post of shadowfax
just replaced 1.0.9.5 by 1.0.9.x
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
Super-Mod
Super-Mod
 
Posts: 6815
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Return to FAQ

Who is online

Users browsing this forum: No registered users and 1 guest