Complete SDK headers

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Complete SDK headers

Post by DarkDragon »

Hello,

I tried building a user library, however the SDK doesn't contain all headers anymore. Even after fixing the makefile, where the include directory is invalid, the MagicWindow example leads to the following error:
gcc -c -I/home/daniel/Programs/purebasic/sdk/c/PureLibraries -DGTK_2 `pkg-config --cflags gtk+-2.0` -DLINUX MagicWindow.c
MagicWindow.c:5:10: fatal error: Window/Gtk/Window.h: No such file or directory
5 | #include <Window/Gtk/Window.h>
I don't even rely on the Window library in my extension so I tried to build without it and came to this error:
gcc -c -I/home/daniel/Programs/purebasic/sdk/c/PureLibraries -DLINUX Iterators.c
In file included from /home/daniel/Programs/purebasic/sdk/c/PureLibraries/LinkedList/LinkedList.h:23,
from Iterators.c:5:
/home/daniel/Programs/purebasic/sdk/c/PureLibraries/PureLibrary.h:694:10: fatal error: FunctionPrototypes.h: No such file or directory
694 | #include <FunctionPrototypes.h>
| ^~~~~~~~~~~~~~~~~~~~~~
So the includes are pretty much incomplete. Can I have the full set of includes again, please?

(Using Linux, but should be for all systems of course)
bye,
Daniel