Skip to content

Error compiling 0.9.4 on Linux #20

@illuminated

Description

@illuminated

I'm trying to compile the v0.9.4 with GQB included. I have tried all combinations of main/develop branches for pgModeler and plugins, but get the same result all the time:

...
g++ -c -pipe -O2 -std=gnu++1y -D_REENTRANT -Wall -W -fPIC -DBUILDNUM=\"6715e61d4\" -DBUILDDATE=\"20220106\" -DBINDIR=\"/home/milan/Apps/pgModeler.0.9.4\" -DPLUGINSDIR=\"/home/milan/Apps/pgModeler.0.9.4/lib/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/home/milan/Apps/pgModeler.0.9.4\" -DCONFDIR=\"/home/milan/Apps/pgModeler.0.9.4/share/pgmodeler/conf\" -DDOCDIR=\"/home/milan/Apps/pgModeler.0.9.4/share/pgmodeler\" -DLANGDIR=\"/home/milan/Apps/pgModeler.0.9.4/share/pgmodeler/lang\" -DSAMPLESDIR=\"/home/milan/Apps/pgModeler.0.9.4/share/pgmodeler/samples\" -DSCHEMASDIR=\"/home/milan/Apps/pgModeler.0.9.4/share/pgmodeler/schemas\" -DGRAPHICAL_QUERY_BUILDER_JOIN_SOLVER -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../libs/libgui/src -I../../libs/libcanvas/src -I../../libs/libconnector/src -I../../libs/libcore/src -I../../libs/libparsers/src -I../../libs/libutils/src -I/home/milan/Applications/pgModeler.0.9.4/plugins/graphicalquerybuilder/../../libpgmodeler_ui -I/home/milan/Applications/pgModeler.0.9.4/plugins/graphicalquerybuilder/../../libpgmodeler_ui/src -I/home/milan/Applications/pgModeler.0.9.4/plugins/graphicalquerybuilder/../../libobjrenderer/src -I/home/milan/Applications/pgModeler.0.9.4/plugins/graphicalquerybuilder/../../libpgconnector/src -I/home/milan/Applications/pgModeler.0.9.4/plugins/graphicalquerybuilder/../../libpgmodeler/src -I/home/milan/Applications/pgModeler.0.9.4/plugins/graphicalquerybuilder/../../libparsers/src -I/home/milan/Applications/pgModeler.0.9.4/plugins/graphicalquerybuilder/../../libutils/src -Ipaal/include -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtUiTools -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/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Imoc -Isrc -isystem /usr/include/postgresql -isystem /usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o obj/graphicalquerybuilderpathwidget.o src/graphicalquerybuilderpathwidget.cpp
In file included from src/graphicalquerybuildersqlwidget.cpp:19:
src/graphicalquerybuildersqlwidget.h:29:10: fatal error: baseobjectwidget.h: No such file or directory
   29 | #include "baseobjectwidget.h"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1287: obj/graphicalquerybuildersqlwidget.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from src/graphicalquerybuildercorewidget.h:29,
                 from src/graphicalquerybuildercorewidget.cpp:19:
src/graphicalquerybuilderpathwidget.h:31:10: fatal error: pgmodelerns.h: No such file or directory
   31 | #include "pgmodelerns.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1084: obj/graphicalquerybuildercorewidget.o] Error 1
In file included from src/graphicalquerybuilderpathwidget.cpp:19:
src/graphicalquerybuilderpathwidget.h:31:10: fatal error: pgmodelerns.h: No such file or directory
   31 | #include "pgmodelerns.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1161: obj/graphicalquerybuilderpathwidget.o] Error 1
In file included from src/graphicalquerybuildercorewidget.h:29,
                 from src/graphicalquerybuilder.h:29,
                 from src/graphicalquerybuilder.cpp:19:
src/graphicalquerybuilderpathwidget.h:31:10: fatal error: pgmodelerns.h: No such file or directory
   31 | #include "pgmodelerns.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1007: obj/graphicalquerybuilder.o] Error 1
make[2]: Leaving directory '/home/milan/Applications/pgModeler.0.9.4/plugins/graphicalquerybuilder'
make[1]: *** [Makefile:135: sub-graphicalquerybuilder-make_first-ordered] Error 2
make[1]: Leaving directory '/home/milan/Applications/pgModeler.0.9.4/plugins'
make: *** [Makefile:315: sub-plugins-make_first-ordered] Error 2

Is there any way to go around the errors above?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions