Compiling 1.0.9.5 on Visual Studio 2008

Compiling 1.0.9.5 on Visual Studio 2008

Postby shadowfax » 2011-04-11 14:42

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
shadowfax
40
40
 
Posts: 77
Joined: 2010-05-06 12:28
Location: Spain

Return to 1.0.9.5 (stable)

Who is online

Users browsing this forum: No registered users and 2 guests