plugins icon indicating copy to clipboard operation
plugins copied to clipboard

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

Open pematt opened this issue 4 years ago • 3 comments

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

pematt avatar Nov 09 '21 20:11 pematt

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

rkhaotix avatar Nov 12 '21 17:11 rkhaotix

Thank you very much, that solved it!

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

exeze avatar Nov 13 '21 15:11 exeze

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?

andrwo avatar Apr 25 '23 09:04 andrwo