You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remark:
Clone their 3.4 repository, "OpenCV 4.x+ requires enabled C++11 support" and would require other workarounds. Using git clone -b 3.4 https://github.com/opencv/opencv.git fixed it right away.
Also set the "-DOPENCV_GENERATE_PKGCONFIG=ON" when executing make: cmake -DCMAKE_BUILD_TYPE=Release -DOPENCV_GENERATE_PKGCONFIG=ON -DCMAKE_INSTALL_PREFIX=/usr/local .. such that your Makefile for the homework can set the required flags through pkg-config.
The text was updated successfully, but these errors were encountered:
For whoever wants to try the OpenCV Webcam exercise, I ran in minor issues. So I'll leave my learnings here for future reference.
Install OpenCV using their install guide.
Remark:
Clone their 3.4 repository, "OpenCV 4.x+ requires enabled C++11 support" and would require other workarounds. Using
git clone -b 3.4 https://github.com/opencv/opencv.git
fixed it right away.Also set the "-DOPENCV_GENERATE_PKGCONFIG=ON" when executing make:
cmake -DCMAKE_BUILD_TYPE=Release -DOPENCV_GENERATE_PKGCONFIG=ON -DCMAKE_INSTALL_PREFIX=/usr/local ..
such that your Makefile for the homework can set the required flags throughpkg-config
.The text was updated successfully, but these errors were encountered: