fnasibov
12/12/2018, 12:23 PMAlexander Suslov
12/12/2018, 2:38 PMkonan
to the new kotlin-multiplatform
plugin.
Is it possible to have MPP library in the MPP project? I created an MPP library using IDEA's wizard, published it in maven local and tried to add to the project. But I have a gradle sync error: More than one file was found with OS independent path 'META-INF/FooMppLib.kotlin_module'
kyonifer
12/13/2018, 1:30 AMNir Golan
12/13/2018, 7:16 AMUnable to find method 'sun.misc.Unsafe.defineClass(Ljava/lang/String;[BIILjava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class;'.
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)</li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)</li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
i'm on ubuntu 18.10, openJdk 11, latest IDEA, thanksDico
12/13/2018, 12:58 PMmemScope {
val size = alloc<UIntVar>()
sysctlbyname(..., ..., size.ptr,)
size.value
}
nestserau
12/13/2018, 3:04 PMCFBundleGetValueForInfoDictionaryKey
I get an object of type CFTypeRef?
, but it’s bridged to NSString *
automatically in Objective C. How do I get a Kotlin string out of CFTypeRef?
?davidasync
12/13/2018, 3:39 PMcoletz
12/13/2018, 6:38 PMloganj
12/13/2018, 11:14 PMloganj
12/13/2018, 11:15 PMspierce7
12/14/2018, 4:39 AMgoncalossilva
12/14/2018, 6:16 AMloganj
12/14/2018, 6:25 PMloganj
12/14/2018, 6:26 PMJared Woolston
12/15/2018, 5:15 AM-mfloat-abi=soft
to ensure that any hardware FPU instructions would not be generated but this did not change the outcome. I am trying to track down what the reason for this on such a simple set of code and would be appreciative of anyone who can give me some more insight into the where I can look in konan or its various configuration/native files to perhaps gain more insight.spierce7
12/15/2018, 6:25 AMMatej Kormuth
12/15/2018, 5:43 PMCreateStringFromUtf8
in sources, but I cannot find kotlin function to call it. https://github.com/JetBrains/kotlin-native/blob/4f9cea4ee235b0663b9fb5660e814a49d06b69ed/runtime/src/main/cpp/KString.cpp#L710Hunter Breathat
12/15/2018, 10:49 PMJared Woolston
12/16/2018, 4:33 AMtarget-sysroot-2-wasm
sysroot for the STM32F4 target?Strum355
12/16/2018, 11:51 AMdarkmoon_uk
12/16/2018, 1:24 PMJared Woolston
12/16/2018, 6:09 PM-mfpu=fpv4-sp-d16 -mfloat-abi=hard -march=armv7e-m
to konan/platforms/zephyr/stm32f4_disco
but am still getting a link error of arm-none-eabi/bin/ld: error: zephyr/zephyr_prebuilt.elf uses VFP register arguments, libapp.a(program.o) does not
/home/jared/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file libapp.a(program.o)
which suggests to me that the object file being built by konanc is not being built with the correct flags going to gcc. Am I missing something in configuring the build to pass these flags?unixer
12/17/2018, 1:47 AMunixer
12/17/2018, 1:48 AMLanderl Young
12/17/2018, 11:10 AMnestserau
12/17/2018, 11:30 AMNSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9807)
I understand that I need to add NSAllowsArbitraryLoads
into the Info.plist. But how do I do it with Kotlin? There is no Info.plist
.unixer
12/17/2018, 12:41 PMunixer
12/18/2018, 1:14 PMMatej Kormuth
12/18/2018, 11:03 PMkotlin.AssertionError: Expected <108>, actual <107>.
at kfun:kotlin.Throwable.<init>(kotlin.String?)kotlin.Throwable (0000000000440470)
at kfun:kotlin.Error.<init>(kotlin.String?)kotlin.Error (0000000000442030)
...
Ivan
12/19/2018, 6:12 PM