MinetestMapperGui - Graphical userinterface for mtmapper

Pablo.R
Member
Posts: 42
Joined: Thu Mar 24, 2016 12:02
Location: Chile

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by Pablo.R » Post

I have been trying to compile it on Ubuntu 20.04, but it ends with and error. Can anybody help me?

Code: Select all

$ make
g++ -Wl,-O1 -o MinetestMapperGui main.o mainwindow.o colorlineedit.o geometry.o geometrywidget.o configdialog.o makecolors.o drawmapfigure.o drawmapfiguretablemodel.o figuredelegate.o minetestmapperexe.o colorstxtwizard.o qrc_minetestmappergui.o moc_mainwindow.o moc_colorlineedit.o moc_geometry.o moc_geometrywidget.o moc_configdialog.o moc_makecolors.o moc_drawmapfigure.o moc_drawmapfiguretablemodel.o moc_figuredelegate.o moc_minetestmapperexe.o moc_colorstxtwizard.o   /usr/lib/x86_64-linux-gnu/libQt5Widgets.so /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Core.so /usr/lib/x86_64-linux-gnu/libGL.so -lpthread   

/usr/bin/ld: main.o: en la función `main':
main.cpp:(.text.startup+0xd8): referencia a `Translator::Translator(QLocale const&)' sin definir
/usr/bin/ld: mainwindow.o: en la función `MainWindow::slotLanguageChanged(QAction*)':
mainwindow.cpp:(.text+0xcc): referencia a `Translator::setLocale(QLocale const&)' sin definir
/usr/bin/ld: mainwindow.o: en la función `MainWindow::changeEvent(QEvent*)':
mainwindow.cpp:(.text+0x696): referencia a `Translator::setLocale(QLocale const&)' sin definir
/usr/bin/ld: mainwindow.o: en la función `MainWindow::createLanguageMenu()':
mainwindow.cpp:(.text+0xdda5): referencia a `Translator::getTranslations() const' sin definir
collect2: error: ld returned 1 exit status
make: *** [Makefile:207: MinetestMapperGui] Error 1
$ 

chef trip
Member
Posts: 57
Joined: Tue May 18, 2021 03:49
GitHub: teklife
In-game: yuh

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by chef trip » Post

i'm unable to build this on Debian Linux (MX 19.4) with the instructions provided at the beginning of this thread, which was years ago, but i'd love to check out this app.

such a shame i can't get it as a package for linux, even a container like flatpak or snap or appimage or, in the repositories.
Wanting to be someone else is a waste of who you are. – Kurt Cobain

chef trip
Member
Posts: 57
Joined: Tue May 18, 2021 03:49
GitHub: teklife
In-game: yuh

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by chef trip » Post

i'm unable to build this on Debian Linux (MX 19.4) with the instructions provided at the beginning of this thread, which was years ago, but i'd love to check out this app.

such a shame i can't get it as a package for linux, even a container like flatpak or snap or appimage or, in the repositories.

Code: Select all

root@mx:/home/ss/minetestmappergui# make
/usr/lib/qt5/bin/uic mainwindow.ui -o ui_mainwindow.h
/usr/lib/qt5/bin/uic geometrywidget.ui -o ui_geometrywidget.h
/usr/lib/qt5/bin/uic configdialog.ui -o ui_configdialog.h
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o main.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mainwindow.o mainwindow.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o colorlineedit.o colorlineedit.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o geometry.o geometry.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o geometrywidget.o geometrywidget.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o configdialog.o configdialog.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o makecolors.o makecolors.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o drawmapfigure.o drawmapfigure.cpp
drawmapfigure.cpp: In constructor ‘DrawMapFigure::DrawMapFigure(const QString&, QObject*)’:
drawmapfigure.cpp:35:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 text = params.section(' ', 2);// everything after the 3rd whitespace
                        ~~~~~~~~~~~~~~^~~~~~~~
