Voxelands Forum

The official Voxelands discussion forum

You are not logged in.

#1 2018-03-28 00:40:50

Oblivious
Member
Registered: 2018-03-28
Posts: 1

Do I have to compile?

I'm just trying to figure out how installing Voxelands works. I'm not a programmer at all, and the idea of compiling anything terrifies me. Can someone clarify that there isn't a way I can simply download it for windows without having to do anything tricky?

I just got Minetest, and it's so easy to download, unzip, and stick in the right place. I like the look of Voxelands better, but it scares me. What should I do?

Offline

#2 Yesterday 05:59:48

jonathan
Member
Registered: 2017-12-29
Posts: 3

Re: Do I have to compile?

It's nothing to be afraid of, really! The instructions are in the README.TXT file. It's a little bit of work, but it's worth it! I'm assuming you're using a Debian-based distro like Ubuntu or Mint.

Download the tarball, from https://gitlab.com/voxelands/voxelands/ … ve.tar.bz2. I personally extract this kind of thing to a folder I've created in my home folder, called /bin. Then I rename the folder to simply voxelands-master.

Once it's extracted, you have to open a command shell and cd to ~/bin/voxelands-master.

Execute the directions in the README.TXT:

cmake -DRUN_IN_PLACE=1 .

Use copy-paste so that you don't fudge anything, like the space and period at the end of the line!

If it pops up errors like what I got:
-- IRRLICHT_SOURCE_DIR =
-- IRRLICHT_INCLUDE_DIR = IRRLICHT_INCLUDE_DIR-NOTFOUND
-- IRRLICHT_LIBRARY = IRRLICHT_LIBRARY-NOTFOUND
-- Could NOT find IRRLICHT (missing: IRRLICHT_LIBRARY IRRLICHT_INCLUDE_DIR)
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so 
-- Could NOT find VORBIS (missing: OGG_INCLUDE_DIR VORBIS_INCLUDE_DIR OGG_LIBRARY VORBIS_LIBRARY VORBISFILE_LIBRARY)
-- Sound enabled, but Vorbis libraries not found!
CMake Error at src/CMakeLists.txt:55 (message):
  Sound enabled, but cannot be used.

  To continue, either fill in the required paths or disable sound.
  (-DENABLE_AUDIO=0)

-- Configuring incomplete, errors occurred!

Looks terrible, but DON'T PANIC.

It means you don't have some of the necessary libraries installed which is a simple case of typing the following at the command prompt:

sudo apt install build-essential libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev

run the cmake command as above again, and then, if no errors:

make -j3

It should compile now without errors, and then you just cd to the ~/bin/voxelands-master/bin/ folder, and type the following at the command prompt:

./voxelands

Last edited by jonathan (Yesterday 06:18:49)

Offline

Board footer

Powered by FluxBB