Aman Alam
09/24/2018, 8:54 AMotakusenpai
09/24/2018, 9:40 AMotakusenpai
09/24/2018, 12:32 PMDavid
09/24/2018, 2:56 PMIllegalStateException
. Any suggestions on how to improve?
import kotlin.native.concurrent.*
class KotlinNativeFramework {
var listener: KotlinNativeFrameworkListener? = null
fun startWorking() {
val myInput = DoubleArray(10) { it.toDouble() }.toList()
val future = Worker.start().execute(TransferMode.SAFE, {
myInput }) { input ->
val doSomeWork = DoSomeWork()
doSomeWork.run(input)
}
future.consume {
result -> listener?.resultsReady(result)
}
}
}
interface KotlinNativeFrameworkListener {
fun resultsReady(result: WorkResult)
}
thevery
09/24/2018, 8:08 PM/opt/teamcity-agent/work/4d622a065c544371/runtime/src/main/cpp/Memory.cpp:356: runtime assert: Unable to execute Kotlin code on uninitialized thread
after update. On 0.9.1 downgrade I see ld: targeted OS version does not support use of thread local variables in ___unnamed_41 for architecture x86_64
(xcode 10)spierce7
09/24/2018, 10:28 PMsksk
09/25/2018, 7:48 AMrudolf.hladik
09/25/2018, 10:54 AMDominaezzz
09/25/2018, 2:27 PMamorenew
09/26/2018, 7:02 AMmutexkid
09/26/2018, 6:54 PMtype mismatch: inferred type is CPointerVarOf<COpaquePointer /* = CPointer<out CPointed> */> but CValuesRef<COpaquePointerVar /* = CPointerVarOf<COpaquePointer /* = CPointer<out CPointed> */> */>
was expected.. i think it requires whatver would be the correct usage for a **void typemarcinmoskala
09/26/2018, 8:23 PMsdeleuze
09/26/2018, 10:05 PMalex009
09/27/2018, 2:45 AMUndefined symbols for architecture x86_64:
"_kfun:platform.darwin.objcKniBridge77$darwin(kotlin.native.internal.NativePtr;kotlin.native.internal.NativePtr)platform.darwin.NSObject?", referenced from:
_kfun:io.ktor.client.engine.ios.IosClientEngine.$execute$3.invokeSuspend(kotlin.Result<kotlin.Any?>)kotlin.Any? in combined.o
"_private_functions_<ktor-http-ios>_kfun:io.ktor.http.HttpStatusCode.equals(kotlin.Any?)ValueType_57", referenced from:
_kfun:com.mirbega.russiarunning.network.LiveEventsApi.$processResponse$3.invokeSuspend(kotlin.Result<kotlin.Any?>)kotlin.Any? in combined.o
ld: symbol(s) not found for architecture x86_64
used versions is:
kotlin_version = '1.3.0-rc-57'
kotlin_native_version = '0.9.2'
coroutines_version = '0.26.1-eap13'
serialization_version = '0.8.1-rc13'
ktor_version = '0.9.5-rc13'
anybody get same problem? or know how to fix?spierce7
09/27/2018, 4:50 AMDmitry Kandalov
09/27/2018, 8:33 AMJaroslav
09/27/2018, 9:37 AMJaroslav
09/27/2018, 11:49 AM./gradlew :ios:compileKonan
from terminal I get error: you have not specified any compilation arguments. No output has been produced.
Any ideas why?gildor
09/28/2018, 8:26 AMwhat versions of koltin and coroutines lib one should usehow this related on IDE?
David
09/28/2018, 9:17 AMldavin
09/28/2018, 11:56 AMHamza
09/28/2018, 1:06 PMHamza
09/28/2018, 1:11 PMmikehearn
09/28/2018, 7:05 PMmikehearn
09/28/2018, 7:12 PMhmole
09/28/2018, 8:27 PMspierce7
09/29/2018, 3:14 PMmikehearn
09/29/2018, 7:42 PMBorzdeG
09/29/2018, 10:17 PMgradle build
only do macos_x64
apply plugin: 'konan'
konan.targets = [ 'macbook', 'linux' ]
konanArtifacts {
program("app") {
enableOptimizations(true)
}
}
camdenorrb
09/30/2018, 7:09 AM