Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Compiling ultravnc 1.0.9.x on Visual Studio 2008

Post Reply
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Compiling ultravnc 1.0.9.x on Visual Studio 2008

Post by redge »

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
Post Reply