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

How to import iolib/parselib #2022

Open
miteshsondhi opened this issue May 22, 2024 · 1 comment
Open

How to import iolib/parselib #2022

miteshsondhi opened this issue May 22, 2024 · 1 comment
Assignees
Labels

Comments

@miteshsondhi
Copy link

Hi, First I want thanks google for creating this awesome project. I followed every step and looking in samples for days but after all the steps I am only able to import oboe/Oboe.h but in samples like drumthumbper they use player/SimpleMultiPlayer.h and stream/MemInputStream.h. How can I use iolib/parselib in my project please help.

@robertwu1
Copy link
Collaborator

Take a look at the CMakeLists.txt for DrumThumper.

Below are the critical lines.

set (PARSELIB_DIR ../../../../oboe/samples/parselib)
set (IOLIB_DIR ../../../../oboe/samples/iolib)

include(${PARSELIB_DIR}/src/main/cpp/CMakeLists.txt)
include(${IOLIB_DIR}/src/main/cpp/CMakeLists.txt)

include_directories(
        ${PARSELIB_DIR}/src/main/cpp
        ${IOLIB_DIR}/src/main/cpp)

With these lines, you should be able to use player/SimpleMultiPlayer.h and stream/MemInputStream.h

@robertwu1 robertwu1 assigned miteshsondhi and unassigned robertwu1 May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants