Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing file armeabi-v7a/lib/libboost_signals.a on branch boost-1_72_0 #4

Closed
rohitdwivedula opened this issue Feb 10, 2022 · 1 comment

Comments

@rohitdwivedula
Copy link

rohitdwivedula commented Feb 10, 2022

It looks like one compiled file, libboost_signals.a is missing for boost v1.72.0. Not sure if I'm doing anything wrong, but just thought I'd leave a heads up here incase anyone else tries to use that version (and needs libboost_signals).

This is what my root Android.mk looks like:

MY_PATH := $(call my-dir)
include $(MY_PATH)/boost-1_72_0/Android.mk

LOCAL_PATH := $(JNI_PATH)

include $(CLEAR_VARS)
LOCAL_MODULE := <my module name here>
LOCAL_SRC_FILES := <list of files>
LOCAL_LDLIBS += -llog
LOCAL_CPPFLAGS += -std=c++11

LOCAL_SHARED_LIBRARIES := boost
include $(BUILD_SHARED_LIBRARY)

I tried LOCAL_SHARED_LIBRARIES=boost and LOCAL_SHARED_LIBRARIES=boost* with Android NDK 21, and both versions of the Android.mk led to an error that looked like this:

Android NDK: ERROR:/path/to/my/app/jni/boost-1_72_0/Android.mk:boost_signals: LOCAL_SRC_FILES points to a missing file    
Android NDK: Check that /path/to/my/app/jni/boost-1_72_0/armeabi-v7a/lib/libboost_signals.a exists  or that its path is correct   

Looking at that directory in this repo, it does indeed appear that libboost_signals.a does not exist.

@r4sas
Copy link
Member

r4sas commented Feb 10, 2022

You can remove that module defenition because it has no library and based on headers.

@r4sas r4sas closed this as completed Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants