Ubuntu – Access a C++ struct from Java using JNA
I'm new to JNA and trying to put together a very minimal proof-of-concept for accessing structs from a C++ shared library. Unfortunately, it doesn't run and I cannot figure it out. Here's my code: Main.java: import com.sun.jna.Structure; import com.sun.jna.Native; import…