-
Notifications
You must be signed in to change notification settings - Fork 15
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
Precompile error on Julia 1.10 #36
Comments
I'm trying to understand what the issue is and, as far as I understand, this may be solved with a recompilation of OpenCV_jll. |
Maybe contact the folks at BinaryWrappers? https://github.com/JuliaBinaryWrappers |
I forgot to say that in the released OpenCV.jl there are upgradable but held dependencies, especially CxxWrap and libcxxwrap_julia_jll : (tmp) pkg> st
Status `~/tmp/Project.toml`
[f878e3a2] OpenCV v4.5.3
(tmp) pkg> st -m -o
Status `~/tmp/Manifest.toml`
⌅ [1f15a43c] CxxWrap v0.13.4 (<v0.14.2): OpenCV
⌅ [e9f186c6] Libffi_jll v3.2.2+1 (<v3.4.4+0): Glib_jll, Wayland_jll
⌅ [458c3c95] OpenSSL_jll v1.1.23+0 (<v3.0.12+0): Qt5Base_jll
⌅ [3eaa8342] libcxxwrap_julia_jll v0.9.7+3 (<v0.11.2+0): CxxWrap So I had tried with #28, where those two dependencies get to the last version. However, the error is the same. |
I can confirm that using a new build of OpenCV_jll.jl (JuliaPackaging/Yggdrasil#7941) and OpenCV.jl from #28 seems to fix the issue reported at #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
└ |
Exactly same issue here. I tried downgrading to [email protected] with julia v1.10 but failed, and there is no version under 4.5.2... One could test downgrading julia. |
Using Julia 1.9 has been working on my side. (I don't downgrade, but instead use juliaup to launch 1.9 when needed) |
Is there an update to this problem, without downgrading Julia? |
I'm also having this issue on Windows and I don't know how to fix it. I can't precompile my system image because of it |
Dup of #39 |
I'm getting an error during precompilation when installing OpenCV.jl in a pristine environment with Julia 1.10
It happens equally in Linux/arm64, WSL/amd64 and Windows/amd64.
It seems somehow related to CxxWrap.
The text was updated successfully, but these errors were encountered: