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 1.0.9.5 on Visual Studio 2008

Post Reply
shadowfax
40
40
Posts: 77
Joined: 2010-05-06 12:28
Location: Spain

Compiling 1.0.9.5 on Visual Studio 2008

Post by shadowfax »

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: Select all

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: Select all

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

Code: Select all

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.

Best regards
Post Reply