When running a program using this dependency, the following error occurs at runtime.
java.lang.UnsatisfiedLinkError: Couldn't load library 'nativewindow_awt' generically including (PATH search)
There seems to be a number of unresolved issues around this going back to the mid 201Xs, most of them unresolved. Some of them seem to have been fixed by using the fat version of jogl / glugen like here. I'm not sure if this can be resolved in this artifact or if it needs upstream resolution.
build:
plugins {
kotlin("jvm") version "1.8.0"
application
}
group = "land.generic"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
// <id>jitpack.io</id>
// <url>https://jitpack.io</url>
maven{
url = uri("https://jitpack.io")
}
maven { url =uri("https://jogamp.org/deployment/maven") }
}
sourceSets{
main{
resources{
// attempt to add the runtime deps in manually.
srcDir("...\\jogamp-all-platforms\\jar")
}
}
}
dependencies {
implementation("com.github.micycle1:processing-core-4:4.3.1")
//implementation("org.processing:core:3.3.6")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}
application {
mainClass.set("land.generic.processing.MainKt")
}
When running a program using this dependency, the following error occurs at runtime.
There seems to be a number of unresolved issues around this going back to the mid 201Xs, most of them unresolved. Some of them seem to have been fixed by using the fat version of jogl / glugen like here. I'm not sure if this can be resolved in this artifact or if it needs upstream resolution.
build: