can't compile with pgmodeler 0.9.4-beta #17

Open
opened 2021-10-18 14:02:29 +00:00 by masavini · 6 comments
masavini commented 2021-10-18 14:02:29 +00:00 (Migrated from github.com)
make[1]: Leaving directory '/usr/local/src/pgmodeler-0.9.4-beta/libs/libgui'
cd plugins/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /usr/local/src/pgmodeler-0.9.4-beta/plugins/plugins.pro CONFIG+=release ) && make -f Makefile 
make[1]: Entering directory '/usr/local/src/pgmodeler-0.9.4-beta/plugins'
cd dummy/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /usr/local/src/pgmodeler-0.9.4-beta/plugins/dummy/dummy.pro CONFIG+=release ) && make -f Makefile 
make[2]: Entering directory '/usr/local/src/pgmodeler-0.9.4-beta/plugins/dummy'
g++ -c -pipe -O2 -std=gnu++1y -D_REENTRANT -Wall -W -fPIC -DBUILDNUM=\"\" -DBUILDDATE=\"20211018\" -DBINDIR=\"/usr/local/bin\" -DPLUGINSDIR=\"/usr/local/lib/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/local/bin\" -DCONFDIR=\"/usr/local/share/pgmodeler/conf\" -DDOCDIR=\"/usr/local/share/pgmodeler\" -DLANGDIR=\"/usr/local/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/local/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/local/share/pgmodeler/schemas\" -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/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libpgmodeler_ui -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libpgmodeler_ui/src -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libobjrenderer/src -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libpgconnector/src -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libpgmodeler/src -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libparsers/src -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libutils/src -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 -isystem /usr/include/libdrm -isystem /usr/include/postgresql -isystem /usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o obj/dummy.o src/dummy.cpp
In file included from src/dummy.cpp:19:
src/dummy.h:28:10: fatal error: pgmodelerplugin.h: No such file or directory
 #include "pgmodelerplugin.h"
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:420: obj/dummy.o] Error 1
make[2]: Leaving directory '/usr/local/src/pgmodeler-0.9.4-beta/plugins/dummy'
make[1]: Leaving directory '/usr/local/src/pgmodeler-0.9.4-beta/plugins'
make[1]: *** [Makefile:47: sub-dummy-make_first-ordered] Error 2
make: *** [Makefile:313: sub-plugins-make_first-ordered] Error 2
``` make[1]: Leaving directory '/usr/local/src/pgmodeler-0.9.4-beta/libs/libgui' cd plugins/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /usr/local/src/pgmodeler-0.9.4-beta/plugins/plugins.pro CONFIG+=release ) && make -f Makefile make[1]: Entering directory '/usr/local/src/pgmodeler-0.9.4-beta/plugins' cd dummy/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /usr/local/src/pgmodeler-0.9.4-beta/plugins/dummy/dummy.pro CONFIG+=release ) && make -f Makefile make[2]: Entering directory '/usr/local/src/pgmodeler-0.9.4-beta/plugins/dummy' g++ -c -pipe -O2 -std=gnu++1y -D_REENTRANT -Wall -W -fPIC -DBUILDNUM=\"\" -DBUILDDATE=\"20211018\" -DBINDIR=\"/usr/local/bin\" -DPLUGINSDIR=\"/usr/local/lib/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/local/bin\" -DCONFDIR=\"/usr/local/share/pgmodeler/conf\" -DDOCDIR=\"/usr/local/share/pgmodeler\" -DLANGDIR=\"/usr/local/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/local/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/local/share/pgmodeler/schemas\" -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/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libpgmodeler_ui -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libpgmodeler_ui/src -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libobjrenderer/src -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libpgconnector/src -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libpgmodeler/src -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libparsers/src -I/usr/local/src/pgmodeler-0.9.4-beta/plugins/../libutils/src -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 -isystem /usr/include/libdrm -isystem /usr/include/postgresql -isystem /usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o obj/dummy.o src/dummy.cpp In file included from src/dummy.cpp:19: src/dummy.h:28:10: fatal error: pgmodelerplugin.h: No such file or directory #include "pgmodelerplugin.h" ^~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:420: obj/dummy.o] Error 1 make[2]: Leaving directory '/usr/local/src/pgmodeler-0.9.4-beta/plugins/dummy' make[1]: Leaving directory '/usr/local/src/pgmodeler-0.9.4-beta/plugins' make[1]: *** [Makefile:47: sub-dummy-make_first-ordered] Error 2 make: *** [Makefile:313: sub-plugins-make_first-ordered] Error 2 ```
rkhaotix commented 2021-10-18 14:15:26 +00:00 (Migrated from github.com)

