-
Notifications
You must be signed in to change notification settings - Fork 0
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
Help with Libjpeg-Turbo #1
Comments
What is version of libjpeg source ? |
This is the one i am using git://git.linaro.org/people/tomgall/libjpeg-turbo/libjpeg-turbo.git -b linaro-android Did you modify the makefile in any ways? I just downloaded the code, put it in jni folder of project and ndk-build it, |
You should ndk-build by command-line, |
Did it , it already copies the stuff in libs folder , still does not work . |
Has you rename it? Output of original source is "libjpeg.so". But in java source is "turbojpeg" (TJLoader.java) rename to jpeg. PS: I was re-checkout source and rebuild. And i get this error too. |
I did rename it, the lib gets loaded, but the error is there. Any chance you have your old project somewhere? or the make file? |
Unfortunately I was reinstall my pc and lost it |
Tried with this makefile , still same error 07-30 15:39:31.246: E/AndroidRuntime(28566): java.lang.UnsatisfiedLinkError: Native method not found: org.libjpegturbo.turbojpeg.TJDecompressor.init:()V Mind sharing your jni folder ? |
Doesn't have any change more. |
Thnx it works! But it works only and only if the lib is named turbo-jpeg.so . I tried changing final class TJLoader { |
Of course On Wed, Jul 31, 2013 at 2:59 PM, bazimogmbh [email protected]:
Trần Minh Khánh |
Your version of libjpeg-turbo works perfectly with the code, but when i try to grab the sources and jni-build it, i always get this error
Native method not found: org.libjpegturbo.turbojpeg.TJDecompressor.init:()
Would appreciate any help with compiling the sources correctly.
The text was updated successfully, but these errors were encountered: