Code Monkey home page Code Monkey logo

tiffonandroid's People

tiffonandroid's Issues

Build fails for x86 and mips

What steps will reproduce the problem?
1. Add Application.mk in jni folder
2. Write into Application.mk: 
           APP_STL := gnustl_static
           APP_CPPFLAGS := -frtti -fexceptions
           APP_ABI := x86

3. run ndk-build from $Project/jni

What is the expected output? What do you see instead?

Instead of normal termination, the following error message is shown:
SharedLibrary  : libtiff.so
/home/miu/Development/android-ndk-r8b/toolchains/x86-4.6/prebuilt/linux-x86/bin/
../lib/gcc/i686-linux-android/4.6.x-google/../../../../i686-linux-android/bin/ld
: skipping incompatible 
/home/miu/WorkSpaces/clasicworkspace/tiffonandroid/tiffviewer/project/jni/libs/l
ibjpeg.a when searching for -ljpeg
/home/miu/Development/android-ndk-r8b/toolchains/x86-4.6/prebuilt/linux-x86/bin/
../lib/gcc/i686-linux-android/4.6.x-google/../../../../i686-linux-android/bin/ld
: cannot find -ljpeg
collect2: ld returned 1 exit status
make: *** 
[/home/miu/WorkSpaces/clasicworkspace/tiffonandroid/tiffviewer/project/obj/local
/x86/libtiff.so] Error 1

What version of the product are you using? On what operating system?

Linux (Ubuntu 12.0.4), 32bit
android-ndk-r8b


Please provide any additional information below.

If I use  APP_ABI := armeabi-v7a instead of APP_ABI := armeabi-v7a into 
Application.mk then ndk-build finish in normal way

Original issue reported on code.google.com by [email protected] on 26 Oct 2012 at 11:30

Build fails on android-ndk-r5b

What steps will reproduce the problem?
1. running ndk-build in project folder

What is the expected output? What do you see instead?

Instead of normal termination, the following error message is shown:

SharedLibrary  : libtiff.so
X:/__JL_DEV_TEMP_DO_NOT_DELETE/ProgramFiles/android-ndk-r5b/toolchains/arm-linux
-androideabi-4.4.3/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.4.3/.
./../../../arm-linux-androideabi/bin/ld.exe: cannot find -ljpeg
collect2: ld returned 1 exit status
make: *** [/cygdrive/x/__JL_DEV_TEMP_DO_NOT_DELETE/workspace/tiffonandroid/tiffv
iewer/project/obj/local/armeabi/libtiff.so] Error 1


What version of the product are you using? On what operating system?

Microsoft Windows XP
Home Edition
Version 2002
Service Pack 3

Android NDK r3b

CYGWIN_NT-5.1 1.7.7(0.230/5/3) 2010-08-31 09:58
GNU Make 3.81

Please provide any additional information below.

No additional information.

Original issue reported on code.google.com by [email protected] on 16 Feb 2011 at 12:48

Tiff library not found

I am getting this error in your app.

any solution

 FATAL EXCEPTION: main
 java.lang.ExceptionInInitializerError
     at com.tiffviewer.TiffImageViewer.onCreate(TiffImageViewer.java:45)
     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
     at android.app.ActivityThread.access$2300(ActivityThread.java:125)
     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
     at android.os.Handler.dispatchMessage(Handler.java:99)
     at android.os.Looper.loop(Looper.java:123)
     at android.app.ActivityThread.main(ActivityThread.java:4627)
     at java.lang.reflect.Method.invokeNative(Native Method)
     at java.lang.reflect.Method.invoke(Method.java:521)
     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
     at dalvik.system.NativeStart.main(Native Method)
 Caused by: java.lang.UnsatisfiedLinkError: Library tiff not found
     at java.lang.Runtime.loadLibrary(Runtime.java:461)
     at java.lang.System.loadLibrary(System.java:557)
     at com.tiffdecoder.TiffDecoder.<clinit>(TiffDecoder.java:32)

Original issue reported on code.google.com by [email protected] on 20 Jan 2012 at 5:55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.