-
Notifications
You must be signed in to change notification settings - Fork 556
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
Add comment to OpenCV to force rebuild #7941
base: master
Are you sure you want to change the base?
Conversation
Looks like upstream opencv needs to update the Julia modules because the Julia API has changed. The errors being thrown on the 1.11 build are:
The FreeBSD builds are failing because the headers have changed, and so it needs another include statement added to the file:
|
I can confirm that using the new artifact OpenCV.v4.6.0.x86_64-linux-gnu-cxx11-julia_version+1.10.0.tar.gz and OpenCV.jl from JuliaImages/OpenCV.jl#28 seems to fix the issue reported at JuliaImages/OpenCV.jl#36, although it gives an error during precompilation: 1 dependency had output during precompilation:
┌ OpenCV
│ ┌ Error: Calling `@wrapmodule` with the path of the library to load is no longer supported.
│ │ Pass the name of a function returning the path instead, e.g. use `libfoo_jll.get_libfoo_path` instead of `libfoo_jll.libfoo`.
│ └ @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/5IZvn/src/CxxWrap.jl:729
└ |
Any update on this? |
Any update on this? OpenCV throws a precompilation error on my machine for Julia 1.10. I've read in another thread that downgrading Julia 1.9 works but I'd hate to do that if a fix is coming soon. |
If no one resolves the issues discussed above, no. |
Hi I explored the issue a bit. AFAIU you must "fix" the binding generation in OpenCV, which is a major (time wise) undertaking, given the - ahem - less than optimal way the OpenCV headers are munched and their representation spewed up. Plus you need knowledge of all the way Julia binds to C++. All the best Marco |
OpenCV.jl is not working in Julia 1.10 (JuliaImages/OpenCV.jl#36).
It seems to have something to do with OpenCV_jll, something like it not being compiled against the newest CxxWrap and libjulia.
Trying a rebuild.