Compiling minetest 0.3.1?

User avatar
azekill_DIABLO
Member
 
Posts: 7450
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Compiling minetest 0.3.1?

by azekill_DIABLO » Mon Jul 17, 2017 16:35

oh thank you for trying! i relised that after 0.4 i can compile like i want so thanks, i solved my problems!
 

User avatar
azekill_DIABLO
Member
 
Posts: 7450
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
stormchaser3000
Member
 
Posts: 417
Joined: Sun Oct 06, 2013 21:02
GitHub: stormchaser3000

Re: Compiling minetest 0.3.1?

by stormchaser3000 » Sat Jan 06, 2018 13:57

i managed to compile 0.3.1 on manjaro linux by installing gcc43 from the AUR and then compiling minetest 0.3.1 against irrlicht 1.7.3 using gcc 4.3. there is also apparently an issue where it is neccissary to change filesys.cpp adding "#include <unistd.h>" (without quotes)

there is an odd glitch that i seem to get in both minetest 0.3.1 and voxelands (which is based on minetest 0.3.1) with the wield item for some reason but i am sure there is a fix for it.

Main Menu:
Image

Ingame:
Image
 

User avatar
azekill_DIABLO
Member
 
Posts: 7450
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Compiling minetest 0.3.1?

by azekill_DIABLO » Sat Jan 06, 2018 14:58

wow, thank you! will try that! (actually, you should also try with Irrlicht 1.7.2, i think this should solve the wielditem bug!)
 

User avatar
Enrikoo
Member
 
Posts: 393
Joined: Thu Nov 16, 2017 18:18
Location: Germany
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko
 

User avatar
azekill_DIABLO
Member
 
Posts: 7450
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Compiling minetest 0.3.1?

by azekill_DIABLO » Sat Jan 06, 2018 19:55

Enrikoo wrote:I don't think if this is windows, i don't use linux.


programming is better on linux anyway. Linux is better in all way :)
 

User avatar
azekill_DIABLO
Member
 
Posts: 7450
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Compiling minetest 0.3.1?

by azekill_DIABLO » Fri Jun 29, 2018 14:31

wes wrote:I tried to compile it myself and I also failed.

The README gives these instructions:
Install dependencies. Here's an example for Debian/Ubuntu:
$ apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev

Download source, extract (this is the URL to the latest of source repository, which might not work at all times):
$ wget https://github.com/celeron55/minetest/tarball/master -O master.tar.gz
$ tar xf master.tar.gz
$ cd celeron55-minetest-286edd4 (or similar)

Build a version that runs directly from the source directory:
$ cmake . -DRUN_IN_PLACE=1
$ make -j2

Run it:
$ cd bin
$ ./minetest


When I run
Code: Select all
apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev

Everthing works, but I get
Package libpng12-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source


When I run CMake, I don't get any errors, but finally, when I run make, I get compiler errors
Code: Select all
minetest-0.3.1/src/inventory.h:586:18: error: call of overloaded ‘stoi(std::__cxx11::string&)’ is ambiguous

It didn't even get as far yours did.
The error doesn't look related to my libpeng12-dev package problem either.
I don't know what to tell you.

After experiments, I finally hit the same barrier as you. It's a problem with GCC version; it may have been different in the past.
 

Previous

Return to Builds



Who is online

Users browsing this forum: No registered users and 10 guests