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

OpenCL library no provided #1

Closed
iago-suarez opened this issue Sep 17, 2016 · 2 comments
Closed

OpenCL library no provided #1

iago-suarez opened this issue Sep 17, 2016 · 2 comments

Comments

@iago-suarez
Copy link

iago-suarez commented Sep 17, 2016

Hi, today I tried to buidl the project following your instructions but the ndk-build command return me this error:

iago@iago-S551LB:~/Escritorio/OpenCL/androidcl$ ndk-build
Android NDK: WARNING:jni/Android.mk:JNIProcessor: non-system libraries in linker flags: jni/libs/libOpenCL.so    
Android NDK:     This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES    
Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the    
Android NDK:     current module    
[armeabi] Compile++ arm  : JNIProcessor <= processor.cpp
[armeabi] SharedLibrary  : libJNIProcessor.so
arm-linux-androideabi-g++: error: jni/libs/libOpenCL.so: No such file or directory
make: *** [obj/local/armeabi/libJNIProcessor.so] Error 1

I think the problem is that you do not provide the needed OpenCL library.

@9prady9
Copy link
Member

9prady9 commented Sep 17, 2016

@iago-suarez

I am assuming you found this repository via our blog post, if not please refer to the section OpenCL in the blog posted here where we have outlined how to obtain the libOpenCL.so file for your mobile/android device.

Back when we published the post, i used to have access to Samsung Note3 and Samsung Galaxy S5 which used to provide their OpenCL library files either on the device (/system/vendor/lib/libOpenCL.so - you to do adb pull to your dev machine to compile your application) or via their proprietary SDK. So, it is totally dependent on your mobile manufacturer to provide the OpenCL library.

@9prady9 9prady9 closed this as completed Sep 17, 2016
@iago-suarez
Copy link
Author

Ohh, thank you very much for your help. I've just readed the article and now I can compile your project!

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