This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Create Android activity file for Mali OpenCL Samples

Hello

I am having the Mali Opencl SDK v1.1.0

I want to run those samples in Android.

I am having OpenCL libraries so that s not an issue.

But i want to generate the activity files and native files for the corresponding cpp files.

Plse help me out.

Thks

Parents
  • Thanks Michael.

    Can u plse see if the following will help.

    ndk-build NDK_APP_APPLICATION_MK=<file> --> rebuild, using a specific Application.mk pointed to by the NDK_APP_APPLICATION_MK command-line variable.

    -------------------

    Application.mk:

    APP_ABI := armeabi-v7a

    APP_PLATFORM := android-19

    APP_STL := gnustl_static

    APP_CPPFLAGS += -fexceptions -frtti.

    ------------------

    Will this work?

    Alternatively,I boot Odroid-xu3 in Ubuntu and then install Mali SDK and compile the cpp sources. Will it run?


Reply
  • Thanks Michael.

    Can u plse see if the following will help.

    ndk-build NDK_APP_APPLICATION_MK=<file> --> rebuild, using a specific Application.mk pointed to by the NDK_APP_APPLICATION_MK command-line variable.

    -------------------

    Application.mk:

    APP_ABI := armeabi-v7a

    APP_PLATFORM := android-19

    APP_STL := gnustl_static

    APP_CPPFLAGS += -fexceptions -frtti.

    ------------------

    Will this work?

    Alternatively,I boot Odroid-xu3 in Ubuntu and then install Mali SDK and compile the cpp sources. Will it run?


Children
No data