drawmapfigure.cpp:36:13: note: here
             case Point:
             ^~~~
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o drawmapfiguretablemodel.o drawmapfiguretablemodel.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o figuredelegate.o figuredelegate.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o minetestmapperexe.o minetestmapperexe.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o colorstxtwizard.o colorstxtwizard.cpp
/usr/lib/qt5/bin/rcc -name minetestmappergui minetestmappergui.qrc -o qrc_minetestmappergui.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qrc_minetestmappergui.o qrc_minetestmappergui.cpp
g++ -pipe -O2 -std=gnu++11 -Wall -W -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
/usr/lib/qt5/bin/moc -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/ss/minetestmappergui/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/ss/minetestmappergui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include mainwindow.h -o moc_mainwindow.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.cpp
/usr/lib/qt5/bin/moc -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/ss/minetestmappergui/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/ss/minetestmappergui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include colorlineedit.h -o moc_colorlineedit.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_colorlineedit.o moc_colorlineedit.cpp
/usr/lib/qt5/bin/moc -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/ss/minetestmappergui/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/ss/minetestmappergui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include geometry.h -o moc_geometry.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_geometry.o moc_geometry.cpp
/usr/lib/qt5/bin/moc -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/ss/minetestmappergui/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/ss/minetestmappergui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include geometrywidget.h -o moc_geometrywidget.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_geometrywidget.o moc_geometrywidget.cpp
/usr/lib/qt5/bin/moc -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/ss/minetestmappergui/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/ss/minetestmappergui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include configdialog.h -o moc_configdialog.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_configdialog.o moc_configdialog.cpp
/usr/lib/qt5/bin/moc -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/ss/minetestmappergui/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/ss/minetestmappergui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include makecolors.h -o moc_makecolors.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_makecolors.o moc_makecolors.cpp
/usr/lib/qt5/bin/moc -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/ss/minetestmappergui/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/ss/minetestmappergui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include drawmapfigure.h -o moc_drawmapfigure.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_drawmapfigure.o moc_drawmapfigure.cpp
/usr/lib/qt5/bin/moc -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/ss/minetestmappergui/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/ss/minetestmappergui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include drawmapfiguretablemodel.h -o moc_drawmapfiguretablemodel.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_drawmapfiguretablemodel.o moc_drawmapfiguretablemodel.cpp
/usr/lib/qt5/bin/moc -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/ss/minetestmappergui/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/ss/minetestmappergui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include figuredelegate.h -o moc_figuredelegate.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_figuredelegate.o moc_figuredelegate.cpp
/usr/lib/qt5/bin/moc -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/ss/minetestmappergui/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/ss/minetestmappergui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include minetestmapperexe.h -o moc_minetestmapperexe.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_minetestmapperexe.o moc_minetestmapperexe.cpp
/usr/lib/qt5/bin/moc -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/ss/minetestmappergui/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/ss/minetestmappergui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include colorstxtwizard.h -o moc_colorstxtwizard.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION=\"0.8.0.3.14f9a27\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_colorstxtwizard.o moc_colorstxtwizard.cpp
g++ -Wl,-O1 -o MinetestMapperGui main.o mainwindow.o colorlineedit.o geometry.o geometrywidget.o configdialog.o makecolors.o drawmapfigure.o drawmapfiguretablemodel.o figuredelegate.o minetestmapperexe.o colorstxtwizard.o qrc_minetestmappergui.o moc_mainwindow.o moc_colorlineedit.o moc_geometry.o moc_geometrywidget.o moc_configdialog.o moc_makecolors.o moc_drawmapfigure.o moc_drawmapfiguretablemodel.o moc_figuredelegate.o moc_minetestmapperexe.o moc_colorstxtwizard.o   -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread 
/usr/bin/ld: main.o: in function `main':
main.cpp:(.text.startup+0xc0): undefined reference to `Translator::Translator(QLocale const&)'
/usr/bin/ld: mainwindow.o: in function `MainWindow::slotLanguageChanged(QAction*)':
mainwindow.cpp:(.text+0xb9): undefined reference to `Translator::setLocale(QLocale const&)'
/usr/bin/ld: mainwindow.o: in function `MainWindow::changeEvent(QEvent*)':
mainwindow.cpp:(.text+0x5c8): undefined reference to `Translator::setLocale(QLocale const&)'
/usr/bin/ld: mainwindow.o: in function `MainWindow::createLanguageMenu()':
mainwindow.cpp:(.text+0xb50e): undefined reference to `Translator::getTranslations() const'
collect2: error: ld returned 1 exit status
make: *** [Makefile:206: MinetestMapperGui] Error 1
Wanting to be someone else is a waste of who you are. – Kurt Cobain

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

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by Blockhead » Post

