TightVNC on VS2015 compile from source code

613 Views Asked by At

I am trying to compile the TightVNC from the source code.

Here is my system details:

  • Windows 10
  • SDK 8.1

When i build the project it throw error about the folder or file not found. I try to install and include the files but it won't worked.

sidenote: I am not a C++ developer, i have to compile it from source code.

TightVNC Error while building from soruce

Thanks in advance.

1

There are 1 best solutions below

0
Muhammad Asif Javed On

The error

RC1015 can't open include file afxres.h

seems to generate from project because it requires the header file from MFC. As far as I understand, visual studio 2015 default setup does not install Visual C++ MFC package. Therefore you need to modify the Visual Studio 2015 setup and add the MFC.

Please close VS2015 and Go To

Control Panel->Programs and Features->

Microsoft Visual Studio <Professional/Enterprise>->

Change->Modify->Add Microsoft Foundation Classes

enter image description here

Then re-open visual studio 2015 and re-build the solution.