Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to compile OpenCV with IPP support

📅 2013-Oct-04 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ intel ipp, opencv ⬩ 📚 Archive

Intel IPP is supposed to speed up certain operations in OpenCV. To try that I compiled OpenCV with support for Intel IPP using these steps:

  1. Download and install Intel IPP as explained here. Make sure that the IPPROOT environment variable is set.

  2. Compile OpenCV from source as explained here. Make sure to download the latest version of OpenCV from Github here.

  3. In the CMake compilation string, add the following option: -D WITH_IPP=ON

You should be able to compile OpenCV with IPP support now.

Note: I had tried to compile OpenCV with Intel IPP 8.0. But, I got a few undefined reference errors with those, which I could not resolve.

Tried with: OpenCV 2.4, Intel IPP 7.1 and Ubuntu 12.04 LTS

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