albar965 / littlenavmap

Little Navmap is a free flight planner, navigation tool, moving map, airport search and airport information system for Flight Simulator X, Microsoft Flight Simulator 2020, Prepar3D and X-Plane.
https://albar965.github.io/littlenavmap.html
GNU General Public License v3.0
1.23k stars 161 forks source link

Building issue: class Marble::RenderPlugin' has no member named 'configDialog #1042

Closed merspieler closed 11 months ago

merspieler commented 11 months ago

We try to update our nix package of lnm but we are getting a build error:

g++ -c -pipe -Wno-deprecated-copy -Wno-deprecated -Wno-deprecated-declarations -O2 -std=gnu++1y -Wall -Wextra -D_REENTRANT -fPIC -DVERSION_NUMBER_LITTLENAVMAP=\"2.8.12\" -DGIT_REVISION_LITTLENAVMAP=\"\" -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../source -I. -I../src -I/nix/store/8v229pnmdzbqqm9k0lscscqvlzkq11xm-atools-3.8.17/include/src -I/nix/store/ja0gm1f11qn93vbnng2ygaahychbqh33-marble-v16.08.2/include -I/nix/store/x007gidng3zsxr4v2a9a6jdkd8pyl6cz-qtsvg-5.15.9-dev/include/QtSvg -I/nix/store/nxhmsgdcpc9icr5ybyav3df7m9f1qd0c-qtbase-5.15.9-dev/include/QtPrintSupport -I/nix/store/nxhmsgdcpc9icr5ybyav3df7m9f1qd0c-qtbase-5.15.9-dev/include/QtWidgets -I/nix/store/nxhmsgdcpc9icr5ybyav3df7m9f1qd0c-qtbase-5.15.9-dev/include/QtGui -I/nix/store/nxhmsgdcpc9icr5ybyav3df7m9f1qd0c-qtbase-5.15.9-dev/include/QtSql -I/nix/store/nxhmsgdcpc9icr5ybyav3df7m9f1qd0c-qtbase-5.15.9-dev/include/QtXml -I/nix/store/nxhmsgdcpc9icr5ybyav3df7m9f1qd0c-qtbase-5.15.9-dev/include/QtNetwork -I/nix/store/nxhmsgdcpc9icr5ybyav3df7m9f1qd0c-qtbase-5.15.9-dev/include/QtCore -I. -I/nix/store/lrzd40dg6f05lcrqnn3gvcaih4m3wkjh-libglvnd-1.6.0-dev/include -I. -I/nix/store/nxhmsgdcpc9icr5ybyav3df7m9f1qd0c-qtbase-5.15.9-dev/mkspecs/linux-g++ -o mappainteraltitude.o ../src/mappainter/mappainteraltitude.cpp
../src/mapgui/mapwidget.cpp: In member function 'void MapWidget::showGridConfiguration()':
../src/mapgui/mapwidget.cpp:2351:39: error: 'class Marble::RenderPlugin' has no member named 'configDialog'
 2351 |       QDialog *configDialog = plugin->configDialog();

Using following versions: lnm: tag v2.8.12 atools: tag v3.8.17 your marble fork: tag v16.08.2

albar965 commented 11 months ago

your marble fork: tag v16.08.2

You need Marble branch lnm/1.1.

merspieler commented 11 months ago

okay, with that it builds. at start we're getting now the error that it can't find the base paths for map themes in bin/data/maps/earth. I assume we now need to copy something to that path now? where do we get these themes from?

albar965 commented 11 months ago

I have a whole zoo of build files to make the releases internally: LNM and more: https://github.com/albar965/littlenavmap/tree/release/2.8/build Marble: https://github.com/albar965/marble/tree/lnm/1.1/build I think these provide some help.

About the missing base path: This is the whole folder data missing in the runtime. It is copied from littlenavmap/marble/data to $APROJECTS/deploy/Little Navmap when running make deploy in build-littlenavmap-debug or .../release.

Sorry build instructions in the Wiki are not updated yet. Planned for soon.

merspieler commented 11 months ago

thanks, figured it out

albar965 commented 11 months ago

You're welcome. :slightly_smiling_face: