Skip to content
Scott edited this page Jan 4, 2016 · 20 revisions

Visual Studio Development

Client.sln: Builds an application you would give to a person and tell them to run so you can connect to their computer.
Viewer.sln: Builds an application that you use to see and interact with the Client application.

Visual Studio 2015 setup

Dependencies:

wxWidgets

  • Download the latest release from here https://github.com/wxWidgets/wxWidgets/releases. Currently working with 3.0.2
  • Extract to c:\wxWidgets
  • Open the latest solution file in C:\wxWidgets\build\msw\ as of 3.0.2 the solution is wx_vc12.sln
  • Build all of the libraries in Visual studio by going to Build -> Batch Build -> Select All -> Build . . . . This will take a while while the build performs.

If you attempt to build 3.0.2 and receive a the build error
C1189 #error: Macro definition of snprintf conflicts with Standard Library function declaration
The fix is to open the file c:\wxwidgets\src\tiff\libtiff\tif_config.h, goto line 367 and replace it with the following

#if (defined(_MSC_VER) && (_MSC_VER < 1900))
  #define snprintf _snprintf
#endif
Now, batch build and the compile will succeed.

Boost

  • Download the latest release from here http://sourceforge.net/projects/boost/files/boost-binaries/ Currently working with 1.60
    For example, goto 1.60.0 folder, then download boost_1_60_0-msvc-14.0-64.exe and boost_1_60_0-msvc-14.0-32.exe
  • Install to c:\boost
Clone this wiki locally