Building Plugin, out of tree, produces error.
Trying to build C plugin (or anything uses libide), out of tree, produces errors. So I cannot build (and write) custom plugin in C (and thus C++ and vala...)
ide-version.hstates "Only <ide.h> can be included directly." but it seems that no
ide-foundry-compat.h. But the file does not seems to be installed.
Note: This is very first errors that I encounted. There might be more errors.
[wissle@localhost ~]$ gcc -fPIC --shared `PKG_CONFIG_PATH=/usr/lib64/gnome-builder/pkgconfig pkg-config --cflags --libs gnome-builder-3.36 libpeas-1.0` -o some_plugin.so some_plugin.c In file included from /usr/include/gnome-builder-3.36/libide/core/ide-version-macros.h:25, from /usr/include/gnome-builder-3.36/libide/core/ide-object.h:29, from /usr/include/gnome-builder-3.36/libide/core/ide-context.h:27, from /usr/include/gnome-builder-3.36/libide/core/libide-core.h:27, from some_plugin.h:7, from some_plugin.c:1: /usr/include/gnome-builder-3.36/libide/core/ide-version.h:23:3: error: #error "Only <ide.h> can be included directly." 23 | # error "Only <ide.h> can be included directly." | ^~~~~