bytedeco / javacpp-presets

The missing Java distribution of native C++ libraries
Other
2.63k stars 731 forks source link

org.bytedeco:opencv:jar:true:4.6.0-1.5.8 (absent) #1377

Open edison245 opened 1 year ago

edison245 commented 1 year ago

I am trying to package the opencv-platform-gpu for windows only in mvn using mvn -Djavacpp.platform.windows-x86_64 -Dmaven.repo.local=E:\Documents\maven\repository clean package

but I am getting an error Failed to execute goal on project opencv-platform-gpu: Could not resolve dependencies for project org.bytedeco:opencv-platform-gpu:jar:4.6.0-1.5.8: The following artifacts could not be resolved: org.bytedeco:opencv:jar:true:4.6.0-1.5.8 (absent): org.bytedeco:opencv:jar:true:4.6.0-1.5.8 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced

edison245 commented 1 year ago

It got fixed by using mvn clean package so that it changes the local repo

saudet commented 1 year ago

I would recommend to try without a local repo, that works.

saudet commented 1 year ago

Also, please try again with the latest release version 4.7.0-1.5.9.

sulv9999 commented 4 months ago

Can Java use the OpenCV library bound by JavaCPP for CUDA-accelerated decoding of RTSP streams