Re: Compiling minetest 0.3.1?
Posted: 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!
The official Minetest discussion board
programming is better on linux anyway. Linux is better in all way :)Enrikoo wrote:I don't think if this is windows, i don't use linux.
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.wes wrote:I tried to compile it myself and I also failed.
The README gives these instructions:When I runInstall 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
$ cd bin
$ ./minetestEverthing works, but I get
Code: Select all
apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-devWhen I run CMake, I don't get any errors, but finally, when I run make, I get compiler errorsPackage 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 sourceIt didn't even get as far yours did.
Code: Select all
minetest-0.3.1/src/inventory.h:586:18: error: call of overloaded ‘stoi(std::__cxx11::string&)’ is ambiguous
The error doesn't look related to my libpeng12-dev package problem either.
I don't know what to tell you.