Photon C++ Client API: Windows

Photon C++ Client API

Photon C++ Client API  4.1.12.2
Windows

For Windows Photon supports Visual Studio as IDE.

1. In C/C++ -> General -> Additional Include Directories, add the parent-folder(s) of the following paths:
(...)/Photon-cpp/inc
(...)/Common-cpp/inc

2. At Linker -> Input -> Additional Dependencies add either Common-cpp_release_windows.lib and Photon-cpp_release_windows.lib or Common-cpp_debug_windows.lib and Photon-cpp_debug_windows.lib

3. Add the folders Photon-cpp/lib and Common-cpp/lib to Linker -> General -> Additional Library Directories

4. Add the following #include directive to your source-code:
#include "Photon-cpp/inc/PhotonPeer.h"