- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I get the following error when running cmake
-- Intel(R) IPP(static) was found here: C:\Program Files (x86)\Intel\oneAPI\ipp\latest
-- folder with libraries: C:/Program Files (x86)/Intel/oneAPI/ipp/latest/lib;C:\Program Files (x86)\Intel\oneAPI\ipp\latest\lib\..\..\..\compiler\lib\intel64
-- folder with includes : INTERNAL_IPP_INC_CORE-NOTFOUND
-- Configuring done (0.7s)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
C:/git/ipp/IPPPlus/bench/INTERNAL_IPP_INC_CORE
cmake 3. 27.2
Windows 11
IPP 2022
I installed IPP in the default directory. I also have 2021.10 installed.The installation resulted in this file structure
C:\Program Files (x86)\Intel\oneAPI\
ipp - 2021.10
- 2022.0
- latest (symlinked to C:\Program Files (x86)\Intel\oneAPI\ipp\2022.0)
- include
- ipp.h
- ipp
- ippcore.h
In FindIPP.cmake, the following sets INTERNAL_IPP_INC_CORE by looking for ippcore.h in the hints paths: PATHS and ${INTERNAL_IPP_INC}
set(INTERNAL_IPP_INC $ENV{IPPROOT}/include)
find_path (INTERNAL_IPP_INC_CORE ippcore.h PATHS ${INTERNAL_IPP_INC})
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
My bad. I discovered that the FindIPP.cmake I'm using is custom to the repo. I thought it was part of the cmake.
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
After a bit more research (thank-you stack overflow!), it appears find_path() is not recursive.
So it appears the IPPROOT set by setvars.bat won't work (C:\Program Files (x86)\Intel\oneAPI\ipp\latest) because of the include\ipp folder that holds the .h files. The FindIPP.cmake assumes there is no include\ipp folder, just include.
If I add the following to FindIPP.cmake, cmake completes
Another option is to move the 2022.0\include\ipp files to 2022.0\include
There must be something I'm doing wrong though because I can't find others online who have run into this issue.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
My bad. I discovered that the FindIPP.cmake I'm using is custom to the repo. I thought it was part of the cmake.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thank you Eddie for the sharing for your fix
Have you try the followings?
set(INTERNAL_IPP_INC $ENV{IPPROOT}/include)
find_path(INTERNAL_IPP_INC_CORE ippcore.h PATHS ${INTERNAL_IPP_INC}/ipp)
include_directories(${INTERNAL_IPP_INC} ${INTERNAL_IPP_INC_CORE})

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora