forked from oerkki/voxelands
Adding libxml2 to the needed libraries and upgrade the error section
This commit is contained in:
parent
7ca1afdbd0
commit
5ef5235593
31
README.md
31
README.md
|
@ -21,6 +21,7 @@ Voxelands requires:
|
||||||
* g++ (or other C++ compiler)
|
* g++ (or other C++ compiler)
|
||||||
* bzip2
|
* bzip2
|
||||||
* jpeg
|
* jpeg
|
||||||
|
* libxml2
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
@ -28,7 +29,7 @@ Voxelands requires:
|
||||||
|
|
||||||
Install dependencies. Here's an example for Debian/Ubuntu:
|
Install dependencies. Here's an example for Debian/Ubuntu:
|
||||||
|
|
||||||
sudo apt install build-essential libirrlicht-dev cmake libbz2-dev zlib1g-dev libfreetype6-dev libpng-dev libjpeg-dev libogg-dev libvorbis-dev libopenal-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev
|
sudo apt install build-essential libirrlicht-dev cmake libbz2-dev zlib1g-dev libfreetype6-dev libpng-dev libjpeg-dev libogg-dev libvorbis-dev libopenal-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libxml2-dev
|
||||||
|
|
||||||
You can install Git for easily keeping your copy up-to-date.
|
You can install Git for easily keeping your copy up-to-date.
|
||||||
If you don’t want Git, read below on how to get the source without Git.
|
If you don’t want Git, read below on how to get the source without Git.
|
||||||
|
@ -59,6 +60,34 @@ Build a version that runs directly from the source directory:
|
||||||
- You can select between Release and Debug build by `-DCMAKE_BUILD_TYPE=<Debug or Release>`.
|
- You can select between Release and Debug build by `-DCMAKE_BUILD_TYPE=<Debug or Release>`.
|
||||||
- Debug build is slower, but gives much more useful output in a debugger.
|
- Debug build is slower, but gives much more useful output in a debugger.
|
||||||
|
|
||||||
|
### Errors
|
||||||
|
|
||||||
|
Some buildings errors are currently known. If the building occured an error, it might be one of them:
|
||||||
|
|
||||||
|
* Crash when building with translation.
|
||||||
|
|
||||||
|
**Error :**
|
||||||
|
|
||||||
|
[ 2%] Linking CXX static library libcguittfont.a
|
||||||
|
[ 2%] Built target cguittfont
|
||||||
|
make: *** [Makefile:152 : all] Erreur 2
|
||||||
|
|
||||||
|
**Git issue:** [#19](https://git.minetest.land/oerkki/voxelands/issues/19)
|
||||||
|
|
||||||
|
**Possible fixes:**
|
||||||
|
|
||||||
|
1. Change your default build language to english: (Add the `sudo` keyword for ubuntu-based devices)
|
||||||
|
apt-get install language-pack-en
|
||||||
|
dpkg-reconfigure locales
|
||||||
|
|
||||||
|
2. Delete translations files by simply deleting the `po` folder.
|
||||||
|
|
||||||
|
* The `-DRUN_IN_PLACE` CMake option doesn't work.
|
||||||
|
|
||||||
|
**Git issue:** [#19](https://git.minetest.land/oerkki/voxelands/issues/11)
|
||||||
|
|
||||||
|
This error is fixed since the version 2404 of Voxelands. If you get them, check if the dowloaded version is the good one.
|
||||||
|
|
||||||
# Use
|
# Use
|
||||||
|
|
||||||
Simply run `./bin/voxelands` from any console/terminal.
|
Simply run `./bin/voxelands` from any console/terminal.
|
||||||
|
|
Loading…
Reference in New Issue