I'm sorry to come bearing bad news...

There are a compounding number of reasons as to why this is fragile and out of date software:
  1. The MinetestMapperGui.pro needs a small update to enable the QTranslator functionaltiy. This is where I started investigating. The patch is as follows:

    Code: Select all

    diff --git a/MinetestMapperGui.pro b/MinetestMapperGui.pro
    index 9257c9d..d2d1260 100644
    --- a/MinetestMapperGui.pro
    +++ b/MinetestMapperGui.pro
    @@ -29,6 +29,7 @@ SOURCES += main.cpp\
         figuredelegate.cpp \
         minetestmapperexe.cpp \
         colorstxtwizard.cpp \
    +    translator.cpp \
     
     
     HEADERS  += mainwindow.h \
    @@ -42,6 +43,7 @@ HEADERS  += mainwindow.h \
         figuredelegate.h \
         minetestmapperexe.h \
         colorstxtwizard.h \
    +    translator.h \
    
  2. It relies on a specific and unmaintained command-line version of MinetestMapper by Rogier5 - which lives here. This version has a range of differences which are not in the official Minetest project version, like --version, --drawalpha=[cumulative|cumulative-darken|average] and everything under the "Draw figures tab" in this GUI program.
  3. This older Rogier5 version does not support the zstd map compression format/map block version 29, which is now used in every world in Minetest 5.5.0. The official minetestmapper does. The code has significantly diverged and I can't simply use git format-patch and git am to simply merge these changes in.
  4. Even if I try to disable the use of Rogier5 version features to try to get a 'minimum working version', and point it at the official minetestmapper version, it still tells me the minetestmapper process crashed, and I'm really struggling to understand how to begin debugging that - strace doesn't even show it spawning a process with something like fork() or system(). Qt QProcess (which is what MinetestMapperGui uses to invoke the command line version) is not straightforward.
I can only recommend this program if you still have 0.4.x worlds which might still work inside this program, or if someone comes out with a fixed version of the Minetestmapper CLI component. Opinion zone: The official Minetestmapper command line version works just fine, and it's not that scary.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
Contmotore
New member
Posts: 2
Joined: Mon Jan 22, 2024 16:06
GitHub: Contmotore
In-game: Contmotore

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by Contmotore » Post

Just started delving into Minetest and made a server. Came across this program, but I'm getting errors. I tried my Mineclone2 World and I just created a Minetest Test World, but I'm getting the same error.

Anyone know how to fix this?

Image

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

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by Blockhead » Post

Contmotore wrote:
Tue Jan 23, 2024 18:51
Just started delving into Minetest and made a server. Came across this program, but I'm getting errors. I tried my Mineclone2 World and I just created a Minetest Test World, but I'm getting the same error.

Anyone know how to fix this?

-snip-
Use the command-line version. This project hasn't been updated since 2019 and won't work with the latest Minetest anyway. Details are in my previous post in the thread..
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
Contmotore
New member
Posts: 2
Joined: Mon Jan 22, 2024 16:06
GitHub: Contmotore
In-game: Contmotore

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by Contmotore » Post

Blockhead wrote:
Wed Jan 24, 2024 12:26
Use the command-line version. This project hasn't been updated since 2019 and won't work with the latest Minetest anyway. Details are in my previous post in the thread..
Alright, thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests