Compiling Guide for Linux.

Compiling Guide for Linux.

Postby Jastiv » 01 Aug 2019, 16:18

I go ahead and download the whole thing and I haven't found any directions for compiling it.
Maybe everyone else either gets it from steam or already knows how to compile it, but not me.
User avatar
Jastiv
 
Posts: 285
Joined: 14 Mar 2011, 02:18
Location: Unitied States of America - East Coast

Re: Compiling Guide for Linux.

Postby Ntech » 01 Aug 2019, 20:03

I see that there's a "CMakeLists.txt" in the home folder of the master branch, so I assume that

a) "cd whereYouPutWyrmsun"
b) "cmake CMakeLists.txt"

Assuming you have CMake installed.
Last edited by Ntech on 02 Aug 2019, 16:39, edited 1 time in total.
Deo gratias, Ave Maria
User avatar
Ntech
 
Posts: 94
Joined: 30 May 2019, 20:40

Re: Compiling Guide for Linux.

Postby Jastiv » 01 Aug 2019, 21:25

... and I thought wograld had a terrible install process.

First of all, you don't just type cmake it is
cmake CMakeLists.txt.

so I did it for Wyrmsun, but is also needs Wyrmgus, so I tried the whole cmake CMakeLists.txt, and what do you know, but we need some obscure version of boost
Boost version: 1.65.1

Boost include path: /usr/include

Detected version of Boost is too old. Requested version was 1.69 (or
newer).
Call Stack (most recent call first):
CMakeLists.txt:793 (find_package)

so, then I have no idea where to get that and how to put it in there.
User avatar
Jastiv
 
Posts: 285
Joined: 14 Mar 2011, 02:18
Location: Unitied States of America - East Coast

Re: Compiling Guide for Linux.

Postby Ntech » 02 Aug 2019, 16:39

Hmm, sorry about the mistake with cmake (I use make).

Boost 1_65_1 can be downloaded here: https://www.boost.org/users/history/version_1_65_1.html

And if you don't want to do that yourself:

If you're on Ubuntu/Debian: "sudo apt show libboost-all-dev", and check the version. It should be 1.65.1 or above. If it is, (which it should be), do "sudo apt-get install libboost-all-dev". That should be it, and Wyrmsun should compile successfully.
Deo gratias, Ave Maria
User avatar
Ntech
 
Posts: 94
Joined: 30 May 2019, 20:40

Re: Compiling Guide for Linux.

Postby freem » 12 Aug 2019, 15:33

Jastiv {l Wrote}:I go ahead and download the whole thing and I haven't found any directions for compiling it.
Maybe everyone else either gets it from steam or already knows how to compile it, but not me.


There is a README.MD file at repo's root (https://github.com/Andrettin/Wyrmgus/bl ... /README.MD) that says there are informations about how to install in doc/install.html (https://raw.githubusercontent.com/Andre ... stall.html).

This files says (I removed most html stuff, unreadable on forums imo):

Installation
Step 1, Download and Extract:
* https://launchpad.net/stratagus : Download the source code.
* Extract the source stratagus-VERSION.tar.gz with 'tar -zxvf stratagus-VERSION.tar.gz'

Step 2, Compile:
Create 'build' directory in toplevel stratagus tree and here run:
'cmake .. && make'

Step 3: Build packages

This step is optional.
You can build debian packages by using 'debuild' directly.

Step 4, Run:

You may now go into the toplevel stratagus directory and run the binary. Remember, you have to obtain the => https://launchpad.net/stratagus game data to start the engine. By default, stratagus looks in './data', if your data is in a different location you will need to run stratagus with '-d /path_to_data'.


There are also requirements sooner, but no mention of boost, maybe the file is not up-to-date.
freem
BN Moderator
 
Posts: 106
Joined: 18 May 2015, 19:38

Who is online

Users browsing this forum: No registered users and 1 guest

cron