- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to compile a C++ application that requires OpenCV. Is OpenCV available on DevCloud? What should be the include path to compile with g++? And how do I link the executable to the OpenCV libraries?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
OpenCV does not fall under the scope of oneAPI DevCloud. As such we will not install it.
oneAPI DevCloud users have the opportunity to build it from source.
Here's a general idea of the steps you can take in order to build it from source:
git clone https://github.com/opencv/opencv.git
cd opencv
mkdir build
cd build
cmake -D INSTALL_PYTHON_EXAMPLES=ON -D INSTALL_C_EXAMPLES=ON ..
make -j$(nproc)
More info on the OpenCV official pages: https://docs.opencv.org/4.x/d7/d9f/tutorial_linux_install.html
If this resolves your issue, make sure to accept this as a solution. This helps others with similar issue.
Regards,
Alekhya
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities. Could you please let us know which DevCloud you're using? Is it DevCloud for oneAPI or DevCloud for Edge or DevCloud for FPGA?
Regards,
Alekhya
Regards,
Alekhya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
It's DevCloud for oneAPI. So far, the only solution I've found is building OpenCV locally. Is there another way to use OpenCV in DevCloud for oneAPI?
Thanks,
Brayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
OpenCV does not fall under the scope of oneAPI DevCloud. As such we will not install it.
oneAPI DevCloud users have the opportunity to build it from source.
Here's a general idea of the steps you can take in order to build it from source:
git clone https://github.com/opencv/opencv.git
cd opencv
mkdir build
cd build
cmake -D INSTALL_PYTHON_EXAMPLES=ON -D INSTALL_C_EXAMPLES=ON ..
make -j$(nproc)
More info on the OpenCV official pages: https://docs.opencv.org/4.x/d7/d9f/tutorial_linux_install.html
If this resolves your issue, make sure to accept this as a solution. This helps others with similar issue.
Regards,
Alekhya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for accepting our solution. If you need any further assistance, please post a new question as this thread will no longer be monitored by Intel.
Regards,
Alekhya
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page