<p dir="auto">E.g.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ 94%] Built target opencv_videoio
[100%] Built target opencv_highgui
Linking CXX executable ../../bin/opengl-example-opengl_interop
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_group_context::cancel_group_execution()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::interface5::internal::task_base::destroy(tbb::task&amp;)'
../../lib/libopencv_core.so.3.0.0: undefined reference to `tbb::task_scheduler_init::initialize(int)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task::note_affinity(unsigned short)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::handle_perror(int, char const*)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::NFS_Allocate(unsigned long, unsigned long, void*)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::NFS_Free(void*)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_group_context::is_group_execution_cancelled() const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned long) const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::throw_exception_v4(tbb::internal::exception_id)'
../../lib/libopencv_core.so.3.0.0: undefined reference to `tbb::task_scheduler_init::terminate()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `typeinfo for tbb::task'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_group_context::reset()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `vtable for tbb::task'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&amp;) const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_group_context::init()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::allocate_additional_child_of_proxy::allocate(unsigned long) const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_scheduler_init::default_num_threads()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::get_initial_auto_partitioner_divisor()'
../../lib/libopencv_core.so.3.0.0: undefined reference to `tbb::task_scheduler_init::initialize(int, unsigned long)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_group_context::~task_group_context()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned long) const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned long) const'
collect2: error: ld returned 1 exit status
make[3]: *** [bin/opengl-example-opengl_interop] Error 1
make[2]: *** [samples/opengl/CMakeFiles/example_opengl_opengl_interop.dir/all] Error 2
make[1]: *** [samples/opengl/CMakeFiles/example_opengl_opengl_interop.dir/rule] Error 2
make: *** [example_opengl_opengl_interop] Error 2"><pre class="notranslate"><code class="notranslate">[ 94%] Built target opencv_videoio
[100%] Built target opencv_highgui
Linking CXX executable ../../bin/opengl-example-opengl_interop
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_group_context::cancel_group_execution()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::interface5::internal::task_base::destroy(tbb::task&amp;)'
../../lib/libopencv_core.so.3.0.0: undefined reference to `tbb::task_scheduler_init::initialize(int)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task::note_affinity(unsigned short)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::handle_perror(int, char const*)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::NFS_Allocate(unsigned long, unsigned long, void*)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::NFS_Free(void*)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_group_context::is_group_execution_cancelled() const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned long) const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::throw_exception_v4(tbb::internal::exception_id)'
../../lib/libopencv_core.so.3.0.0: undefined reference to `tbb::task_scheduler_init::terminate()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `typeinfo for tbb::task'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_group_context::reset()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `vtable for tbb::task'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&amp;) const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_group_context::init()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::allocate_additional_child_of_proxy::allocate(unsigned long) const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_scheduler_init::default_num_threads()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::get_initial_auto_partitioner_divisor()'
../../lib/libopencv_core.so.3.0.0: undefined reference to `tbb::task_scheduler_init::initialize(int, unsigned long)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::task_group_context::~task_group_context()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned long) const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned long) const'
collect2: error: ld returned 1 exit status
make[3]: *** [bin/opengl-example-opengl_interop] Error 1
make[2]: *** [samples/opengl/CMakeFiles/example_opengl_opengl_interop.dir/all] Error 2
make[1]: *** [samples/opengl/CMakeFiles/example_opengl_opengl_interop.dir/rule] Error 2
make: *** [example_opengl_opengl_interop] Error 2
</code></pre></div>
<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; 3.3</li>
<li>Operating System / Platform =&gt; Windows 10 64 Bit</li>
<li>Compiler =&gt; Visual Studio 2015</li>
</ul>
<h5 dir="auto">Detailed description</h5>

<h5 dir="auto">Steps to reproduce</h5>

<p dir="auto">Duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="283912246" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/10377" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv/issues/10377/hovercard" href="https://github.com/opencv/opencv/issues/10377">#10377</a></p>