-
Notifications
You must be signed in to change notification settings - Fork 16
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
"conda build conda" fails with error "cannot find hdf5.h" and build is pointing to a scrambled path like " _b_env_placehold_placehold_placehold_placehold.... goes on" #15
Comments
The placeholder is expected conda behaviour - it has to do with inserting the maximum path possible so that relocatable binaries are created. I obviously built the code here and uploaded it and didn't see the issue you are describing - so it's likely that your setup is slightly different than mine. In terms of a 'newer' version of OpenCV, 3.2.0 was just released but I haven't had time to invest in creating a working build for it yet (as this is a very time consuming effort) - see #14. |
Patrick , appreciate the quick response. Do you have any docs that i can refer for making conda-recipe for opencv |
You may have some luck setting this:
before running the CMake command? |
@VishnuMadhu I am facing a similar problem. Were you able to resolve the issue? |
Same; hdf5 is referenced in the Though I did notice in the initial conda environment setup, before the
there's no mention of hdf5 anywhere in that list of installed packages. |
Please use the conda-forge opencv where I just pushed a new build for OpenCV 3.2.0 (wait an hour or two for it to be uploaded) |
oooOOOoooo, thank you, will do! |
@patricksnape , it works. Thanks! |
I am pretty new to conda builds , please forgive my lack of knowledge
I wonder why no one has reported this issue.
For me conda build conda fails at 98% . Probable cause is some wrong headers included in modules/hdf/include/opencv2/hdf/hdf5.hpp .
But this issue seems to be already closed in the opencv - master long time back Fix: public hdf headers
On inspecting meta.yaml , I could see an opencv archive getting downloaded .
Can we change this archive to point to something new and do conda build ? Please provide suggestions for a successful build
The text was updated successfully, but these errors were encountered: