Open gsus24 opened 3 years ago
Could you try buildnig projectM with the current master using the CMake scripts?
Recent Android NDKs ship with a CMake toolchain file and information about how to build projects with it.
Hi Kai, another try to build for arm64. In the android-example you use precompiled library. Do you mean building it completly in Android Studio?
Is it enough to copy the folder projectm/src/libprojectM to my project and change cmake path in build.gradle to the new one?
Could you please explain on how you would do it? Without help, i am lost
If the project builds libprojectM properly then, it may work. Setting the include directories can be challenging.
I'd still recommend building it separately with the proper Android NDK for your target platform, then point CMAKE_PREFIX_PATH to the install dir and use CMake's find_package(libprojectM)
command to integrate it into you project.
Can´t get it work on 64bit. Building the library without error and installed it successfully on device, but get error when opening the app.
I edit
./configure-ndk
like suggested https://developer.android.com/ndk/guides/other_build_systemsAdd the library to my project edited CMakelists and build.gradle to arm64-8va. I can install the app but running into error
dlopen: library not found
What i am doing wrong? Hope there is somebody know how to get it work. Thanks