-
Notifications
You must be signed in to change notification settings - Fork 41
Building
#Getting Setup
##Install VS 2013 For this project we've been working in VS2013 and haven't tested any other build environments so can't recommend them. There is a free version of Visual Studio, the community edition, available from: https://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx just download and install it.
Note $ below refers to the root of the project so
##Installing Boost This project makes use of the popular C++ library Boost, which you'll need to download and setup. If you already have boost or want to install it to a different location follow the steps in using other directories.
- Download boost from http://www.boost.org/users/download/#live
- Unzip to
$\External so now you have $ \External\boost_1_59_0 - From a command prompt run
bootstrap.bat
- Open a Visual Studio cmd prompt ("Developer Command Prompt for VS2013") run in the directory above
- for 32 bit:
- Run
b2 link=static threading=multi runtime-link=static toolset=msvc-12.0 -j %number_of_processors%
- Place the stage\lib folder in external\boost_1_57_0\x86\
- Run
- for 64 bit:
- Run
b2 link=static threading=multi runtime-link=static toolset=msvc-12.0 address-model=64 -j %number_of_processors%
- Place the stage\lib folder in external\boost_1_57_0\x64\
- Run
##Install WebSockets++ This projects makes use of the awesome websocket library WebSocket++. If you already have WebSockets++ or want to install it to a different location follow the steps in using other directories.
- Download the source code zip for the 0.5.0 release from github https://github.com/zaphoyd/websocketpp/releases/tag/0.5.0
- Unpack the zip into
$\external so now you have $ \external\websocketpp-0.5.0
##Using other directories If you have any of the external dependencies already on your box you can use them by including their directories by:
- Open Visual Studio and the project
- Right click on the
IEDiagnosticAdapter
and chooseProperties
- In the properties dialog go to
C/C++ -> General
- On the
Additional Include Directories
choose edit - Add your directories in the new dialog
#Building Once you're setup building is as easy as opening up the solution in Visual Studio and hitting build. Build will drop the exe in the bin directory (either debug or release). Fortunately in almost all cases you only need to build and test the x86 version, because even if you run on a 64 bit installation of Windows, Internet Explorer runs its tab processes as 32 bit by default. (It is possible to change this -- and the newer Edge browser does.)
If you see and error that says "ERROR: Module could not be found. Ensure Proxy64.dll is in the same folder as IEDiagnosticsAdaptor.exe" Then you need to build 64bit. The 64 bit build will generate Proxy64.dll and place it in the same directory as IEDiagnosticsAdaptor.exe.
If you see "this project note selected to build in this configuration" then go to Build>Configuration Manager and change the selector at the top to x86.