bytedeco/javacv

sbt-javacv failed with javacv-1.5

Open

#1,194 opened on Apr 24, 2019

View on GitHub
 (6 comments) (0 reactions) (1 assignee)Java (1,583 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

sbt project.

in plugin.sbt file:

addSbtPlugin("org.bytedeco" % "sbt-javacv" % "1.17")

Everything goes well with version 1.4.4.

in build.sbt file:

name := "HelloJavaCV"

version := "0.1"

scalaVersion := "2.12.8"

javaCVVersion := "1.4.4"

javaCppVersion := "1.4.4"

javaCppPlatform := Seq("windows-x86_64", "linux-x86_64")

javaCppPresetLibs := Seq("opencv" -> "4.0.1", "ffmpeg" -> "4.1")

But, when i change build.sbt file to:

name := "HelloJavaCV"

version := "0.1"

scalaVersion := "2.12.8"


javaCVVersion := "1.5"

javaCppVersion := "1.5"

javaCppPlatform := Seq("windows-x86_64", "linux-x86_64")

javaCppPresetLibs := Seq("opencv" -> "4.0.1", "ffmpeg" -> "4.1.3")

compile in sbt shell, I will get errors:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.bytedeco.javacpp-presets#opencv;4.0.1-1.5: not found
[warn]  :: org.bytedeco.javacpp-presets#ffmpeg;4.1.3-1.5: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
.
.
sbt:HelloJavaCV> [error] (update) sbt.librarymanagement.ResolveException: unresolved dependency: org.bytedeco.javacpp-preset
s#opencv;4.0.1-1.5: not found
[error] unresolved dependency: org.bytedeco.javacpp-presets#ffmpeg;4.1.3-1.5: not found

Anything i missing?

Thank you.

Contributor guide