39aldo39 / libdecsync

Other
28 stars 5 forks source link

Unresolved reference: OnEntryUpdateListener #1

Closed tbhi closed 3 years ago

tbhi commented 3 years ago

Trying to compile on fedora 33

$ make
./gradlew linkReleaseSharedLinuxX64

The Kotlin source set androidAndroidTestRelease was configured but not added to any Kotlin compilation. You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets

> Task :compileKotlinLinuxX64 FAILED
e: /home/t/src/libdecsync/src/nativeMain/kotlin/org/decsync/library/Decsync.kt: (47, 40): Unresolved reference: OnEntryUpdateListener
e: /home/t/src/libdecsync/src/nativeMain/kotlin/org/decsync/library/Decsync.kt: (50, 19): None of the following functions can be called with the arguments supplied: 
public operator fun <T> Collection<TypeVariable(T)>.plus(element: TypeVariable(T)): List<TypeVariable(T)> defined in kotlin.collections
public operator fun <T> Collection<TypeVariable(T)>.plus(elements: Array<out TypeVariable(T)>): List<TypeVariable(T)> defined in kotlin.collections
public operator fun <T> Collection<TypeVariable(T)>.plus(elements: Iterable<TypeVariable(T)>): List<TypeVariable(T)> defined in kotlin.collections
public operator fun <T> Collection<TypeVariable(T)>.plus(elements: Sequence<TypeVariable(T)>): List<TypeVariable(T)> defined in kotlin.collections
public operator fun <T> Iterable<TypeVariable(T)>.plus(element: TypeVariable(T)): List<TypeVariable(T)> defined in kotlin.collections
public operator fun <T> Iterable<TypeVariable(T)>.plus(elements: Array<out TypeVariable(T)>): List<TypeVariable(T)> defined in kotlin.collections
public operator fun <T> Iterable<TypeVariable(T)>.plus(elements: Iterable<TypeVariable(T)>): List<TypeVariable(T)> defined in kotlin.collections
public operator fun <T> Iterable<TypeVariable(T)>.plus(elements: Sequence<TypeVariable(T)>): List<TypeVariable(T)> defined in kotlin.collections
e: /home/t/src/libdecsync/src/nativeMain/kotlin/org/decsync/library/Decsync.kt: (50, 30): Unresolved reference: OnEntryUpdateListener

FAILURE: Build failed with an exception.
39aldo39 commented 3 years ago

This there was indeed this compilation issue previously, but it has been fixed. A simple git pull should give you the latest version.

tbhi commented 3 years ago

yep that did it