pgmodeler / plugins

pgModeler plug-ins repository
21 stars 6 forks source link

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

Open pematt opened 2 years ago

pematt commented 2 years ago

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

rkhaotix commented 2 years ago

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

exeze commented 2 years ago

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 1 year ago

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?