Quantcast
Channel: Опыт пользователя и дизайн
Viewing all articles
Browse latest Browse all 360

Build error when use IPP libs in NDK.

$
0
0

Test code is copy from "Building Android* NDK applications with Intel® Integrated Performance Primitives (Intel® IPP)" : https://software.intel.com/en-us/android/articles/building-android-ndk-applications-with-intel-ipp

1. And install the IPP for windows,

2. copy the include folder to my project.   jni/ipp/include

3. copy the libippcore.a, libippi.a, libipps.a..... to the project,  jni/ipp/lib/ia32 .   It is strange that the libippcore.a... files are in intel/Composer XE 2013 SP1/ipp/lib/mic,  ------ Are these files should be in mic folder??????

 

The build  whole project, It seems the source file build is ok, but failed in linke stage.

[x86] SharedLibrary : libIppAdd.so D:/android-ndk-r9d-windows-x86/android-ndk-r9d/toolchains/x86-4.6/prebuilt/windows/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld.exe: fatal error: D:/android-ndk-r9d-windows-x86/android-ndk-r9d/project/hello_test_exe_ipp/jni/ipp/lib/ia32/libippcore.a(ippinit.o): unsupported ELF machine number 181 collect2: ld returned 1 exit status /cygdrive/d/android-ndk-r9d-windows-x86/android-ndk-r9d/build/core/build-binary.mk:588: recipe for target '/cygdrive/d/android-ndk-r9d-windows-x86/android-ndk-r9d/project/hello_test_exe_ipp/obj/local/x86/libIppAdd.so' failed make: *** [/cygdrive/d/android-ndk-r9d-windows-x86/android-ndk-r9d/project/hello_test_exe_ipp/obj/local/x86/libIppAdd.so] Error 1     What is the reason for this error ---libippcore.a(ippinit.o): unsupported ELF machine number 181??   Thanks a lot!   Br, Haitao

Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>