elect
12/01/2018, 4:05 PMerror: invalid argument: -linkerArgshere https://github.com/perses-games/konan-sfml/blob/master/build.sh#L25
msink
12/01/2018, 4:13 PM-linker-options
elect
12/01/2018, 4:14 PMelect
12/01/2018, 4:15 PMUByte
?elect
12/01/2018, 4:15 PMsrc/HelloSfml.kt:67:50: error: type mismatch: inferred type is Int but sfUint8 /* = UByte */ was expected
Dominaezzz
12/01/2018, 4:18 PMtoUByte()
. There's no literal available yet.elect
12/01/2018, 4:19 PMelect
12/01/2018, 4:19 PMelect
12/01/2018, 4:19 PMDominaezzz
12/01/2018, 4:21 PMelect
12/01/2018, 4:21 PMelect
12/01/2018, 4:22 PMlib/Runtime.jar
, isnt?Dominaezzz
12/01/2018, 4:22 PMDominaezzz
12/01/2018, 4:23 PMelect
12/01/2018, 4:23 PMelect
12/01/2018, 4:24 PMlib/Runtime.jar
elect
12/01/2018, 4:24 PM/home/elect/CLionProjects/kotlin-native/dist/konan/lib
.. is it right?Dominaezzz
12/01/2018, 4:25 PMDominaezzz
12/01/2018, 4:25 PMelect
12/01/2018, 4:26 PMelect
12/01/2018, 4:26 PMDominaezzz
12/01/2018, 4:26 PMelect
12/01/2018, 4:26 PMDominaezzz
12/01/2018, 4:27 PMelect
12/01/2018, 4:27 PMHelloSfml.kt
Dominaezzz
12/01/2018, 4:27 PMelect
12/01/2018, 4:27 PMvideoMode.width = 800
was fixed with videoMode.width = 800u
elect
12/01/2018, 4:28 PMtoUByte()
elect
12/01/2018, 4:28 PMDominaezzz
12/01/2018, 4:28 PMtoUInt().toUByte()
.elect
12/01/2018, 4:28 PMDominaezzz
12/01/2018, 4:29 PMelect
12/01/2018, 4:29 PM./build.sh
the error disappearsDominaezzz
12/01/2018, 4:30 PMelect
12/01/2018, 4:30 PMelect
12/01/2018, 4:31 PMDominaezzz
12/01/2018, 4:33 PMelect
12/01/2018, 4:34 PMelect
12/01/2018, 4:35 PM.kexe
, but:
Uncaught exception from Kotlin's main: kotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen kotlin.Array@d54728
at (0x246545)
at kfun:kotlin.collections.ArrayList.insertAtInternal#internal (0x226900)
at kfun:kotlin.collections.ArrayList.addAtInternal#internal (0x226479)
at kfun:kotlin.collections.ArrayList.add(#GENERIC)ValueType (0x22624b)
at kfun:main(kotlin.Array<kotlin.String>) (0x218fe5)
at Konan_start (0x2169d7)
at Konan_run_start (0x216953)
at Konan_main (0x2168c7)
at __libc_start_main (0x7fab6433809b)
at (0x216029)
at ((nil))
AL lib: (EE) alc_cleanup: 1 device not closed
elect
12/01/2018, 4:35 PMDominaezzz
12/01/2018, 4:36 PMDominaezzz
12/01/2018, 4:37 PMelect
12/01/2018, 4:37 PMelect
12/01/2018, 4:37 PMDominaezzz
12/01/2018, 4:37 PMelect
12/01/2018, 4:37 PMelect
12/01/2018, 4:38 PMDominaezzz
12/01/2018, 4:39 PMDominaezzz
12/01/2018, 4:40 PMThreadLocal
.elect
12/01/2018, 4:40 PMelect
12/01/2018, 4:40 PMelect
12/01/2018, 4:40 PMDominaezzz
12/01/2018, 4:40 PMSprites
and Textures
.elect
12/01/2018, 4:41 PMelect
12/01/2018, 4:41 PMDominaezzz
12/01/2018, 4:41 PMelect
12/01/2018, 8:01 PMelect
12/01/2018, 8:01 PMelect
12/01/2018, 8:02 PM