Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pematt opened this issue Nov 9, 2021 · 3 comments

Comments

@pematt
Copy link

pematt commented Nov 9, 2021

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 rkhaotix transferred this issue from pgmodeler/pgmodeler Nov 12, 2021
@rkhaotix
Copy link
Member

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

@exeze
Copy link

exeze commented Nov 13, 2021

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
Copy link

andrwo commented Apr 25, 2023

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants