-
-
Notifications
You must be signed in to change notification settings - Fork 196
Compilling on Windows
OTX SERVER 2.X.S.4(2-3) AND OTX SERVER 3.2+ - Require.
To compile The OTX Server on Windows, you will need:
- Visual Studio 2015 Enterprise
- Libs (libraries) 2.1
- Boost C++ libraries): 32-bit download - 64-bit download
Once you have downloaded the software listed in the step above, begin by installing Visual Studio and Boost C++ libraries. Extract "tfs-sdk-2.1" anywhere on your computer and run the file "registerenv.bat" to set the PATH environment variable for "SQK-NOBOOST", so that the compiler can find the libraries once we get to compiling the source code. Move the file "register_boost_env.bat" from "SQK-NOBOOST" to the directory where you installed Boost C++ libraries and run it there (it should be in the directory called for example: C:\local\boost_1_60_0).
If you have a Git client installed, you can clone the latest copy with this command:
CodeGit:
$ git clone https://github.com/mattyx14/otxserver.git
Source OTX Server 2:
https://github.com/mattyx14/otxserver/archive/otxserv2.zip
Source OTX Server 3:
https://github.com/mattyx14/otxserver/archive/otxserv3.zip
Find the directory msvc in the copy of The OTX Server that you downloaded, and open TheOTXServer.sln. This should launch Visual Studio, and you should be good to go.
To configure the build, navigate to Build -> Configuration Manager in the menu. A dialog should pop up where you can choose between "Release" or "Release GUI" and build, on 32-bit (Win32) or 64-bit (x64) build.
To start compiling, open the Build menu again and click on Build Solution.
If it no work for you "do not try to do this" (GOOD LOOK)
Note: This only work for OTX Server 2.XS.2+ - and OTX Server 3.1+ or TFS 1.2+