Author Topic: Cmake Android Studio: C/C++: ld: error: found local symbol '_end' in global part  (Read 128 times)

Dude

  • Guest
hit i am trying to include bass via cmake
Downloaded android version of bass put files

did this:
Code: [Select]
add_library(BASS_LIB SHARED IMPORTED)

if(${ANDROID_ABI} STREQUAL "x86")
#set(BASS_LIB
set_property(TARGET BASS_LIB PROPERTY IMPORTED_LOCATION "libs/x86/libbass.so")

target_link_libraries(mypackagename
                      android
                      log
                      EGL
                      GLESv2 freetype assimp BASS_LIB)
endif()

i end up with:

C/C++: ld: error: found local symbol '_end' in global part of symbol table in file C:/Users/user/AndroidStudioProjects/SDL2-2.0.9/theapp/app/src/main/cpp/libs/arm64-v8a/libbass.so

Ian @ un4seen

  • Administrator
  • Posts: 24423
This is an issue with the Android NDK version that the BASS library is currently built with. The next BASS release will be built with a newer NDK that doesn't have the issue. In the meantime, you can use the latest beta, which is also built with the newer NDK:

   www.un4seen.com/stuff/bass-android.zip

Let me know if you still have the problem with that.