-
-
Notifications
You must be signed in to change notification settings - Fork 55.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error for python bindings with opencv_contrib modules #6016
Comments
Thanks for report! |
I have encountered exactly the same error in ubuntu 16.04, and have solved the problem using @avtomaton 's method |
I have encountered exactly the same error with version 3.1.0 in Ubuntu 15.10, and have solved the problem using @avtomaton 's method. |
What steps do I have to repeat after adding these lines to common.cmake? |
I just run make once again and it compiled (U16.04). |
… No such file or directory
… No such file or directory
Works charm on ubuntu16.04.2 with ROS kinetic, thanks 😄 |
Where exactly do i need to add these lines ?? |
@Ramit-Pahwa that file is located at |
@Ramit-Pahwa And I added them on like the 3rd line of the file, so that
became
And this worked for me, I only had to run make again (Ubuntu 16.10) |
local fix of the issue reported here opencv#6016
Worked like a charm. Thanks a lot !! @avtomaton |
Worked for me, thanks |
I made: $ sudo apt-get install -y libhdf5-dev There's all that u need to QT and OpenCV if u need: |
does anyone know by any chance if the procedure to install it is the same on a Raspberry Pi 3. I got the same error and I followed the recommendation that @avtomaton made but it didn't work |
home/nvidia/opencv/opencv-3.4.5/build/modules/python_bindings_generator/pyopencv_generated_include.h:14:10: fatal error: opencv2/hdf/hdf5.hpp: No such file or directory |
Build from latest version (1cd3c6f) with
-DOPENCV_EXTRA_MODULES_PATH=<path to my contrib modules>
produces the following error:I attached makefile output for this error. It seems that for python2 and python3 modules there are no include paths for HDF5, i. e. dirty hardcoding
into modules/python/common.cmake solves the problem. I believe that it is not nice solution, that's why I don't attach pull request.
make-verbose.txt
The text was updated successfully, but these errors were encountered: