thevery
11/29/2018, 9:15 PMerror: compilation failed: org.jetbrains.kotlin.ir.declarations.lazy.IrLazyFunction@550c973e
* Source files: Sample.kt, SampleIos.kt
* Compiler version info: Konan: 1.0.2 / Kotlin: 1.3.0
* Output kind: LIBRARY
exception: java.lang.IllegalStateException: org.jetbrains.kotlin.ir.declarations.lazy.IrLazyFunction@550c973e
at org.jetbrains.kotlin.backend.konan.llvm.LlvmDeclarations.forFunction(LlvmDeclarations.kt:44)
should I file bug to #kotlin-native or to #serialization ?gildor
11/30/2018, 10:07 AM**variable
(this type generated by interop: CValuesRef<COpaquePointerVar>
).
So in C you pass reference to this reference (like &variable
). How can I do this in K/N?Slackbot
11/30/2018, 5:37 PMkpgalligan
11/30/2018, 8:09 PMpajatopmr
11/30/2018, 10:13 PMtoomanyeduardos
11/30/2018, 10:26 PMtoomanyeduardos
11/30/2018, 10:45 PMjkbbwr
12/01/2018, 2:32 AMKotlin_Int_plus_Int
into the bitcode file?toomanyeduardos
12/01/2018, 3:45 AMfun
and the other one is a suspend fun
, which is using coroutines to make a network call.
on android, i can see both functions from this class. i can call them, and life is good.
on ios, I can only see the function that is a regular fun
. the suspend fun
is not visible at all.
what did i miss? does iOS not support suspending functions from coroutines?elect
12/01/2018, 12:36 PMelect@elect-NUC8i5BEK:~/CLionProjects/kotlin-native-opengl-tutorial$ ls /usr/include/GL/
glcorearb.h glext.h gl_mangle.h glu_mangle.h glxext.h glxint.h glxmd.h glxtokens.h wglew.h
glew.h gl.h glu.h glxew.h glx.h glx_mangle.h glxproto.h internal/
elect
12/01/2018, 2:43 PMelect
12/01/2018, 4:05 PMerror: invalid argument: -linkerArgshere https://github.com/perses-games/konan-sfml/blob/master/build.sh#L25
pajatopmr
12/01/2018, 4:22 PMelect
12/01/2018, 9:52 PMcinterop
is fine, but when it's time to build:kyonifer
12/02/2018, 3:25 PMclass Foo
, this gets added to the generated .h
and seems to work fine. It seems like if I try to subclass an objective c class, such as class MyViewController : UIViewController
, the symbol disappears from the .h
and then swift can't see it. Is this expected behavior? Am I missing something here?Matej Kormuth
12/02/2018, 11:03 PMthevery
12/04/2018, 11:35 AMinitWithTimeIntervalSince1970
is really missing in K/N? I see only initWithTimeIntervalSinceReferenceDate
https://developer.apple.com/documentation/foundation/nsdate?language=objc#topicskpgalligan
12/04/2018, 2:18 PMJoakimForslund
12/05/2018, 1:17 PMpackage = aes
headers = aes/aes.h
headerFilter = aes/aes.h
Why does my multiplatform solution upon build give me this exception:
Exception in thread "main" java.lang.Error: /var/folders/60/htq84d4s4q55l9j0j1mh6d5w0000gn/T/tmp8457509487070388280.c:1:10: fatal error: 'aes/aes.h' file not found
Ivan
12/06/2018, 3:53 PMdelay(x)
not working?
trying to create loop thread with
runBlocking{
GlobalScope.launch {
while(flag){
//some stuff
delay(1000)
}
}
}
and it drops with error kotlin.IllegalStateException: Cannot schedule task because event loop was shut down
on delay, we are researching atm
send help))thevery
12/06/2018, 5:04 PMelect
12/06/2018, 10:40 PMandyfleming
12/07/2018, 12:53 AMDominaezzz
12/07/2018, 5:17 PM1.3.11
, I now occasionally get this message at the end of my program "C\BuildAgent\work\4d622a065c544371\runtime\src\main\cpp\Memory.cpp1150: runtime assert: Memory leaks found"serebit
12/07/2018, 6:22 PMnapperley
12/08/2018, 10:47 PMIvan
12/10/2018, 2:50 PMTorbilicious
12/10/2018, 7:20 PMSam
12/11/2018, 5:43 AMpavel.v
12/11/2018, 6:38 PM