Installation WinOS - m-unkel/OHSystem GitHub Wiki
Installation Guide - Win OS - DEPRECATED
WE NO LONGER SUPPORT WINDOWS OS, PLEASE USE A UNIX SYSTEM IF YOU WANT TO HOST WITH OHSYSTEM
Download/Install needed header, libraries & files
-
We require a boost version. Im workng always with 1.54.0+
-
download boost
http://downloads.sourceforge.net/project/boost/boost/1.54.0/boost_1_54_0.zip
-
We also require viusal studio. I suggest VS 2010 Express since it is for free and easy to use, you can download it here:
http://www.visualstudio.com/de-de/downloads/download-visual-studio-vs#DownloadFamilies_4
-
Now we need only the system, you can download it here:
https://github.com/OHSystem/ohsystem/archive/master.zip
-
-
unzip files:
- on its best move boost to a short direction like 'C:\Libraries' and unzip it there
- then rename the boost folder into 'boost', its normally named 'boost_1_XX_X'
- now unzip the system and open at ohsystem/ghost++/ghost.sln, it will be open in visual studio
-
install boost
-
After you have opened the project we need to install boost libs:
- CTRL+R -> cmd -> Enter
cd C:\Libraries\boost\
bootstrap
.\b2
-
Next we need to include the libs on the project. Go to Visual Studio 2010 and right click the solution ghost, and open the properties
- Select 'VC++ Directions'
- Add in Included Direction:
C:\Libraries\boost;$(IncludePath)
- Add also on 'Library Directions':
C:\Libraries\boost\stage\lib;
-
-
Now you can compile the whole solution. For this choose Release MySQL as property.
-
You should also compile update_stats located in 'ohsystem/ghost++/update_stats' rename the file in stats.exe and put it onto 'ohsystem/ghost++'
-
Now you can run the bot by using ghost++.exe and configurate the default.cfg