Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Unsupported compiler when compiling OpenCV 4.7.0 with Intel OneAPI 2023.1

Dimitry_N_Intel
Employee
653 Views

Hi ,

I am trying to compile opencv from sources (4.7.0).

HW:12th Gen Intel(R) Core(TM) i7-12700

Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy

 

OneAPI default installed from l_BaseKit_p_2023.1.0.46401_offline.sh

Cmake version 2.26.2

cmake output:

'Release' build type is used by default. Use CMAKE_BUILD_TYPE to specify build type (Release or Debug)
The CXX compiler identification is IntelLLVM 2023.1.0
The C compiler identification is IntelLLVM 2023.1.0
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: /opt/intel/oneapi/compiler/latest/linux/bin/icpx - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: /opt/intel/oneapi/compiler/latest/linux/bin/icx - skipped
Detecting C compile features
Detecting C compile features - done
ocv_init_download: OpenCV source tree is not fetched as git repository. 3rdparty resources will be downloaded from github.com by default.
Detected processor: x86_64
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7")
Found PythonInterp: /usr/bin/python3 (found suitable version "3.10.6", minimum required is "3.2")
Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so (found suitable exact version "3.10.6")
Looking for ccache - not found
Performing Test HAVE_CXX_FSIGNED_CHAR
Performing Test HAVE_CXX_FSIGNED_CHAR - Success
Performing Test HAVE_C_FSIGNED_CHAR
Performing Test HAVE_C_FSIGNED_CHAR - Success
CMake Warning at cmake/OpenCVCompilerOptimizations.cmake:310 (message):
TODO: Unsupported compiler
Call Stack (most recent call first):
cmake/OpenCVCompilerOptions.cmake:324 (include)
CMakeLists.txt:639 (include)


Performing Test HAVE_CPU_SSE_SUPPORT (check file: cmake/checks/cpu_sse.cpp)
Performing Test HAVE_CPU_SSE_SUPPORT - Success
Performing Test HAVE_CPU_SSE2_SUPPORT (check file: cmake/checks/cpu_sse2.cpp)
Performing Test HAVE_CPU_SSE2_SUPPORT - Success
Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp)
Performing Test HAVE_CPU_SSE3_SUPPORT - Failed
SSE3 is not supported by C++ compiler
Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp)
Performing Test HAVE_CPU_SSSE3_SUPPORT - Failed
SSSE3 is not supported by C++ compiler
Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp)
Performing Test HAVE_CPU_SSE4_1_SUPPORT - Failed
SSE4_1 is not supported by C++ compiler
Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp)
Performing Test HAVE_CPU_POPCNT_SUPPORT - Failed
POPCNT is not supported by C++ compiler
Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp)
Performing Test HAVE_CPU_SSE4_2_SUPPORT - Failed
SSE4_2 is not supported by C++ compiler
Performing Test HAVE_CPU_FP16_SUPPORT (check file: cmake/checks/cpu_fp16.cpp)
Performing Test HAVE_CPU_FP16_SUPPORT - Failed
FP16 is not supported by C++ compiler
Performing Test HAVE_CPU_AVX_SUPPORT (check file: cmake/checks/cpu_avx.cpp)
Performing Test HAVE_CPU_AVX_SUPPORT - Failed
AVX is not supported by C++ compiler
Performing Test HAVE_CPU_AVX2_SUPPORT (check file: cmake/checks/cpu_avx2.cpp)
Performing Test HAVE_CPU_AVX2_SUPPORT - Failed
AVX2 is not supported by C++ compiler
Performing Test HAVE_CPU_AVX_512F_SUPPORT (check file: cmake/checks/cpu_avx512.cpp)
Performing Test HAVE_CPU_AVX_512F_SUPPORT - Failed
AVX_512F is not supported by C++ compiler
Performing Test HAVE_CPU_AVX512_COMMON_SUPPORT (check file: cmake/checks/cpu_avx512common.cpp)
Performing Test HAVE_CPU_AVX512_COMMON_SUPPORT - Failed
AVX512_COMMON is not supported by C++ compiler
Performing Test HAVE_CPU_AVX512_SKX_SUPPORT (check file: cmake/checks/cpu_avx512skx.cpp)
Performing Test HAVE_CPU_AVX512_SKX_SUPPORT - Failed
AVX512_SKX is not supported by C++ compiler
Optimization SSE3 is not available, skipped
Dispatch optimization SSE4_1 is not available, skipped
Dispatch optimization SSE4_2 is not available, skipped
Dispatch optimization AVX is not available, skipped
Dispatch optimization FP16 is not available, skipped
Dispatch optimization AVX2 is not available, skipped
Dispatch optimization AVX512_SKX is not available, skipped

 

Please assist to resolve it ,

Thanks

Labels (1)
0 Kudos
1 Reply
RabiyaSK_Intel
Moderator
585 Views

Hi,


Thanks for posting in Intel Communities.


Based on this, and our discussion about creating a priority ticket if needed, I am going ahead and closing this case for now.


Please feel free to contact us further if you need any assistance from our side. 


Thanks & Regards,

Shaik Rabiya


0 Kudos
Reply