Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TBB not added to link line with Cmake and find_package( OpenCV) #21304

Open
4 tasks done
acidtonic opened this issue Dec 21, 2021 · 9 comments
Open
4 tasks done

TBB not added to link line with Cmake and find_package( OpenCV) #21304

acidtonic opened this issue Dec 21, 2021 · 9 comments

Comments

@acidtonic
Copy link

acidtonic commented Dec 21, 2021

TBB not added to link line with Cmake and find_package( OpenCV).

I know it's possible to detect if OpenCV was compiled with TBB by using ldd or other OS-specific tool. What I am trying to do is stick within CMake and the official OpenCV Cmake files. I thought maybe there would be a component specifically for TBB so I tried adding that and still no luck.

Found OpenCV: /usr/local (found version "4.5.4") found components: core imgproc highgui tracking cudafeatures2d cudaoptflow cudaimgproc freetype missing components: tbb cudaobjdetect

The following link errors appear, when I would have expected "tbb" to be added to the link line as part of OpenCV_Libraries when Cmake found OpenCV.

/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::interface7::internal::task_arena_base::internal_max_concurrency(tbb::interface7::task_arena const*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `tbb::internal::concurrent_queue_base_v3::internal_set_capacity(long, unsigned long)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `tbb::internal::NFS_Free(void*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned long) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `tbb::internal::concurrent_queue_base_v3::internal_finish_clear()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `tbb::internal::concurrent_queue_base_v3::~concurrent_queue_base_v3()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned long) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::task::note_affinity(unsigned short)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::interface7::internal::task_arena_base::internal_current_slot()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `tbb::internal::NFS_Allocate(unsigned long, unsigned long, void*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `tbb::internal::concurrent_queue_base_v3::internal_pop_if_present(void*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `tbb::internal::concurrent_queue_base_v3::concurrent_queue_base_v3(unsigned long)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `typeinfo for tbb::task'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::task_group_context::init()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::internal::get_initial_auto_partitioner_divisor()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::task_group_context::~task_group_context()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned long) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `tbb::internal::concurrent_queue_base_v3::internal_push(void const*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::task_group_context::is_group_execution_cancelled() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `tbb::internal::throw_exception_v4(tbb::internal::exception_id)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `typeinfo for tbb::internal::concurrent_queue_base_v3'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::interface7::internal::task_arena_base::internal_terminate()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::interface7::internal::task_arena_base::internal_initialize()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `tbb::internal::concurrent_queue_base_v3::internal_pop(void*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_gapi.so.4.5.4: undefined reference to `tbb::internal::concurrent_queue_base_v3::assign(tbb::internal::concurrent_queue_base_v3 const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libopencv_core.so.4.5.4: undefined reference to `tbb::interface7::internal::task_arena_base::internal_execute(tbb::interface7::internal::delegate_base&) const'
System information (version)
  • OpenCV => 4.5.4
  • Operating System / Platform => Windows/Linux
  • Compiler => GCC/MinGW
Detailed description

When using Cmake to add OpenCV to a C++ project it omits whether OpenCV was built with TBB.

Steps to reproduce

Use CMake to detect OpenCV.
Build then fails because OpenCV requires TBB on the link line but it's CMake files as installed did not request it.

Issue submission checklist
  • I report the issue, it's not a question

  • I checked the problem with documentation, FAQ, open issues,

  • I updated to latest OpenCV version and the issue is still there

  • There is reproducer code and related data files: videos, images, onnx, etc

@alalek
Copy link
Member

alalek commented Dec 21, 2021

More details are required about OpenCV build:

  • used CMake parameters
  • CMake stdout (from clean build)
  • used dependencies (how did you get TBB?)

The same items about your Application build including:

  • failed command (make VERBOSE=1)

Run and dump output of ldd /usr/local/lib64/libopencv_core.so.4.5.4.


TBB is considered as external library. It should not be redistributed with OpenCV.
CMake is not a full-featured package manager. Tracking dependencies between projects is tricky.


We don't observe problem with system's TBB installations.


In ideal, it would be nice to have complete Dockerfile with problem reproducer.

@acidtonic
Copy link
Author

acidtonic commented Dec 21, 2021

Cmake Params:
cmake CMAKE_BUILD_TYPE=DEBUG -DWITH_LIBV4L=ON -DBUILD_opencv_dnn=OFF -DWITH_PROTOBUF=OFF -DBUILD_PROTOBUF=OFF -DPROTOBUF_UPDATE_FILES=OFF -DBUILD_LIBPROTOBUF_FROM_SOURCES=OFF -DBUILD_PYTHON_SUPPORT=ON -DBUILD_EXAMPLES=OFF -DBUILD_opencv_apps=OFF -DBUILD_DOCS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=OFF -DWITH_TBB=YES -DWITH_IPP=YES -DWITH_CUDA=ON -DOPENCV_GENERATE_PKGCONFIG=YES -DOPENCV_GENERATE_PKGCONFIG=ON -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-4.5.4/modules ../opencv-4.5.4

Cmake Stdout I don't have at the moment as building opencv takes a very long time on my machine, but it builds successfully without any specific warnings or errors.

TBB was installed as part of my OS package manager from source. I run Gentoo and used emerge tbb to install it.

$ ldd /usr/local/lib64/libopencv_core.so.4.5.4
	linux-vdso.so.1 (0x00007ffeed59f000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f9acd771000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9acd751000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f9acd748000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f9acd72c000)
	libmkl_intel_lp64.so => /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.so (0x00007f9accbb4000)
	libmkl_sequential.so => /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64_lin/libmkl_sequential.so (0x00007f9acb61b000)
	libmkl_core.so => /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64_lin/libmkl_core.so (0x00007f9ac7346000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f9ac7211000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/libstdc++.so.6 (0x00007f9ac6ffd000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/libgcc_s.so.1 (0x00007f9ac6fe0000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f9ac6e26000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f9acea09000)

I understand OpenCV doesn't distribute TBB but my project doesn't distribute OpenCV thus I am relying on OpenCV to list it's build libraries via its OpenCVConfig.cmake file. I have no other way to know what the users OpenCV was built with.

Since OpenCV lists libraries such as cuda or cudnn via OpenCV Libraries when queried I'd expect other dependent libraries to have similar behavior.

I thought perhaps after invoking Find_package, the HAVE_TBB variables from Cmake would be present but it was not the case.

Let me know if you need any more details. Thanks :)

@crackwitz
Copy link
Contributor

crackwitz commented Dec 21, 2021

Cmake Stdout I don't have at the moment

the output of the cmake configure step is of interest. the thing that goes like General configuration for OpenCV 4.5.4 =====================================\nVersion control: 4.5.4-something-something\n...

@alalek
Copy link
Member

alalek commented Dec 21, 2021

I expect tbb entry from ldd command output.
Example from 4.x branch, Fedora 35, system TBB:

$ ldd lib/libopencv_core.so
	linux-vdso.so.1 (0x00007ffcd43ae000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f47a7b37000)
	libopenblas.so.0 => /lib64/libopenblas.so.0 (0x00007f47a55ac000)
	libtbb.so.2 => /lib64/libtbb.so.2 (0x00007f47a5568000)
	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f47a5349000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f47a526d000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f47a5253000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f47a5047000)
	libgfortran.so.5 => /lib64/libgfortran.so.5 (0x00007f47a4d9a000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f47a8d37000)
	libquadmath.so.0 => /lib64/libquadmath.so.0 (0x00007f47a4d50000)

4th library is TBB.


intel/compilers_and_libraries

Perhaps there is some mess with TBB from compiler package.

Please add this dump:

  • grep -i TBB CMakeVars.txt

invoking Find_package, the HAVE_TBB variables from Cmake would be present

Expectation is not correct. Approach with .so libraries can hide such dependencies well. Also OpenCV supports TBB's plugins.
So application can't and should not know about exact build configuration (but still can query that in runtime).

@acidtonic
Copy link
Author

Gathering things, I'll report back in a few

@acidtonic
Copy link
Author

Here's configure...

Install OpenCV 4.5.4 ran from /home/arkk/code
Cloning into 'opencv-4.5.4'...
remote: Enumerating objects: 300507, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 300507 (delta 1), reused 5 (delta 0), pack-reused 300496
Receiving objects: 100% (300507/300507), 490.46 MiB | 27.58 MiB/s, done.
Resolving deltas: 100% (209087/209087), done.
Note: switching to '4.5.4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 4223495e6c release: OpenCV 4.5.4
Cloning into 'opencv_contrib-4.5.4'...
remote: Enumerating objects: 36269, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 36269 (delta 16), reused 30 (delta 8), pack-reused 36218
Receiving objects: 100% (36269/36269), 132.10 MiB | 20.50 MiB/s, done.
Resolving deltas: 100% (22493/22493), done.
Note: switching to '4.5.4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 2bc3e1a1 Merge remote-tracking branch 'upstream/3.4' into merge-3.4
CMake for OpenCV ran from /home/arkk/code/opencv_build-4.5.4
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - 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: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detected processor: x86_64
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.18", minimum required is "2.7") 
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable exact version "2.7.18") 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named numpy.distutils
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.9.8", minimum required is "3.2") 
-- Found PythonLibs: /usr/lib64/libpython3.9.so (found suitable exact version "3.9.8") 
-- 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
-- Performing Test HAVE_CXX_W
-- Performing Test HAVE_CXX_W - Success
-- Performing Test HAVE_C_W
-- Performing Test HAVE_C_W - Success
-- Performing Test HAVE_CXX_WALL
-- Performing Test HAVE_CXX_WALL - Success
-- Performing Test HAVE_C_WALL
-- Performing Test HAVE_C_WALL - Success
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_C_WERROR_RETURN_TYPE
-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_CXX_WERROR_ADDRESS
-- Performing Test HAVE_CXX_WERROR_ADDRESS - Success
-- Performing Test HAVE_C_WERROR_ADDRESS
-- Performing Test HAVE_C_WERROR_ADDRESS - Success
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_CXX_WFORMAT
-- Performing Test HAVE_CXX_WFORMAT - Success
-- Performing Test HAVE_C_WFORMAT
-- Performing Test HAVE_C_WFORMAT - Success
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success
-- Performing Test HAVE_C_WMISSING_DECLARATIONS
-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed
-- Performing Test HAVE_C_WMISSING_PROTOTYPES
-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WUNDEF
-- Performing Test HAVE_CXX_WUNDEF - Success
-- Performing Test HAVE_C_WUNDEF
-- Performing Test HAVE_C_WUNDEF - Success
-- Performing Test HAVE_CXX_WINIT_SELF
-- Performing Test HAVE_CXX_WINIT_SELF - Success
-- Performing Test HAVE_C_WINIT_SELF
-- Performing Test HAVE_C_WINIT_SELF - Success
-- Performing Test HAVE_CXX_WPOINTER_ARITH
-- Performing Test HAVE_CXX_WPOINTER_ARITH - Success
-- Performing Test HAVE_C_WPOINTER_ARITH
-- Performing Test HAVE_C_WPOINTER_ARITH - Success
-- Performing Test HAVE_CXX_WSHADOW
-- Performing Test HAVE_CXX_WSHADOW - Success
-- Performing Test HAVE_C_WSHADOW
-- Performing Test HAVE_C_WSHADOW - Success
-- Performing Test HAVE_CXX_WSIGN_PROMO
-- Performing Test HAVE_CXX_WSIGN_PROMO - Success
-- Performing Test HAVE_C_WSIGN_PROMO
-- Performing Test HAVE_C_WSIGN_PROMO - Failed
-- Performing Test HAVE_CXX_WUNINITIALIZED
-- Performing Test HAVE_CXX_WUNINITIALIZED - Success
-- Performing Test HAVE_C_WUNINITIALIZED
-- Performing Test HAVE_C_WUNINITIALIZED - Success
-- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE - Success
-- Performing Test HAVE_C_WSUGGEST_OVERRIDE
-- Performing Test HAVE_C_WSUGGEST_OVERRIDE - Failed
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_CXX_WNO_COMMENT
-- Performing Test HAVE_CXX_WNO_COMMENT - Success
-- Performing Test HAVE_C_WNO_COMMENT
-- Performing Test HAVE_C_WNO_COMMENT - Success
-- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3
-- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3 - Success
-- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3
-- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 - Success
-- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW
-- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW - Success
-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW
-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_CXX_WNO_LONG_LONG
-- Performing Test HAVE_CXX_WNO_LONG_LONG - Success
-- Performing Test HAVE_C_WNO_LONG_LONG
-- Performing Test HAVE_C_WNO_LONG_LONG - Success
-- Performing Test HAVE_CXX_PTHREAD
-- Performing Test HAVE_CXX_PTHREAD - Success
-- Performing Test HAVE_C_PTHREAD
-- Performing Test HAVE_C_PTHREAD - Success
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success
-- Performing Test HAVE_C_FFUNCTION_SECTIONS
-- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success
-- Performing Test HAVE_CXX_FDATA_SECTIONS
-- Performing Test HAVE_CXX_FDATA_SECTIONS - Success
-- Performing Test HAVE_C_FDATA_SECTIONS
-- Performing Test HAVE_C_FDATA_SECTIONS - Success
-- Performing Test HAVE_CXX_MSSE (check file: cmake/checks/cpu_sse.cpp)
-- Performing Test HAVE_CXX_MSSE - Success
-- Performing Test HAVE_CXX_MSSE2 (check file: cmake/checks/cpu_sse2.cpp)
-- Performing Test HAVE_CXX_MSSE2 - Success
-- Performing Test HAVE_CXX_MSSE3 (check file: cmake/checks/cpu_sse3.cpp)
-- Performing Test HAVE_CXX_MSSE3 - Success
-- Performing Test HAVE_CXX_MSSSE3 (check file: cmake/checks/cpu_ssse3.cpp)
-- Performing Test HAVE_CXX_MSSSE3 - Success
-- Performing Test HAVE_CXX_MSSE4_1 (check file: cmake/checks/cpu_sse41.cpp)
-- Performing Test HAVE_CXX_MSSE4_1 - Success
-- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp)
-- Performing Test HAVE_CXX_MPOPCNT - Success
-- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp)
-- Performing Test HAVE_CXX_MSSE4_2 - Success
-- Performing Test HAVE_CXX_MF16C (check file: cmake/checks/cpu_fp16.cpp)
-- Performing Test HAVE_CXX_MF16C - Success
-- Performing Test HAVE_CXX_MFMA
-- Performing Test HAVE_CXX_MFMA - Success
-- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp)
-- Performing Test HAVE_CXX_MAVX - Success
-- Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp)
-- Performing Test HAVE_CXX_MAVX2 - Success
-- Performing Test HAVE_CXX_MAVX512F (check file: cmake/checks/cpu_avx512.cpp)
-- Performing Test HAVE_CXX_MAVX512F - Success
-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD (check file: cmake/checks/cpu_avx512common.cpp)
-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD - Success
-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ (check file: cmake/checks/cpu_avx512skx.cpp)
-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ - Success
-- Performing Test HAVE_CPU_BASELINE_FLAGS
-- Performing Test HAVE_CPU_BASELINE_FLAGS - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success
-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN
-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_C_FVISIBILITY_HIDDEN
-- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success
-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Failed
-- Performing Test HAVE_LINK_AS_NEEDED
-- Performing Test HAVE_LINK_AS_NEEDED - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for memalign
-- Looking for memalign - found
-- Found ZLIB: /usr/lib64/libz.so (found suitable version "1.2.11", minimum required is "1.2.3") 
-- Found JPEG: /usr/lib64/libjpeg.so (found version "62") 
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.3.0")  
-- Found WebP: /usr/lib64/libwebp.so  
-- Found system OpenJPEG: openjp2 (found version "")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.37+apng") 
-- Looking for /usr/include/libpng/png.h
-- Looking for /usr/include/libpng/png.h - not found
-- Looking for semaphore.h
-- Looking for semaphore.h - found
-- Performing Test HAVE_CXX_WNO_SHADOW
-- Performing Test HAVE_CXX_WNO_SHADOW - Success
-- Performing Test HAVE_CXX_WNO_UNUSED
-- Performing Test HAVE_CXX_WNO_UNUSED - Success
-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE
-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success
-- Performing Test HAVE_CXX_WNO_UNDEF
-- Performing Test HAVE_CXX_WNO_UNDEF - Success
-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WNO_UNINITIALIZED
-- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success
-- Performing Test HAVE_CXX_WNO_SWITCH
-- Performing Test HAVE_CXX_WNO_SWITCH - Success
-- Performing Test HAVE_CXX_WNO_PARENTHESES
-- Performing Test HAVE_CXX_WNO_PARENTHESES - Success
-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS
-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success
-- Performing Test HAVE_CXX_WNO_EXTRA
-- Performing Test HAVE_CXX_WNO_EXTRA - Success
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION
-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION - Success
-- Performing Test HAVE_CXX_WNO_DEPRECATED
-- Performing Test HAVE_CXX_WNO_DEPRECATED - Success
-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Success
-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Failed
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success
-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE
-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE - Success
-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Failed
-- Performing Test HAVE_CXX_WNO_REORDER
-- Performing Test HAVE_CXX_WNO_REORDER - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_RESULT
-- Performing Test HAVE_CXX_WNO_UNUSED_RESULT - Success
-- Performing Test HAVE_CXX_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION
-- Performing Test HAVE_CXX_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION - Failed
-- Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS
-- Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS - Success
-- Found TBB (cmake): _lib-NOTFOUND
-- IPPICV: Download: ippicv_2020_lnx_intel64_20191018_general.tgz
-- found Intel IPP (ICV version): 2020.0.0 [2020.0.0 Gold]
-- at: /home/arkk/code/opencv_build-4.5.4/3rdparty/ippicv/ippicv_lnx/icv
-- found Intel IPP Integration Wrappers sources: 2020.0.0
-- at: /home/arkk/code/opencv_build-4.5.4/3rdparty/ippicv/ippicv_lnx/iw
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found CUDNN: /opt/cuda/lib64/libcudnn.so (found suitable version "8.2.4", minimum required is "7.5") 
-- CUDA detected: 11.4
CMake Warning at cmake/OpenCVDetectCUDA.cmake:176 (message):
  CUDA: Autodetection arch list is empty.  Please enable
  OPENCV_CMAKE_CUDA_DEBUG=1 and check/specify
  OPENCV_CUDA_DETECTION_NVCC_FLAGS variable
Call Stack (most recent call first):
  cmake/OpenCVDetectCUDA.cmake:268 (ocv_filter_available_architecture)
  cmake/OpenCVFindLibsPerf.cmake:43 (include)
  CMakeLists.txt:727 (include)


-- CUDA NVCC target flags: -D_FORCE_INLINES
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Found MKL 2019.0.4 at: /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl
-- LAPACK(MKL): LAPACK_LIBRARIES: /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.so;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_sequential.so;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_core.so;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.so;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_sequential.so;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_core.so;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.so;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_sequential.so;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_core.so;-lpthread;-lm;-ldl
-- LAPACK(MKL): Support is enabled.
-- Found JNI: /etc/java-config-2/current-system-vm/jre/lib/amd64/libjawt.so  
-- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE
-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success
-- Performing Test HAVE_C_WNO_SHADOW
-- Performing Test HAVE_C_WNO_SHADOW - Success
-- Looking for dlerror in dl
-- Looking for dlerror in dl - found
-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH
-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Success
-- Performing Test HAVE_C_WNO_UNDEF
-- Performing Test HAVE_C_WNO_UNDEF - Success
-- Performing Test HAVE_C_WNO_SIGN_COMPARE
-- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success
-- ADE: Download: v0.1.1f.zip
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.29
-- Checking for module 'gtk+-2.0'
--   Found gtk+-2.0, version 2.24.33
-- Checking for module 'gthread-2.0'
--   Found gthread-2.0, version 2.70.0
-- OpenCV Python: during development append to PYTHONPATH: /home/arkk/code/opencv_build-4.5.4/python_loader
-- Performing Test HAVE_CXX_WNO_STRICT_ALIASING
-- Performing Test HAVE_CXX_WNO_STRICT_ALIASING - Success
-- Checking for modules 'libavcodec;libavformat;libavutil;libswscale'
--   Found libavcodec, version 58.134.100
--   Found libavformat, version 58.76.100
--   Found libavutil, version 56.70.100
--   Found libswscale, version 5.9.100
-- Checking for module 'libavresample'
--   Found libavresample, version 4.0.0
-- Checking for module 'gstreamer-base-1.0'
--   Found gstreamer-base-1.0, version 1.18.4
-- Checking for module 'gstreamer-app-1.0'
--   Found gstreamer-app-1.0, version 1.18.4
-- Checking for module 'gstreamer-riff-1.0'
--   Found gstreamer-riff-1.0, version 1.18.4
-- Checking for module 'gstreamer-pbutils-1.0'
--   Found gstreamer-pbutils-1.0, version 1.18.4
-- Checking for module 'gstreamer-video-1.0'
--   Found gstreamer-video-1.0, version 1.18.4
-- Checking for module 'libdc1394-2'
--   Package 'libdc1394-2', required by 'virtual:world', not found
-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER
-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION
-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_VARIABLE
-- Performing Test HAVE_CXX_WNO_UNUSED_VARIABLE - Success
-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE
-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE - Success
-- Checking for module 'freetype2'
--   Found freetype2, version 24.0.18
-- Checking for module 'harfbuzz'
--   Found harfbuzz, version 3.1.1
-- freetype2:   YES (ver 24.0.18)
-- harfbuzz:    YES (ver 3.1.1)
-- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) (found version "")
-- Julia not found. Not compiling Julia Bindings. 
-- Module opencv_ovis disabled because OGRE3D was not found
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
-- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h
-- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h
-- Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags
-- Checking for module 'tesseract'
--   Package 'tesseract', required by 'virtual:world', not found
-- Tesseract:   NO
-- Module opencv_objdetect disabled because opencv_dnn dependency can't be resolved!
-- Module opencv_barcode disabled because opencv_dnn dependency can't be resolved!
-- Module opencv_cudaobjdetect disabled because opencv_objdetect dependency can't be resolved!
-- Module opencv_dnn_objdetect disabled because opencv_dnn dependency can't be resolved!
-- Module opencv_dnn_superres disabled because opencv_dnn dependency can't be resolved!
-- Module opencv_dpm disabled because opencv_objdetect dependency can't be resolved!
-- Module opencv_face disabled because opencv_objdetect dependency can't be resolved!
-- Module opencv_mcc disabled because opencv_dnn dependency can't be resolved!
-- Module opencv_text disabled because opencv_dnn dependency can't be resolved!
-- Module opencv_wechat_qrcode disabled because opencv_dnn dependency can't be resolved!
-- Module opencv_xobjdetect disabled because opencv_objdetect dependency can't be resolved!
-- Allocator metrics storage type: 'long long'
-- Performing Test HAVE_CXX_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_CXX_WNO_UNUSED_BUT_SET_VARIABLE - Success
-- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL
-- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL - Success
-- highgui: using builtin backend: GTK3
-- xfeatures2d/boostdesc: Download: boostdesc_bgm.i
-- xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i
-- xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i
-- xfeatures2d/boostdesc: Download: boostdesc_lbgm.i
-- xfeatures2d/vgg: Download: vgg_generated_48.i
-- xfeatures2d/vgg: Download: vgg_generated_64.i
-- xfeatures2d/vgg: Download: vgg_generated_80.i
-- xfeatures2d/vgg: Download: vgg_generated_120.i
-- NVIDIA_OPTICAL_FLOW: Download: edb50da3cf849840d680249aa6dbef248ebce2ca.zip
-- Building with NVIDIA Optical Flow API 2.0
-- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD
-- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD - Failed
-- Found mat_wrapper;utils Python modules from /home/arkk/code/opencv-4.5.4/modules/core/misc/python/package
-- Found gapi Python modules from /home/arkk/code/opencv-4.5.4/modules/gapi/misc/python/package
-- Found misc Python modules from /home/arkk/code/opencv-4.5.4/modules/python/python3/../package/extra_modules
-- 
-- General configuration for OpenCV 4.5.4 =====================================
--   Version control:               4.5.4
-- 
--   Extra modules:
--     Location (extra):            /home/arkk/code/opencv_contrib-4.5.4/modules
--     Version control (extra):     4.5.4
-- 
--   Platform:
--     Timestamp:                   2021-12-21T17:40:02Z
--     Host:                        Linux 5.15.1-gentoo-x86_64 x86_64
--     CMake:                       3.21.4
--     CMake generator:             Unix Makefiles
--     CMake build tool:            /usr/bin/gmake
--     Configuration:               Release
-- 
--   CPU/HW features:
--     Baseline:                    SSE SSE2 SSE3
--       requested:                 SSE3
--     Dispatched code generation:  SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
--       requested:                 SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
--       SSE4_1 (15 files):         + SSSE3 SSE4_1
--       SSE4_2 (1 files):          + SSSE3 SSE4_1 POPCNT SSE4_2
--       FP16 (0 files):            + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
--       AVX (3 files):             + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
--       AVX2 (28 files):           + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
--       AVX512_SKX (3 files):      + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX
-- 
--   C/C++:
--     Built as dynamic libs?:      YES
--     C++ standard:                11
--     C++ Compiler:                /usr/lib/ccache/bin/c++  (ver 9.3.0)
--     C++ flags (Release):         -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
--     C++ flags (Debug):           -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
--     C Compiler:                  /usr/lib/ccache/bin/cc
--     C flags (Release):           -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG  -DNDEBUG
--     C flags (Debug):             -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
--     Linker flags (Release):      -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a   -Wl,--gc-sections -Wl,--as-needed  
--     Linker flags (Debug):        -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a   -Wl,--gc-sections -Wl,--as-needed  
--     ccache:                      YES
--     Precompiled headers:         NO
--     Extra dependencies:          m pthread cudart_static dl rt nppc nppial nppicc nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cudnn cufft -L/opt/cuda/lib64 -L/usr/lib64
--     3rdparty dependencies:
-- 
--   OpenCV modules:
--     To be built:                 alphamat aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaoptflow cudastereo cudawarping cudev datasets features2d flann freetype fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor ml optflow phase_unwrapping photo plot python3 quality rapid reg rgbd saliency shape stereo stitching structured_light superres surface_matching tracking video videoio videostab xfeatures2d ximgproc xphoto
--     Disabled:                    world
--     Disabled by dependency:      barcode cudaobjdetect dnn_objdetect dnn_superres dpm face mcc objdetect text wechat_qrcode xobjdetect
--     Unavailable:                 cvv dnn hdf java julia matlab ovis python2 sfm ts viz
--     Applications:                -
--     Documentation:               NO
--     Non-free algorithms:         NO
-- 
--   GUI:                           GTK3
--     GTK+:                        YES (ver 3.24.29)
--       GThread :                  YES (ver 2.70.0)
--       GtkGlExt:                  NO
--     VTK support:                 NO
-- 
--   Media I/O: 
--     ZLib:                        /usr/lib64/libz.so (ver 1.2.11)
--     JPEG:                        /usr/lib64/libjpeg.so (ver unknown)
--     WEBP:                        /usr/lib64/libwebp.so (ver encoder: 0x020f)
--     PNG:                         /usr/lib64/libpng.so (ver 1.6.37)
--     TIFF:                        /usr/lib64/libtiff.so (ver 42 / 4.3.0)
--     JPEG 2000:                   OpenJPEG (ver 2.4.0)
--     OpenEXR:                     build (ver 2.3.0)
--     HDR:                         YES
--     SUNRASTER:                   YES
--     PXM:                         YES
--     PFM:                         YES
-- 
--   Video I/O:
--     DC1394:                      NO
--     FFMPEG:                      YES
--       avcodec:                   YES (58.134.100)
--       avformat:                  YES (58.76.100)
--       avutil:                    YES (56.70.100)
--       swscale:                   YES (5.9.100)
--       avresample:                YES (4.0.0)
--     GStreamer:                   YES (1.18.4)
--     v4l/v4l2:                    YES (linux/videodev2.h)
-- 
--   Parallel framework:            TBB (ver 2021.4 interface 12040)
-- 
--   Trace:                         YES (with Intel ITT)
-- 
--   Other third-party libraries:
--     Intel IPP:                   2020.0.0 Gold [2020.0.0]
--            at:                   /home/arkk/code/opencv_build-4.5.4/3rdparty/ippicv/ippicv_lnx/icv
--     Intel IPP IW:                sources (2020.0.0)
--               at:                /home/arkk/code/opencv_build-4.5.4/3rdparty/ippicv/ippicv_lnx/iw
--     VA:                          YES
--     Lapack:                      YES (/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.so /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_sequential.so /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_core.so /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.so /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_sequential.so /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_core.so /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.so /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_sequential.so /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_core.so -lpthread -lm -ldl)
--     Eigen:                       YES (ver 3.3.90)
--     Custom HAL:                  NO
-- 
--   NVIDIA CUDA:                   YES (ver 11.4, CUFFT CUBLAS)
--     NVIDIA GPU arch:
--     NVIDIA PTX archs:
-- 
--   cuDNN:                         YES (ver 8.2.4)
-- 
--   OpenCL:                        YES (INTELVA)
--     Include path:                /home/arkk/code/opencv-4.5.4/3rdparty/include/opencl/1.2
--     Link libraries:              Dynamic load
-- 
--   Python 3:
--     Interpreter:                 /usr/bin/python3 (ver 3.9.8)
--     Libraries:                   /usr/lib64/libpython3.9.so (ver 3.9.8)
--     numpy:                       /usr/lib/python3.9/site-packages/numpy/core/include (ver 1.21.4)
--     install path:                lib/python3.9/site-packages/cv2/python-3.9
-- 
--   Python (for build):            /usr/bin/python2.7
-- 
--   Java:                          
--     ant:                         NO
--     JNI:                         /etc/java-config-2/current-system-vm/include /etc/java-config-2/current-system-vm/include/linux /etc/java-config-2/current-system-vm/include
--     Java wrappers:               NO
--     Java tests:                  NO
-- 
--   Install to:                    /usr/local
-- -----------------------------------------------------------------
-- 

@acidtonic
Copy link
Author

grep -i TBB CMakeVars.txt


BUILD_TBB=OFF
CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES=/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/ipp/include;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/include;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/pstl/include;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/tbb/include;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/daal/include;/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9;/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/x86_64-pc-linux-gnu;/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/backward;/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include-fixed;/usr/include
CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES=/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0;/usr/lib64;/lib64;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mpi/intel64/libfabric/lib;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/ipp/lib/intel64;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/compiler/lib/intel64_lin;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64_lin;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/tbb/lib/intel64/gcc4.7;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/daal/lib/intel64_lin;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/tbb/lib/intel64_lin/gcc4.4;/usr/x86_64-pc-linux-gnu/lib;/usr/lib
CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES=/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/ipp/include;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/include;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/pstl/include;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/tbb/include;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/daal/include;/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include-fixed;/usr/include
CMAKE_C_IMPLICIT_LINK_DIRECTORIES=/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0;/usr/lib64;/lib64;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mpi/intel64/libfabric/lib;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/ipp/lib/intel64;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/compiler/lib/intel64_lin;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64_lin;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/tbb/lib/intel64/gcc4.7;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/daal/lib/intel64_lin;/home/arkk/intel/compilers_and_libraries_2019.4.243/linux/tbb/lib/intel64_lin/gcc4.4;/usr/x86_64-pc-linux-gnu/lib;/usr/lib
CPACK_DEB_DEV_PACKAGE_DEPENDS=libtbb-dev
HAVE_TBB=TRUE
MKL_WITH_TBB=OFF
OPENCV_MODULE_opencv_core_HEADERS=/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/affine.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/async.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/base.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/bindings_utils.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/bufferpool.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/check.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/core.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/core_c.h;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda.inl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/block.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/border_interpolate.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/color.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/common.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/datamov_utils.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/detail/color_detail.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/detail/reduce.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/detail/type_traits_detail.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/detail/vec_distance_detail.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/dynamic_smem.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/emulation.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/filters.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/funcattrib.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/functional.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/limits.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/reduce.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/saturate_cast.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/scan.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/simd_functions.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/transform.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/type_traits.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/utility.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/vec_distance.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/vec_math.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/vec_traits.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/warp.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/warp_reduce.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda/warp_shuffle.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda_stream_accessor.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cuda_types.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cv_cpu_dispatch.h;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cv_cpu_helper.h;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cvdef.h;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cvstd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cvstd.inl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/cvstd_wrapper.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/detail/async_promise.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/detail/exception_ptr.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/directx.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/dualquaternion.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/dualquaternion.inl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/eigen.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/fast_math.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/hal.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/interface.h;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_avx.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_avx512.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_cpp.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_forward.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_msa.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_neon.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_rvv.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_rvv071.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_sse.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_sse_em.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_vsx.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/intrin_wasm.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/msa_macros.h;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/mat.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/mat.inl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/matx.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/neon_utils.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/ocl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/ocl_genbase.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/ocl_defs.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/opencl_info.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/opencl_svm.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_clblas.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_clfft.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_core_wrappers.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/opencl_clblas.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/opencl_clfft.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/opencl_core.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/opencl_core_wrappers.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/opencl_gl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/opencl_gl_wrappers.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/opencl_svm_20.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/opencl_svm_definitions.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opencl/runtime/opencl_svm_hsa_extension.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/opengl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/operations.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/optim.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/ovx.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/parallel/backend/parallel_for.openmp.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/parallel/backend/parallel_for.tbb.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/parallel/parallel_backend.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/persistence.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/private.cuda.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/private.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/quaternion.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/quaternion.inl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/saturate.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/simd_intrinsics.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/softfloat.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/sse_utils.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/traits.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/types.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/types_c.h;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utility.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/allocator_stats.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/allocator_stats.impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/buffer_area.private.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/configuration.private.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/filesystem.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/filesystem.private.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/instrumentation.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/lock.private.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/logger.defines.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/logger.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/logtag.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/plugin_loader.private.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/tls.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/trace.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/utils/trace.private.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/va_intel.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/version.hpp;/home/arkk/code/opencv-4.5.4/modules/core/include/opencv2/core/vsx_utils.hpp
OPENCV_MODULE_opencv_core_LINK_DEPS=;tbb
OPENCV_MODULE_opencv_core_SOURCES=/home/arkk/code/opencv_build-4.5.4/modules/core/version_string.inc;/home/arkk/code/opencv-4.5.4/modules/core/src/algorithm.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/alloc.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/arithm.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/arithm.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/array.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/async.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/batch_distance.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/bindings_utils.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/buffer_area.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/channels.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/check.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/command_line_parser.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/conjugate_gradient.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/convert.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/convert_c.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/convert_scale.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/copy.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/count_non_zero.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/cuda_gpu_mat.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/cuda_gpu_mat_nd.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/cuda_host_mem.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/cuda_info.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/cuda_stream.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/datastructs.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/directx.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/downhill_simplex.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/dxt.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/gl_core_3_1.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/glob.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/hal_internal.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/kmeans.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/lapack.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/lda.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/logger.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/lpsolver.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/lut.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/mathfuncs.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/mathfuncs_core.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/matmul.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/matrix.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/matrix_c.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/matrix_decomp.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/matrix_expressions.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/matrix_iterator.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/matrix_operations.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/matrix_sparse.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/matrix_transform.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/matrix_wrap.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/mean.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/merge.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/minmax.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/norm.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/ocl.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/runtime/opencl_clblas.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/runtime/opencl_clfft.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/runtime/opencl_core.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opengl.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/out.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/ovx.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel/parallel.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel/parallel_openmp.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel/parallel_tbb.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel_impl.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/pca.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/persistence.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/persistence_base64_encoding.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/persistence_json.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/persistence_types.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/persistence_xml.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/persistence_yml.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/rand.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/softfloat.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/split.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/stat.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/stat_c.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/stl.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/sum.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/system.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/tables.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/trace.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/types.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/umatrix.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/utils/datafile.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/utils/filesystem.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/utils/logtagconfigparser.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/utils/logtagmanager.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/utils/samples.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/va_intel.cpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/arithm.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/convert.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/copymakeborder.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/copyset.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/cvtclr_dx.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/fft.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/flip.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/gemm.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/halfconvert.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/inrange.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/intel_gemm.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/lut.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/meanstddev.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/minmaxloc.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/mixchannels.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/mulspectrums.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/normalize.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/reduce.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/reduce2.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/repeat.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/set_identity.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/split_merge.cl;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/transpose.cl;/home/arkk/code/opencv_build-4.5.4/modules/core/opencl_kernels_core.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/opencl_kernels_core.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/arithm.simd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/arithm_ipp.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/bufferpool.impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/convert.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/convert.simd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/convert_scale.simd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/count_non_zero.simd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/directx.inc.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/gl_core_3_1.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/hal_internal.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/hal_replacement.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/intel_gpu_gemm.inl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/mathfuncs.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/mathfuncs_core.simd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/matmul.simd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/mean.simd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/merge.simd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/ocl_disabled.impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/runtime/autogenerated/opencl_clblas_impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/runtime/autogenerated/opencl_clfft_impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/runtime/autogenerated/opencl_core_impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/runtime/autogenerated/opencl_core_static_impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/runtime/autogenerated/opencl_gl_impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/runtime/autogenerated/opencl_gl_static_impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/opencl/runtime/runtime_common.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel/factory_parallel.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel/parallel.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel/plugin_parallel_api.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel/plugin_parallel_wrapper.impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel/registry_parallel.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel/registry_parallel.impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/parallel_impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/persistence.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/persistence_base64_encoding.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/persistence_impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/precomp.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/split.simd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/stat.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/stat.simd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/sum.simd.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/umatrix.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/utils/logtagconfig.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/utils/logtagconfigparser.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/utils/logtagmanager.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/utils/plugin_loader.impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/va_wrapper.impl.hpp;/home/arkk/code/opencv-4.5.4/modules/core/src/cuda/gpu_mat.cu;/home/arkk/code/opencv-4.5.4/modules/core/src/cuda/gpu_mat_nd.cu;/home/arkk/code/opencv_build-4.5.4/modules/core/arithm.sse4_1.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/matmul.sse4_1.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/stat.sse4_2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/mathfuncs_core.avx.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/mathfuncs_core.avx2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/stat.avx2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/arithm.avx2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/convert.avx2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/convert_scale.avx2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/count_non_zero.avx2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/matmul.avx2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/mean.avx2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/merge.avx2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/split.avx2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/sum.avx2.cpp;/home/arkk/code/opencv_build-4.5.4/modules/core/matmul.avx512_skx.cpp
OPENCV_MODULE_opencv_gapi_SOURCES=/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/grunarg.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/gorigin.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/gmat.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/garray.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/gopaque.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/gscalar.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/gframe.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/gkernel.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/gbackend.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/gproto.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/gnode.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/gcall.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/gcomputation.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/operators.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/kernels_core.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/kernels_imgproc.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/kernels_video.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/kernels_nnparsers.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/kernels_streaming.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/kernels_stereo.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/render.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/render_ocv.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/ginfer.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/media.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/rmat.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/gmodel.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/gmodelbuilder.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/gislandmodel.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/gcompiler.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/gcompiled.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/gstreaming.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/passes/helpers.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/passes/dump_dot.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/passes/islands.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/passes/meta.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/passes/kernels.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/passes/exec.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/passes/transformations.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/passes/pattern_matching.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/passes/perform_substitution.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/passes/streaming.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/compiler/passes/intrin.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/executor/gexecutor.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/executor/gtbbexecutor.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/executor/gstreamingexecutor.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/executor/gasync.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/cpu/gcpubackend.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/cpu/gcpukernel.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/cpu/gcpuimgproc.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/cpu/gcpustereo.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/cpu/gcpuvideo.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/cpu/gcpucore.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/cpu/gnnparsers.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/fluid/gfluidbuffer.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/fluid/gfluidbackend.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/fluid/gfluidimgproc.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/fluid/gfluidimgproc_func.dispatch.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/fluid/gfluidcore.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/ocl/goclbackend.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/ocl/goclkernel.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/ocl/goclimgproc.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/ocl/goclcore.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/ie/giebackend.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/ie/giebackend/giewrapper.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/onnx/gonnxbackend.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/render/grenderocv.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/render/ft_render.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/plaidml/gplaidmlcore.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/plaidml/gplaidmlbackend.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/common/gmetabackend.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/common/gcompoundbackend.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/common/gcompoundkernel.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/api/s11n.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/common/serialization.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/streaming/gstreamingbackend.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/ie/bindings_ie.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/backends/python/gpythonbackend.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/source.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/source_priv.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/file_data_provider.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/cfg_params.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/data_provider_interface_exception.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/accelerators/surface/cpu_frame_adapter.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/accelerators/surface/surface.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/accelerators/surface/surface_pool.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/accelerators/accel_policy_cpu.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/accelerators/accel_policy_dx11.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/engine/engine_session.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/engine/processing_engine_base.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/engine/decode/decode_engine_legacy.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/streaming/onevpl/engine/decode/decode_session.cpp;/home/arkk/code/opencv-4.5.4/modules/gapi/src/utils/itt.cpp;/home/arkk/code/opencv_build-4.5.4/modules/gapi/backends/fluid/gfluidimgproc_func.sse4_1.cpp;/home/arkk/code/opencv_build-4.5.4/modules/gapi/backends/fluid/gfluidimgproc_func.avx2.cpp
OPENCV_VERIFICATIONS=WITH_1394;WITH_AVFOUNDATION;WITH_CAP_IOS;WITH_CPUFEATURES;WITH_VTK;WITH_CUDA;WITH_CUFFT;WITH_CUBLAS;WITH_CUDNN;WITH_NVCUVID;WITH_EIGEN;WITH_FFMPEG;WITH_GSTREAMER;WITH_GTK;WITH_GTK_2_X;WITH_IPP;WITH_HALIDE;WITH_VULKAN;WITH_INF_ENGINE;WITH_NGRAPH;WITH_JASPER;WITH_OPENJPEG;WITH_JPEG;WITH_WEBP;WITH_OPENEXR;WITH_OPENGL;WITH_OPENVX;WITH_OPENNI;WITH_OPENNI2;WITH_PNG;WITH_GDCM;WITH_PVAPI;WITH_ARAVIS;WITH_QT;WITH_WIN32UI;WITH_TBB;WITH_HPX;WITH_OPENMP;WITH_PTHREADS_PF;WITH_TIFF;WITH_V4L;WITH_DSHOW;WITH_MSMF;WITH_MSMF_DXVA;WITH_XIMEA;WITH_UEYE;WITH_XINE;WITH_CLP;WITH_OPENCL;WITH_OPENCL_SVM;WITH_OPENCLAMDFFT;WITH_OPENCLAMDBLAS;WITH_DIRECTX;WITH_OPENCL_D3D11_NV;WITH_LIBREALSENSE;WITH_VA;WITH_VA_INTEL;WITH_MFX;WITH_GDAL;WITH_GPHOTO2;WITH_LAPACK;WITH_ITT;WITH_PROTOBUF;WITH_IMGCODEC_HDR;WITH_IMGCODEC_SUNRASTER;WITH_IMGCODEC_PXM;WITH_IMGCODEC_PFM;WITH_QUIRC;WITH_ANDROID_MEDIANDK;WITH_ANDROID_NATIVE_CAMERA;WITH_TENGINE;WITH_ONNX;WITH_TESSERACT
OPENCV_VERIFY_WITH_TBB=HAVE_TBB
TBB_DIR=/usr/lib64/cmake/TBB
TBB_INTERFACE_VERSION=12040
TBB_VERSION_MAJOR=2021
TBB_VERSION_MINOR=4
TBB_VER_FILE=/usr/include/oneapi/tbb/version.h
WITH_TBB=YES
set(CPACK_DEB_DEV_PACKAGE_DEPENDS "libtbb-dev")
parallel_status=TBB (ver 2021.4 interface 12040)

@alalek
Copy link
Member

alalek commented Dec 21, 2021

I see here 3 versions of TBB:

  • system: /usr/lib64/cmake/TBB
  • intel compiler package: /home/arkk/intel/compilers_and_libraries_2019.4.243/linux/tbb/include , activated with MKL
  • oneapi's TBB: /usr/include/oneapi/tbb/version.h

This configuration cause some mess.

CMake scripts fails to find TBB properly:

-- Found TBB (cmake): _lib-NOTFOUND


This is a configuration problem which unlikely can be resolved in OpenCV.
Need to specify TBB* variables manually through CMake command-line.


You can trace cmake scripts through adding --trace-expand (+ -DCMAKE_TRACE_MODE=ON to avoid 800Mb log).


We don't help with remote investigation of problems which we are not able to reproduce on our side (because it is very time consuming and usually configuration problem without any following fix into OpenCV), but we can take a look on the clear reason of the problem and suggest some fix/workaround.

@acidtonic
Copy link
Author

This is a development machine with a lot going on so I would agree with your read on the situation. For now I'll wait and see if I run into another box that has this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants