Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - JeromeChen

Pages: [1]
General discussions / Re: Build with arm64-v8a and link in CMAKE
« on: May 05, 2020, 04:23:40 pm »
I tried using the debug version, but found that when initializing sfml parameter, it will crash.

I think it maybe that the way I built is wrong

General discussions / Re: Build with arm64-v8a and link in CMAKE
« on: May 04, 2020, 03:20:39 pm »
Thanks for your reply!!
with your question:

error message :

android ndk version : r16b

I make sure these shared libraries are included under lib/arm64-v8a

I still don’t know which step is wrong, hope you can help me thanks!!

General discussions / Build with arm64-v8a and link in CMAKE
« on: April 30, 2020, 05:17:27 pm »
I know that SFML currently doesn't support arm64-v8a, but my programe have already included some thirdparty api with arm64-v8a veriosn.

Therefore, I tried to rebuild sfml arm64-v8a veriosn.

I found some pre-built arm64-v8a like libfreetype.a and libopenal.so then I put them at SFML-2.5.1\extlibs\libs-android\arm64-v8a\

Moreover, I don't need the audio modlue in SFML so I deleted audio modlue inculding in CmakeLists.

Build Command:
cmake -G "MinGW Makefiles" -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DANDROID_STL=c++_static -DCMAKE_ANDROID_API=24 -DCMAKE_SYSTEM_NAME=Android -DCMAKE_BUILD_TYPE=Release ../..

Finally it built successfully and I included these .so file in CmakeLists.
Like these:
        add_library(libsfml-graphics SHARED IMPORTED)

It was built successfully without any errors, but when I was running the program, it crashed directly.
Does anyone have relevant experience or know which step of mine is wrong?

Pages: [1]