So, I started all over again, and after cloning libpd, I noticed that the provided Makefile was different. Lo and behold, now it compiles without errors. Maybe someone updated something during the night, or maybe I just happened to delete something before.
I want to use the java bindings of libpd in eclipse, and eclipse is now complaining about not finding pdnative.dll for windows x86_64. I can't find pdnative.dll either by manually searching in libpd's directory. Again, any ideas about what could be done to solve this?
On an unrelated note, I'd love to actually build the whole thing instead of only the java bindings, but there I am stuck with undefined references to "clone_class" and "match_class". I am not familiar with makefiles at all, and haven't thus changed anything in them. Ideas?
I am trying to build with msys2 like this:
make clean javalib
which results in an error:
fatal error: jni.h: No such file or directory
This file should be somewhere, but isn't found. Have I missed some steps to do beforehand?
Thanks for your time
edit: this was easily solved by being a bit more explicit in the makefile as to where the JDK is on the computer. Not ideal, but works for me. Now I have another problem, exactly the same that i describe in the second post.