Open project in Microsoft Visual Studio → build program in “Release” mode
If running x64 GWB, you need to build as a x64 program. Install Visual Studio x64 tools on your computer then select x64 project configuration.
To check, right-click on project → Properties Make sure the correct directories point to GWB’s install location.
To find your GWB files, add GWB installation directory to your “Path” environment variable... … or add the installation directory to your Visual Studio project.
Tell Visual Studio where to locate the library and its header file by adding the path to the “src” folder in the GWB installation directory. C/C++ → General
Linker → General
Add GWB library to list of libraries your project is dependent on (“Linker” → “Input” options).
Build your project by clicking on “Build” menu → Build solution.
To run, click Debug → Start Without Debugging Note: You cannot run the GWB library with the debugger attached. To use the debugging option, attach debugger after the program has started.