You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to get this to work on android, working in a windows environment. getting some errors on the ndk-build command.
Here is the output:
C:\Android-ImageMagick\jni>ndk-build
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/ImageMagick-6.7.3-0/magick/Android.mk:M
agickCore: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/ImageMagick-6.7.3-0/magick/Android.mk:M
agickCore: non-system libraries in linker flags: -lfreetype -lpng
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
Android NDK: WARNING:C:/Android-ImageMagick//jni/Android.mk:android-magick: non-system librarie
s in linker flags: -lfreetype -lpng
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
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/ImageMagick-6.7.3-0/coders/Android.mk:c
oders: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/ImageMagick-6.7.3-0/coders/Android.mk:c
oders: non-system libraries in linker flags: -ltiff
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
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/ImageMagick-6.7.3-0/filters/Android.mk:
filters: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/tiff/Android.mk:tiff-static: LOCAL_LDLI
BS is always ignored for static libraries
[armeabi] Compile thumb : android-magick <= jmagick.c
C:/Android-ImageMagick//jni/jmagick.c:7:24: fatal error: magick/api.h: No such file or director
y
compilation terminated.
make.exe: *** [C:/Android-ImageMagick//obj/local/armeabi/objs/android-magick/jmagick.o] Error 1
As you can see it says that magick/api.h doesn't exist but it doesn. I'm new to using hte android ndk and .mk files so I'm not really sure what to change to get it to look in the right place. I've updated the NDK_MODULE_PATH variable, and in Android.mk I see a Magick_Home variable, but I'm not sure what to set it to. To the source dir of Image magick that i've downloaded? To the Image Magick directory in the ndk-modules path of this project? Sorry, but I jsut don't get it :/
The text was updated successfully, but these errors were encountered:
Hi!
Trying to get this to work on android, working in a windows environment. getting some errors on the ndk-build command.
Here is the output:
C:\Android-ImageMagick\jni>ndk-build
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/ImageMagick-6.7.3-0/magick/Android.mk:M
agickCore: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/ImageMagick-6.7.3-0/magick/Android.mk:M
agickCore: non-system libraries in linker flags: -lfreetype -lpng
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
Android NDK: WARNING:C:/Android-ImageMagick//jni/Android.mk:android-magick: non-system librarie
s in linker flags: -lfreetype -lpng
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
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/ImageMagick-6.7.3-0/coders/Android.mk:c
oders: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/ImageMagick-6.7.3-0/coders/Android.mk:c
oders: non-system libraries in linker flags: -ltiff
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
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/ImageMagick-6.7.3-0/filters/Android.mk:
filters: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:C:\Android-ImageMagick\ndk-modules/tiff/Android.mk:tiff-static: LOCAL_LDLI
BS is always ignored for static libraries
[armeabi] Compile thumb : android-magick <= jmagick.c
C:/Android-ImageMagick//jni/jmagick.c:7:24: fatal error: magick/api.h: No such file or director
y
compilation terminated.
make.exe: *** [C:/Android-ImageMagick//obj/local/armeabi/objs/android-magick/jmagick.o] Error 1
As you can see it says that magick/api.h doesn't exist but it doesn. I'm new to using hte android ndk and .mk files so I'm not really sure what to change to get it to look in the right place. I've updated the NDK_MODULE_PATH variable, and in Android.mk I see a Magick_Home variable, but I'm not sure what to set it to. To the source dir of Image magick that i've downloaded? To the Image Magick directory in the ndk-modules path of this project? Sorry, but I jsut don't get it :/
The text was updated successfully, but these errors were encountered: