[solved] Minetest compiling not working?

Post Reply
User avatar
debiankaios
Member
Posts: 910
Joined: Thu Dec 03, 2020 12:48
IRC: debiankaios
In-game: debiankaios Nowe
Location: germany
Contact:

[solved] Minetest compiling not working?

by debiankaios » Post

I tried already sometimes so it look maybe not like you would think. But here is the complete terminal output:

Code: Select all

$ make -j$(nproc)
[  0%] mo update
[ 22%] Built target translations
[ 25%] Built target IRROTHEROBJ
[ 27%] Built target IRRMESHOBJ
[ 32%] Built target IRRVIDEOOBJ
[ 33%] Built target IRRIOOBJ
[ 34%] Built target IRROBJ
[ 37%] Built target IRRGUIOBJ
[ 38%] Built target IrrlichtMt
-- *** Detected Git version 5.7.0-dev-8c29c4f ***
[ 38%] Built target GenerateVersion
[ 38%] Linking CXX executable ../bin/minetest
/usr/bin/ld: CMakeFiles/minetest.dir/script/scripting_client.cpp.o: in function `ClientScripting::InitializeModApi(lua_State*, int)':
scripting_client.cpp:(.text+0xa2): undefined reference to `ModApiParticlesLocal::Initialize(lua_State*, int)'
/usr/bin/ld: CMakeFiles/minetest.dir/script/scripting_server.cpp.o: in function `ServerScripting::InitializeModApi(lua_State*, int)':
scripting_server.cpp:(.text+0x431): undefined reference to `ModApiRollback::Initialize(lua_State*, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:4539: bin/minetest] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:719: src/CMakeFiles/minetest.dir/all] Fehler 2
make: *** [Makefile:171: all] Fehler 2
there is is no bin/minetest maybe because the error? Please help
Last edited by debiankaios on Fri Aug 19, 2022 08:41, edited 1 time in total.

User avatar
cx384
Member
Posts: 653
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: Minetest compiling not working?

by cx384 » Post

solved
Last edited by cx384 on Fri Aug 19, 2022 11:25, edited 1 time in total.
Can your read this?

User avatar
Blockhead
Member
Posts: 1622
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: Minetest compiling not working?

by Blockhead » Post

  1. Run make clean before running cmake . && make again; perhaps there is a cached file issue.
  2. Make sure you have the right version of irrlichtMt checked out. >=5.6.0 need 1.9.0mt7
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
debiankaios
Member
Posts: 910
Joined: Thu Dec 03, 2020 12:48
IRC: debiankaios
In-game: debiankaios Nowe
Location: germany
Contact:

Re: Minetest compiling not working?

by debiankaios » Post

I am using devuan 4(chimaera) and installed all packages which needed. But i forgot to say that i shut my computer down while it ran and restarted process because my computer crashed because i was doing to many.

User avatar
debiankaios
Member
Posts: 910
Joined: Thu Dec 03, 2020 12:48
IRC: debiankaios
In-game: debiankaios Nowe
Location: germany
Contact:

Re: Minetest compiling not working?

by debiankaios » Post

I did what Blockhead said. Now it work. I think last time after crash anything went wrong.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests