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

Build OBOE using Android.mk #20

Closed
Korogba opened this issue Dec 2, 2017 · 1 comment
Closed

Build OBOE using Android.mk #20

Korogba opened this issue Dec 2, 2017 · 1 comment

Comments

@Korogba
Copy link

Korogba commented Dec 2, 2017

I have gone through the documentation of the Android C++ high performance audio library: OBOE. There is no documentation on how to add the library to an Android project that uses an Android.mk build type.

This is my current Android.mk file but it does not include the OBOE sources:

LOCAL_PATH := $(call my-dir)
OBOE_DIR := /Users/andelastc/code/workspace-android/oboe

include $(CLEAR_VARS)

LOCAL_MODULE        := native_code
LOCAL_SRC_FILES     := ...
LOCAL_CFLAGS        := -DNULL=0
LOCAL_LDLIBS        := -lm -llog -lOpenSLES
LOCAL_C_INCLUDES    := $(LOCAL_PATH)/$(OPUS_DIR)/include $(OBOE_DIR)/include $(OBOE_DIR)/source
@Korogba
Copy link
Author

Korogba commented Dec 4, 2017

Fixed this issue by moving the other project to a CMake build.

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

1 participant