Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Setup Development Environment

Cory Thomas edited this page Mar 25, 2015 · 1 revision

Guide for setting up a development environment and building the project.

Requirements

Steps

  1. Download the latest UDT version 4.11 build
  2. Extract the UDT zip
  • e.g. C:\Users\*Username*\Documents\Visual Studio 2010\Projects\udt.sdk.4.11.win32\udt4
  1. Open the udt solution
  • The solution and project files are in the win directory of the zip file
  • Convert the solution to VS2010 as necessary
  1. Change the project to build a static lib. This makes deployment simpler versus a dll.
  • Open udt project properties
  • Select All Configurations
  • Under Configuration Properties => General, set Configuration Type to Static library
  • In udt.h, comment out the UDT_API definition
//#ifdef UDT_EXPORTS
//   #define UDT_API __declspec(dllexport)
//#else
//   #define UDT_API __declspec(dllimport)
//#endif
#define UDT_API
  • Add an x64 configuration
  1. Pull the Udt.Net source code
  • git clone [email protected]:dump247/udt-net.git "C:\Users\*Username*\Documents\Visual Studio 2010\Projects\UdtNet"
  1. Set the path to udt in UdtProtocol.vcxproj
<PropertyGroup>
 <UdtHome>..\..\udt.sdk.4.11.win32\udt4</UdtHome>
</PropertyGroup>
  1. Update the path to the udt.vcxproj project file in UdtProtocol.sln
  2. Install the NuGet dependency packages
  • In the solution directory, run NuGet-Install.bat

Building Signed Libs

Clone this wiki locally