src/dummy.h:28:29: fatal error: pgmodelerplugin.h: No such file or directory #19

Open
opened 2021-11-09 20:15:49 +00:00 by pematt · 3 comments
pematt commented 2021-11-09 20:15:49 +00:00 (Migrated from github.com)

Bug description
I get the error message below when comping pgModeler. I have compiled earlier versions without problems, eg 0.9.3.

Reproduce

export QT_ROOT=/usr/lib/qt5
export INSTALLATION_ROOT=~/code/pgmodeler/bin/0.9.4-beta1
mkdir -pv $INSTALLATION_ROOT
cd ~/code/pgmodeler
git clone https://github.com/pgmodeler/pgmodeler.git
cd pgmodeler
git pull
git checkout v0.9.4-beta1
git clone https://github.com/pgmodeler/plugins
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/
qmake -r CONFIG+=release \
PREFIX=$INSTALLATION_ROOT \
BINDIR=$INSTALLATION_ROOT \
PRIVATEBINDIR=$INSTALLATION_ROOT \
PRIVATELIBDIR=$INSTALLATION_ROOT/lib \
pgmodeler.pro
make

Error message

In file included from src/dummy.cpp:19:0:
src/dummy.h:28:29: fatal error: pgmodelerplugin.h: No such file or directory
compilation terminated.

Info about your desktop

  • OS: Ubuntu 20.04
  • pgModeler version: 0.9.4-beta1
  • Qt version: 5
**Bug description** I get the error message below when comping pgModeler. I have compiled earlier versions without problems, eg 0.9.3. **Reproduce** ``` export QT_ROOT=/usr/lib/qt5 export INSTALLATION_ROOT=~/code/pgmodeler/bin/0.9.4-beta1 mkdir -pv $INSTALLATION_ROOT cd ~/code/pgmodeler git clone https://github.com/pgmodeler/pgmodeler.git cd pgmodeler git pull git checkout v0.9.4-beta1 git clone https://github.com/pgmodeler/plugins export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/ qmake -r CONFIG+=release \ PREFIX=$INSTALLATION_ROOT \ BINDIR=$INSTALLATION_ROOT \ PRIVATEBINDIR=$INSTALLATION_ROOT \ PRIVATELIBDIR=$INSTALLATION_ROOT/lib \ pgmodeler.pro make ``` **Error message** ``` In file included from src/dummy.cpp:19:0: src/dummy.h:28:29: fatal error: pgmodelerplugin.h: No such file or directory compilation terminated. ``` **Info about your desktop** - OS: Ubuntu 20.04 - pgModeler version: 0.9.4-beta1 - Qt version: 5
rkhaotix commented 2021-11-12 17:16:33 +00:00 (Migrated from github.com)

Use the plugin's code from branch develop, please.

Use the plugin's code from branch ```develop```, please.
exeze commented 2021-11-13 15:54:00 +00:00 (Migrated from github.com)

Thank you very much, that solved it!

For else with the same problem just go into the plugins directory and type git checkout develop.

Thank you very much, that solved it! For else with the same problem just go into the plugins directory and type `git checkout develop`.
andrwo commented 2023-04-25 09:33:24 +00:00 (Migrated from github.com)

Hi, I am having a similar error trying to make with both main and develop branches (as of 25 Apr 2023):

In file included from src/sampleplugin.cpp:19:
src/sampleplugin.h:28:10: fatal error: pgmodelerplugin.h: No such file or directory
28 | #include "pgmodelerplugin.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.

Anyone can help please?

Hi, I am having a similar error trying to make with both main and develop branches (as of 25 Apr 2023): In file included from src/sampleplugin.cpp:19: src/sampleplugin.h:28:10: fatal error: pgmodelerplugin.h: No such file or directory 28 | #include "pgmodelerplugin.h" | ^~~~~~~~~~~~~~~~~~~ compilation terminated. Anyone can help please?
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#19
No description provided.