Guide to compile leviathan


at the begenning i started by downloading and installing the prerequisites linked here:

then i went there:
aftet installing all the prerequisites made a folder called “bulding_thrive” and went there clicked in (Shift + right click)
then clicked on “open command window here” and typed “git clone
cd Thrive” when it finished typed “git checkout engine_refactor” to switch to engine_refactor bransh (when the engine switch is done you will not need to do this)
then typed “ruby SetupThrive.rb thrive” when it asked me for options typed “Y” waited until it finished compiling and
it asked me for password typed “thrive” waited until thrive compiled and done.

note:after compiling boost go to Enviroment Variables then user Variables click new and for name Type "BOOST_ROOT"
for path type the installation folder of boost location (not thrive but boost :smiley: ) then click new again and for name
type “BOOST_HOME” for path the installation folder of boost location then click ok.

note:i enconterd tons of bugs and errors i did not mentioned here becuase nearly all of them have been ironed out
and i do not remember most of them :smiley: .


so far so good.Thanks for this thread by the way


you are welcome :smiley:


Okay, im here to add some stuff:
A: If boost complains about a mismatch between 32 bit and 64 bit versions while compiling, make sure to use the visual studio 64 bit command prompt and add architecture=x86 to the list of arguments (alongside address-model=64)
After compiling you will see it compiled the 64 bit dlls, this is good.

Also, do not skip any steps under any circumstances, if cmake complains about not finding visual studio 2017 download a new version of cmake, also stick to 64 bit binaries for all the pre-reques!

B. In addition to the boost path variable mentioned on the setup page, also add an environment variable path for boost_home with the same variable data, also stack overflow is your friend.

C. Remember to install ruby gems

there we go :stuck_out_tongue:


I highly doubt that this is required. As the FindBoost.cmake file should check both of the environment variables.


It would be really excellent if somebody put together an installer… It appears that a lot of new people (including myself) are joining and a quick (or at least easy to use) set-up tool would make getting started much easier.


I searched for a bit and putting together an installer for the prerequisites isn’t as easy as for the library dependencies (which are now setup automatically). Because the installer would have to somehow run: RubyInstaller, visual studio 2017 install and check the right boxes there (not sure if this is even possible), install cygwin with a specific package list (this seems to be the most possible, cygwin also needs to be added to path, install 7zip and add it to path, download and unzip boost and open the right version of visual studio 2017 command prompt and run the setup for it.

And if any of these change we need to update the installer. So the best I can think of is having people manually install ruby and then run one script which would install the rest of the gems, download the hopefully up to date installers for everything and start them.


I’d imagine that there is a way to do it (I doubt it’d be easy), but I wouldn’t think it’d have to be too high of a priority. Perhaps this is newbie of me, but the things that proved the most difficult to figure out were figuring which version/edition of certain requirements to download, or if that didn’t matter, and figuring out the right method of compiling the boost libraries. Also when compiling the game on VS, you have to select a specific compiling method (is that the right terminology?), ie you can’t use the default debug. If we’re interested in providing a way for potential programmers to start contributing without having to join the development forum, perhaps we should create an in-depth guide on the community forum that includes many potential problems that might come up and how to solve them (I think someone might have already suggested that, if so, I guess I’m just repeating the idea).