-
Notifications
You must be signed in to change notification settings - Fork 582
Open
Labels
questionQuestions about usage, configurations, or issues that don’t clearly classify as bugsQuestions about usage, configurations, or issues that don’t clearly classify as bugs
Description
examples/java/README.md is not updated with instructions for cmake.
I tried building like this:
cmake -DENABLE_JAVA_BINDINGS=ON -DENABLE_SDKLIB_EXAMPLES=OFF -DENABLE_SDKLIB_TESTS=OFF -DENABLE_ISOLATED_GFX=OFF -DBUILD_SHARED_LIBS=ON -DUSE_FREEIMAGE=OFF -DENABLE_SYNC=OFF -DUSE_FFMPEG=OFF -DUSE_PDFIUM=OFF -DUSE_READLINE=OFF -DCMAKE_BUILD_TYPE=Release -S sdk -B build
It builds, but there are two shared libs:
build/libSDKlib.so - I assume this is the actual skd code
build/bindings/java/libSDKJavaBindings.so - jni bindings probably
I am not sure which i need to load, I assume both.
I tried loading both, but with libSDKJavaBinding.so i get the error:
java.lang.UnsatisfiedLinkError: undefined symbol: arrayListClass
Any idea how to get this to work?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionQuestions about usage, configurations, or issues that don’t clearly classify as bugsQuestions about usage, configurations, or issues that don’t clearly classify as bugs