Skip to content
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

Installation error of OpenCV.jl with julia 1.10.2. #39

Open
kyhps2 opened this issue Mar 25, 2024 · 8 comments
Open

Installation error of OpenCV.jl with julia 1.10.2. #39

kyhps2 opened this issue Mar 25, 2024 · 8 comments

Comments

@kyhps2
Copy link

kyhps2 commented Mar 25, 2024

There is an installation error of OpenCV.jl with julia 1.10.2.
I got error message as follows.

(new_env) pkg> add OpenCV

 Updating `D:\Study_00_Programming\Julia\SourceCodes\new_env\Manifest.toml`
⌅ [1f15a43c] + CxxWrap v0.13.4
  [692b3bcd] + JLLWrappers v1.5.0
  [1914dd2f] + MacroTools v0.5.13
...
[83775a58] + Zlib_jll v1.2.13+1
[8e850ede] + nghttp2_jll v1.52.0+1
[3f19e933] + p7zip_jll v17.4.0+2
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  ✗ CxxWrap
  ✗ OpenCV_jll
  ✗ OpenCV
  0 dependencies successfully precompiled in 6 seconds. 43 already precompiled.
  3 dependencies errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

What's wrong with OpenCV.jl ?

@ashwani-rathee
Copy link
Member

Hey, Images.jl is the standard package for image processing in Julia and OpenCV.jl is barely standing in older versions if even then.

@jgardona
Copy link

jgardona commented May 4, 2024

Guys are not maintaining julia packages. This issue is not only with this package, but many other. Don´t know whats happening with julia language. Its losing traction.

@marcoxa
Copy link

marcoxa commented May 24, 2024

Hey, Images.jl is the standard package for image processing in Julia and OpenCV.jl is barely standing in older versions if even then.

Hi

I am sorry, but this comment contradicts the statement that OpenCV is now part of JuliaImages.
But, even if that were not the case, we still have the problem of loading time for large .tif images with the vanilla JuliaImages library, even when using ImageMagik.

This seems a problem related to CxxWrap and its artifact. It'd be better stating that fact somewhere (and nag the CxxWrap maintainers).

All the best

Marco

PS No. I am a "luser", not a developer!

@marcoxa
Copy link

marcoxa commented May 24, 2024

Guys are not maintaining julia packages. This issue is not only with this package, but many other. Don´t know whats happening with julia language. Its losing traction.

Too much testosterone (and masochism) flowing towards crustaceans :)

@andrew-saydjari
Copy link

Looks like the simple fix is to bump the Cxx compat to include 0.16 (or anything higher than 0.15) rather than the 0.13 max that is currently there. Can someone with permissions do that? (see this thread JuliaInterop/CxxWrap.jl#424)

@likanzhan
Copy link

Is there an update on this problem?

@andrew-saydjari
Copy link

I think the solution I suggested could be an easy fix, though I don't have the permissions and/or time to fix. I ended up taking @ashwani-rathee's advice, which worked for my case.

I had installed a slightly old package, tried to use an image with it, and it return error messages asking me to add OpenCV.jl (and some other packages). However, ignoring those error message requests and just installing and using Images.jl (and some of the other modern images ecosystem like ImageIO.jl) fixed all of my problems. So it seems like maybe part of the problem is that the error messages are leading people to older packages rather that the newer ecosystem? In any case, you should give that a try, unless OpenCV.jl is an explicit dependency of a package you are trying to use.

@likanzhan
Copy link

@andrew-saydjari Thanks. But OpenCV.jl is The package I'm trying to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants