Page 1 of 2

Compiling minetest 0.3.1?

Posted: Wed Jun 28, 2017 13:33
by azekill_DIABLO
How can i compile this version of minetst? (ON LINUX) i tried to, with the wiki's commands (which should work fine for new versions) but it doesn't work at all. There are also too many useless libs.

Re: Compiling minetest 0.3.1?

Posted: Mon Jul 03, 2017 17:42
by azekill_DIABLO
Hey?

Re: Compiling minetest 0.3.1?

Posted: Tue Jul 04, 2017 01:59
by BBmine
Um..... Don't forget about 0.4.17 :P

Re: Compiling minetest 0.3.1?

Posted: Tue Jul 04, 2017 12:01
by azekill_DIABLO
no, that serious, i really want to

Re: Compiling minetest 0.3.1?

Posted: Tue Jul 04, 2017 16:29
by BBmine
azekill_DIABLO wrote:no, that serious, i really want to
But there is no 0.3.1 yet!

Re: Compiling minetest 0.3.1?

Posted: Tue Jul 04, 2017 22:09
by ExeterDad
BBmine wrote:
azekill_DIABLO wrote:no, that serious, i really want to
But there is no 0.3.1 yet!
Nov. 9, 2011
https://github.com/minetest/minetest/tr ... c57d1a9e3a

Re: Compiling minetest 0.3.1?

Posted: Wed Jul 05, 2017 10:02
by azekill_DIABLO
oh my god thanks a lot!

Re: Compiling minetest 0.3.1?

Posted: Wed Jul 05, 2017 10:03
by azekill_DIABLO
well it seems... simple :D

Re: Compiling minetest 0.3.1?

Posted: Wed Jul 05, 2017 21:43
by BBmine
ExeterDad wrote:
BBmine wrote:
azekill_DIABLO wrote:no, that serious, i really want to
But there is no 0.3.1 yet!
Nov. 9, 2011
https://github.com/minetest/minetest/tr ... c57d1a9e3a
Oops! My bad, I thought 0.3.0 comes after 0.4.17 :P It's really 0.5.0. Sorry azekill!

Re: Compiling minetest 0.3.1?

Posted: Thu Jul 06, 2017 09:25
by azekill_DIABLO
BBmine wrote: Oops! My bad, I thought 0.3.0 comes after 0.4.17 :P It's really 0.5.0. Sorry azekill!
No problem, i know that it's hard to be lucid after eating rotten bananas!

EDIT: oh. you changed your location :P
Re- EDIT: 5006 posts?!! what?!

Re: Compiling minetest 0.3.1?

Posted: Thu Jul 06, 2017 09:58
by azekill_DIABLO
okay i followed all the steps... but at 54% of compilation i have a problematic bug:
Image
focus on the error reported in the terminal and the code: everything is similar, i don't get the problem.

Re: Compiling minetest 0.3.1?

Posted: Thu Jul 06, 2017 10:04
by azekill_DIABLO
Weird, i really don't know what i did wrong... i happens after launching the make -j2 command

Re: Compiling minetest 0.3.1?

Posted: Thu Jul 06, 2017 12:58
by BBmine
Um... Why are you using Window$ 95? :P

Re: Compiling minetest 0.3.1?

Posted: Thu Jul 06, 2017 13:28
by azekill_DIABLO
BBmine wrote:Um... Why are you using Window$ 95? :P
i'm playing with themes. its an ubuntu you know!

Re: Compiling minetest 0.3.1?

Posted: Thu Jul 06, 2017 18:45
by BBmine
azekill_DIABLO wrote:
BBmine wrote:Um... Why are you using Window$ 95? :P
i'm playing with themes. its an ubuntu you know!
It is?!?!?!??! HOw can I get that theme? :D

Re: Compiling minetest 0.3.1?

Posted: Thu Jul 06, 2017 20:25
by CWz
0.3.1 doesn't compile in newer versions of linux

Re: Compiling minetest 0.3.1?

Posted: Fri Jul 07, 2017 10:41
by azekill_DIABLO
*heavy breathing*

Re: Compiling minetest 0.3.1?

Posted: Fri Jul 07, 2017 12:46
by azekill_DIABLO
Okay, then, how do i compile this ****?

Re: Compiling minetest 0.3.1?

Posted: Fri Jul 07, 2017 19:43
by CWz
Do you have a 32 or 64 bit os?

Minetest 0.3.3 64 bit: https://d.pr/free/f/hTkP5t

Minetest 0.3.3 32 bit: https://d.pr/free/f/1zqaMo

These will probably only work for Ubuntu based Linux distros. these builds are precompiled, recompiling doesn't work.

Re: Compiling minetest 0.3.1?

Posted: Sat Jul 08, 2017 09:25
by azekill_DIABLO
CWz wrote:Do you have a 32 or 64 bit os?

Minetest 0.3.3 64 bit: https://ufile.io/vxt6q

Minetest 0.3.3 32 bit: https://ufile.io/s5c30

These will probably only work for Ubuntu based Linux distros
I have 64 bits and i will forever remember what you've done!
Image

Re: Compiling minetest 0.3.1?

Posted: Sat Jul 08, 2017 13:20
by azekill_DIABLO
As far as i got, looks fine, Cmake did fine, now let's VisualStudioCommunity it!

Re: Compiling minetest 0.3.1?

Posted: Sat Jul 08, 2017 13:31
by azekill_DIABLO
Fails lamentably. maybe i use bad tools: Which are the tools i should use?

Re: Compiling minetest 0.3.1?

Posted: Sat Jul 08, 2017 16:38
by azekill_DIABLO
demn. you meant linux. sorry.

Re: Compiling minetest 0.3.1?

Posted: Sat Jul 08, 2017 16:45
by azekill_DIABLO
It doesn't work, there are errors in the code apparently.

Re: Compiling minetest 0.3.1?

Posted: Mon Jul 17, 2017 16:06
by wes
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.