Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

including ipp libraries

$
0
0

Hello!

I'm trying to use Intel IPP for signal processing. I began the work with the Add functions (ippsAdd_64f_A53 and ippsAdd_64f). I included ippvm.h, ippcore.h and ipps.h and wrote the CMakeLists.txt file as follows:

cmake_minimum_required(VERSION 3.7)
project(Test)
find_library(IPP_CORE libippcore.a PATHS /opt/intel/ipp/lib/intel64)
find_library(IPP_VM libippvm.a PATHS /opt/intel/ipp/lib/intel64)
find_library(IPP_S libipps.a PATHS /opt/intel/ipp/lib/intel64)
add_executable(Test main.cpp)
target_include_directories(Test PRIVATE /opt/intel/ipp/include)
target_link_libraries(Test ${IPP_CORE} ${IPP_VM} ${IPP_S})

The first of the function (_A53) works well, but while using the second one I get the following error:

/opt/intel/ipp/lib/intel64/libipps.a(jmp_ippsAdd_64f.o): In function 'in_ippsAdd_64f':
jmp_ippsAdd_64f.c:(.text+0x1): undefined reference to 'ippSafeInit'
/opt/intel/ipp/lib/intel64/libipps.a(jmp_ippsAdd_64f.o): In function 'ippsAdd_64f':
jmp_ippsAdd_64f.c:(.text+0x2a): undefined reference to 'ippJumpIndexForMergedLibs'

Tell me please, what is wrong? As I understand, I need to link some more libraries, but which of them?

Thanks in advance.


Viewing all articles
Browse latest Browse all 1489

Trending Articles



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