bytedeco/javacpp

OpenBSD support

Open

#785 opened on Oct 30, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (4,279 stars) (620 forks)batch import
enhancementhelp wanted

Description

Good morning day evening whenever you are reading this.

JavaCPP is a dependency of Jaylib (https://github.com/electronstudio/jaylib), which I use in my games.

With Linux becoming more and more bloated I would like to switch to something simpler, with OpenBSD being the best available option.

Jaylib doesn't ship with OpenBSD natives, so I though of building it myself.

The build script (build_java.sh) uses JavaCPP to autogenerate bindings.

And, JavaCPP said:

"Nothing targetted for ../gen/com/raylib/Raylib.java"

After browsing javacpp.jar for a while I found a directory with configurations and noticed the lack of an OpenBSD configuration.

Therefore I repacked the jarfile adding an OpenBSD one (which is a copy of the Linux config with clang++ instead of g++).

But that didn't change anything. The error message stays still the same.

I am not giving any detailed tracelogs, because JavaCPP does not print such.

Can there be OpenBSD (and possibly also NetBSD) support added in reasonable future? Thanks in advance.

Contributor guide