Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

the problem of ipp

yifengyt
Beginner
257 Views

When I downloaded the ipp library in oneAPI and Source setvars.sh, I found that I could not find the IPP library.

 

in cmakelists:

in findIPP.cmake

cmake_policy(PUSH)
cmake_minimum_required(VERSION 2.6)
cmake_policy(POP)

#IF( NOT IPP_FOUND )

FILE(GLOB IPP_INCLUDE_PATHS_0 "/opt/intel/oneapi/ipp/latest/include")
FILE(GLOB IPP_INCLUDE_PATHS_1 "/opt/intel/oneapi/ipp/latest/include")
FILE(GLOB IPP_INCLUDE_PATHS_2 "/opt/intel/oneapi/ipp/latest/include")

SET(
IPP_INCLUDE_PATHS
${IPP_INCLUDE_PATHS_0}
${IPP_INCLUDE_PATHS_1}
${IPP_INCLUDE_PATHS_2}
)

FIND_PATH(
IPP_INCLUDE_DIR
ippi.h
${IPP_INCLUDE_PATHS}
)

SET(IPPROOT "${IPP_INCLUDE_DIR}/..")

if(WIN32)
find_path(IPP_PATH "ippi.dll"
PATHS ${CMAKE_PROGRAM_PATH} ${CMAKE_SYSTEM_PROGRAM_PATH} ${IPPROOT}
PATH_SUFFIXES bin
DOC "The path to IPP dynamic libraries")
if(NOT IPP_PATH)
find_path(IPP_PATH "ippiem64t-${v}.dll"
PATHS ${CMAKE_PROGRAM_PATH} ${CMAKE_SYSTEM_PROGRAM_PATH}
PATH_SUFFIXES bin
DOC "The path to IPP dynamic libraries")
endif()
endif()
if(UNIX)
find_path(IPP_PATH "libippi${CMAKE_SHARED_LIBRARY_SUFFIX}"
PATHS ${CMAKE_LIBRARY_PATH} ${CMAKE_SYSTEM_LIBRARY_PATH} ${IPPROOT}
PATH_SUFFIXES lib studlib sharedlib
DOC "The path to IPP dynamic libraries")
if(NOT IPP_PATH)
find_path(IPP_PATH "libippiem64t${CMAKE_SHARED_LIBRARY_SUFFIX}"
PATHS ${CMAKE_LIBRARY_PATH} ${CMAKE_SYSTEM_LIBRARY_PATH} ${IPPROOT}
PATH_SUFFIXES lib studlib sharedlib
DOC "The path to IPP dynamic libraries")
endif()
endif()
if(IPP_PATH)
file(GLOB IPP_HDRS "${IPP_PATH}/../include")
if(IPP_HDRS)
set(IPP_FOUND TRUE)
endif()
endif()

add_definitions(-DHAVE_IPP)
include_directories("${IPP_PATH}/../include")
link_directories("${IPP_PATH}/../sharedlib")

file(GLOB em64t_files "${IPP_PATH}/../lib/*em64t*")
set(IPP_ARCH)
if(em64t_files)
set(IPP_ARCH "em64t")
endif()

set(A ${CMAKE_STATIC_LIBRARY_PREFIX})
#set(B ${IPP_ARCH}${CMAKE_STATIC_LIBRARY_SUFFIX})
set(B ${IPP_ARCH}${CMAKE_SHARED_LIBRARY_SUFFIX})
if(WIN32)
set(L l)
else()
set(L)
endif()
set(IPP_LIBS ${A}ippcore${B} ${A}ipps${B} ${A}ippi${B})
# ${A}svml${B} ${A}imf${B} ${A}iomp5${B} ${A}irc${B} ${A}pthread${B})

 

 

 

and there is:

image.png

0 Kudos
3 Replies
AbhishekD_Intel
Moderator
228 Views

Hi,


Thanks for reaching out to us.

Please give us the steps that you are following to download and install IPP.

If you have already installed the complete Intel OneAPI BaseKit then no need to download it again and you will get the complete setup to use the IPP library.


So please give us more details on the complete steps that have followed/following to install IPP with oneAPI.



Warm Regards,

Abhishek


AbhishekD_Intel
Moderator
203 Views

Hi,

Please update us with the details.


Thank You


AbhishekD_Intel
Moderator
191 Views

Hi,


We haven't heard back from you for a long time. So we are assuming that your issue has resolved.

We will no longer monitor this thread.

Please post a new thread if you have any other issues.


Warm Regards,

Abhishek


Reply