spierce7
08/05/2020, 8:22 PMaleksey.tomin
08/06/2020, 9:47 AMAdvertisingManager
https://docs.microsoft.com/en-us/uwp/api/windows.system.userprofile.advertisingmanager ?
I didn't find AdvertisingManager or UserProfile ...salomonbrys
08/10/2020, 11:27 AMBlocks with non-reference-typed return value aren't supported (v)
According to the apple documentation (https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtTypeEncodings.html#//apple_ref/doc/uid/TP40008048-CH100), v
stands for void
, which makes sense because the block in question (in this instance, the last parameter of nw_connection_receive
) returns void.
Anyone has heard of this?Dominaezzz
08/10/2020, 5:43 PMAnuj
08/11/2020, 6:49 PM"Skipping stdlib as its a pre 1.4 library; Could not find stdlib"
when running assemble : https://github.com/JetBrains/kotlin-native/tree/master/samples/gtk . any idea how can i get version of stdlib that will workSrSouza
08/12/2020, 7:32 PMatsushi-koshikizawa
08/13/2020, 9:32 AMPaul Idstein
08/13/2020, 11:51 AMThomasD
08/13/2020, 3:25 PMGuy Dupont
08/13/2020, 7:23 PMserebit
08/16/2020, 10:31 PMserebit
08/17/2020, 10:52 PMTijl
08/18/2020, 2:34 PMSusheel
08/18/2020, 6:02 PMJurriaan Mous
08/19/2020, 8:12 AMaltavir
08/19/2020, 10:56 AMShalaga44
08/19/2020, 1:10 PMwx
but I got class error 😂😂😂😂
Exception in thread "main" java.lang.Error: /usr/local/include/wx-3.1/wx/buffer.h:19:1: error: unknown type name `class'
at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.ensureNoCompileErrors(Utils.kt:152)
at org.jetbrains.kotlin.native.interop.indexer.IndexerKt.indexDeclarations(Indexer.kt:1003)
at org.jetbrains.kotlin.native.interop.indexer.IndexerKt.buildNativeIndexImpl(Indexer.kt:992)
at org.jetbrains.kotlin.native.interop.indexer.NativeIndexKt.buildNativeIndex(NativeIndex.kt:91)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:266)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.interop(main.kt:72)
at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:45)
at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:19)
at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:37)
> Task :cinteropInteropNative FAILED
aleksey.tomin
08/19/2020, 3:40 PM$ ./gradlew linkAppDebugExecutableMacos
...
BUILD SUCCESSFUL in 1m 14s
But when I build release executable - I have error:
$ ./gradlew linkAppReleaseExecutableMacos
...
> Task app:linkAppReleaseExecutableMacos
error: Linking globals named 'knifunptr_libcurl0_curl_strequal': symbol multiply defined!
> Task :app:linkAppReleaseExecutableMacos FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:linkAppReleaseExecutableMacos'.
> Process 'command '/Library/Java/JavaVirtualMachines/openjdk-14.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
...
$ ./gradlew --version
------------------------------------------------------------
Gradle 6.6
------------------------------------------------------------
Build time: 2020-08-10 22:06:19 UTC
Revision: d119144684a0c301aea027b79857815659e431b9
Kotlin: 1.3.72
Groovy: 2.5.12
Ant: Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM: 14 (Oracle Corporation 14+36-1461)
OS: Mac OS X 10.15.6 x86_64
(I try to use jdk 1.8, 11, 14)
What can I do?caffeine
08/19/2020, 11:55 PMIaroslav Postovalov
08/20/2020, 5:33 AMribesg
08/21/2020, 11:28 AMShowing Recent Issues
[...}project-cinterop-MaterialComponents.klib-build/kotlin/framework/MaterialComponents/MaterialComponents.kt: (39, 23): Unresolved reference: UIAxis
Thanks!caffeine
08/22/2020, 12:07 AM_rsaz_1024_red2norm_avx2", referenced from:
_RSAZ_1024_mod_exp_avx2 in libcrypto.a(rsaz_exp_1940672638.o)
"_ecp_nistz256_gather_w5", referenced from:
_ecp_nistz256_points_mul in libcrypto.a(ecp_nistz256_-493816618.o)
ld: symbol(s) not found for architecture x86_64
How I can fix it? Maybe I must pass special arguments to clang when I compile openssl?
Now I pass --target=x86_64-apple-macos
and -march=x86-64
to clang.Marc Knaup
08/22/2020, 2:48 PM.freeze()
a common function so that I don’t have to add my own multiplatform implementations in every single multiplatform library that I create?saket
08/22/2020, 4:06 PMkotlinx.atomicfu
should provide them. Here’s a related request: https://github.com/Kotlin/kotlinx.atomicfu/issues/135Iaroslav Postovalov
08/22/2020, 8:49 PMCZMQ_EXPORT int
zloop_reader (zloop_t *self, zsock_t *sock, zloop_reader_fn handler, void *arg);
and
CZMQ_EXPORT int
zloop_timer (zloop_t *self, size_t delay, size_t times, zloop_timer_fn handler, void *arg);
Is it a known problem, or I should leave an issue on YouTrack?basher
08/23/2020, 12:27 AMPaul Woitaschek
08/23/2020, 7:19 AMios
gradle module that just depends on the 3 modules:
kotlin {
sourceSets {
named("iosMain") {
dependencies {
api(project(":percent-distribution"))
api(project(":podcast"))
api(project(":units"))
}
}
}
}
But that produces no frameworksIaroslav Postovalov
08/25/2020, 7:02 AMIaroslav Postovalov
08/25/2020, 8:55 AMaleksey.tomin
08/25/2020, 12:31 PMmimalloc
memory manager - https://kotlinlang.org/docs/reference/whatsnew14.html
How have I pass -Xallocator=mimalloc
by gradle (kts) configuration?
In kotlin-native source code I’ve found the 4 different ways and nothing works.aleksey.tomin
08/25/2020, 12:31 PMmimalloc
memory manager - https://kotlinlang.org/docs/reference/whatsnew14.html
How have I pass -Xallocator=mimalloc
by gradle (kts) configuration?
In kotlin-native source code I’ve found the 4 different ways and nothing works.Artyom Degtyarev [JB]
08/25/2020, 12:39 PMfreeCompilerArgs
option?aleksey.tomin
08/25/2020, 12:41 PMimport org.jetbrains.kotlin.gradle.tasks.KotlinCompile
...
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions.freeCompilerArgs += "-Xallocator=mimalloc"
…
$ ./gradlew build
...
* What went wrong:
Task with name 'compileKotlin' not found in root project 'kotlin-native'.
Artyom Degtyarev [JB]
08/25/2020, 12:42 PMaleksey.tomin
08/25/2020, 12:57 PM