Here I can compile without problems. pgModeler 0.9.4-beta1 (to be released)

Do you have any other detail to provide that may help to find the problem?

Here I can compile without problems. pgModeler 0.9.4-beta1 (to be released) Do you have any other detail to provide that may help to find the problem?
masavini commented 2021-10-18 14:20:42 +00:00 (Migrated from github.com)

thanks for your reply,
i was using the latest release. later i will try checking out the beta1 tree and let you know...

thanks for your reply, i was using the latest release. later i will try checking out the beta1 tree and let you know...
rkhaotix commented 2021-10-18 14:37:29 +00:00 (Migrated from github.com)

Okay, no problem.

Try to use the branch develop of the plugins repo too.

Okay, no problem. Try to use the branch develop of the plugins repo too.
masavini commented 2021-10-18 15:28:14 +00:00 (Migrated from github.com)

checked out both 0.9.4-beta1 branch for pgmodeler and develop branch for plugins, but i got another error:

In file included from src/xml2object.h:29,
                 from src/xml2object.cpp:19:
src/xml2objectwidget.h:5:10: fatal error: syntaxhighlighter.h: No such file or directory
 #include "syntaxhighlighter.h"
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
checked out both 0.9.4-beta1 branch for pgmodeler and develop branch for plugins, but i got another error: ``` In file included from src/xml2object.h:29, from src/xml2object.cpp:19: src/xml2objectwidget.h:5:10: fatal error: syntaxhighlighter.h: No such file or directory #include "syntaxhighlighter.h" ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. ```
shujaatak commented 2021-10-19 13:10:15 +00:00 (Migrated from github.com)

@rkhaotix having same issue, I am on Ubuntu, using branch develop of the plugins and branch 0.9.4-beta1 of the pgmodeler repository:

In file included from src/xml2objectwidget.cpp:1:
src/xml2objectwidget.h:5:10: fatal error: syntaxhighlighter.h: No such file or directory
    5 | #include "syntaxhighlighter.h"
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:2429: obj/xml2objectwidget.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from src/xml2object.h:29,
                 from src/xml2object.cpp:19:
src/xml2objectwidget.h:5:10: fatal error: syntaxhighlighter.h: No such file or directory
    5 | #include "syntaxhighlighter.h"
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:2228: obj/xml2object.o] Error 1
make[2]: Leaving directory '/home/shujaat/Desktop/pgModeler/pgmodeler/plugins/xml2object'
make[1]: *** [Makefile:91: sub-xml2object-make_first-ordered] Error 2
make[1]: Leaving directory '/home/shujaat/Desktop/pgModeler/pgmodeler/plugins'
make: *** [Makefile:315: sub-plugins-make_first-ordered] Error 2
@rkhaotix having same issue, I am on **Ubuntu**, using branch **develop of the plugins** and branch **0.9.4-beta1 of the pgmodeler** repository: ``` In file included from src/xml2objectwidget.cpp:1: src/xml2objectwidget.h:5:10: fatal error: syntaxhighlighter.h: No such file or directory 5 | #include "syntaxhighlighter.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:2429: obj/xml2objectwidget.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from src/xml2object.h:29, from src/xml2object.cpp:19: src/xml2objectwidget.h:5:10: fatal error: syntaxhighlighter.h: No such file or directory 5 | #include "syntaxhighlighter.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:2228: obj/xml2object.o] Error 1 make[2]: Leaving directory '/home/shujaat/Desktop/pgModeler/pgmodeler/plugins/xml2object' make[1]: *** [Makefile:91: sub-xml2object-make_first-ordered] Error 2 make[1]: Leaving directory '/home/shujaat/Desktop/pgModeler/pgmodeler/plugins' make: *** [Makefile:315: sub-plugins-make_first-ordered] Error 2 ```
rkhaotix commented 2021-10-22 19:28:11 +00:00 (Migrated from github.com)

@shujaatak @masavini You can try to compile now. I've fixed the broken code in xml2objectwdiget.h

@shujaatak @masavini You can try to compile now. I've fixed the broken code in xml2objectwdiget.h
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pgmodeler/plugins#17
No description provided.