Skip to content
Snippets Groups Projects
Commit 42e2dc12 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

bug in opencv

parent 7919eae4
No related branches found
No related tags found
No related merge requests found
Pipeline #8635 failed
......@@ -416,6 +416,7 @@ if [ $INSTALL_VISION == "y" ]; then
git clone --depth 1 -b 3.3.0 https://github.com/opencv/opencv_contrib.git
mkdir build
cd build
sed -i 's/char\* str = PyString_AsString(obj)/const char\* str = PyString_AsString(obj)/g' ../modules/python/src2/cv2.cpp
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D CMAKE_CXX_FLAGS="-fPIC -std=c++14" -D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules ..
make -j$CORES
func_make_install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment