mathew
02/07/2018, 12:06 PMSimone Civetta
02/07/2018, 1:32 PMSimone Civetta
02/07/2018, 5:14 PMClint Checketts
02/07/2018, 7:04 PMTobi
02/08/2018, 9:52 AMkonan.version
do I have to use in order to give that a try?evanchooly
02/08/2018, 2:33 PMrellenberger
02/08/2018, 6:43 PMspierce7
02/08/2018, 7:44 PMspierce7
02/09/2018, 1:00 AMDmitry Kandalov
02/09/2018, 9:34 AM$ cinterop -def stdio.def -o build/c_interop/stdio
KtFile: stdio.kt
$ konanc src/* build/c_interop/stdio-build/kotlin/stdio/* -library build/c_interop/stdio
KtFile: stdio.kt
KtFile: hello.kt
llvm-lto: error: Linking globals named 'kobjref:stdio.__sbuf.Companion': symbol multiply defined!
... kotlin stacktrace
Is it something I'm doing wrong or it's a known problem?Dmitry Kandalov
02/09/2018, 9:35 AMkonanc -version
prints kotlinc-native 1.2-SNAPSHOT (JRE 1.8.0_152-b16)
however I'm sure I downloaded kotlin/native from v0.5 release on github, it's a bit confusing why versions are different 😕)Tobi
02/09/2018, 2:25 PMorg.jetbrains.kotlin:kotlin-native-gradle-plugin:+
I get Server returned HTTP response code: 403 for URL: <https://download.jetbrains.com/kotlin/native/builds/releases/0.6/macos/kotlin-native-macos-0.6.tar.gz>
jmullin
02/12/2018, 10:42 PMCallbacks
[…]
Note that some function types are not supported currently. For example, it is not possible to get pointer to function that receives or returns structs by value.Is this functionality on the radar/roadmap, or more of a “we’ll get to it someday” status?
albertgao
02/13/2018, 4:24 AM0.6
has been released on the github without a release note. Awesome work, JB team! I suppose the release note will be there soon? 🙂gildor
02/13/2018, 8:12 AMTobi
02/13/2018, 5:10 PMnative
aka iOS
module. I know that I am able do Objective-C calls from my kotlin code. I can even import classes from the UIKit
etc. . But how does that work?
Is it related to the interoperability which generates kotlin bindings based on the specified konan.target
?rellenberger
02/14/2018, 3:57 AMspierce7
02/14/2018, 1:56 PMolonho
02/14/2018, 7:12 PMspierce7
02/15/2018, 4:45 PMalbertgao
02/15/2018, 10:31 PMimport platform.Foundation.*
import platform.UIKit.*
The Foundation part could pass the build while the UIKit can’t be resolved by gradle. Does it mean that I need to build the UIKit lib on my mac?spierce7
02/16/2018, 5:30 AMjkbbwr
02/16/2018, 11:00 AMexception: java.nio.file.NoSuchFileException: /opt/kotlin-native/konan/targets/wasm32/native
as an erroryatsinar
02/18/2018, 11:39 AMRob
02/19/2018, 2:04 PMyatsinar
02/19/2018, 7:27 PMfun launchAsync(context: CoroutineContext, block: suspend () -> Unit) {
TODO()
}
With exception: java.lang.Error: Invalid module
at org.jetbrains.kotlin.backend.konan.llvm.IrToBitcodeKt.verifyModule(IrToBitcode.kt:117)
at org.jetbrains.kotlin.backend.konan.llvm.IrToBitcodeKt.verifyModule$default(IrToBitcode.kt:108)
at org.jetbrains.kotlin.backend.konan.Context.verifyBitCode(Context.kt:313)
at org.jetbrains.kotlin.backend.konan.KonanDriverKt$runTopLevelPhases$4.invoke(KonanDriver.kt:99)
albertgao
02/20/2018, 4:41 AMShared
code has common
, ios
and android
, which I use multiplatform approach for ios and android only. All parts works perfectly now. Thanks for all the help!kikitux
02/20/2018, 7:44 AMdavid.bilik
02/20/2018, 2:58 PMUndefined symbols for architecture arm64:
"_BZ2_bzBuffToBuffCompress", referenced from:
_platform_darwin_kniBridge94 in combined9019262925519514267.o
"_BZ2_bzBuffToBuffDecompress", referenced from:
_platform_darwin_kniBridge95 in combined9019262925519514267.o
"_BZ2_bzCompress", referenced from:
_platform_darwin_kniBridge81 in combined9019262925519514267.o
"_BZ2_bzCompressEnd", referenced from:
_platform_darwin_kniBridge82 in combined9019262925519514267.o
"_BZ2_bzCompressInit", referenced from:
_platform_darwin_kniBridge80 in combined9019262925519514267.o
"_BZ2_bzDecompress", referenced from:
_platform_darwin_kniBridge84 in combined9019262925519514267.o
"_BZ2_bzDecompressEnd", referenced from:
_platform_darwin_kniBridge85 in combined9019262925519514267.o
"_BZ2_bzDecompressInit", referenced from:
_platform_darwin_kniBridge83 in combined9019262925519514267.o
"_BZ2_bzRead", referenced from:
_platform_darwin_kniBridge89 in combined9019262925519514267.o
"_BZ2_bzReadClose", referenced from:
_platform_darwin_kniBridge87 in combined9019262925519514267.o
"_BZ2_bzReadGetUnused", referenced from:
_platform_darwin_kniBridge88 in combined9019262925519514267.o
"_BZ2_bzReadOpen", referenced from:
_platform_darwin_kniBridge86 in combined9019262925519514267.o
"_BZ2_bzWrite", referenced from:
_platform_darwin_kniBridge91 in combined9019262925519514267.o
"_BZ2_bzWriteClose", referenced from:
_platform_darwin_kniBridge92 in combined9019262925519514267.o
"_BZ2_bzWriteClose64", referenced from:
_platform_darwin_kniBridge93 in combined9019262925519514267.o
"_BZ2_bzWriteOpen", referenced from:
_platform_darwin_kniBridge90 in combined9019262925519514267.o
"_BZ2_bzclose", referenced from:
_platform_darwin_kniBridge102 in combined9019262925519514267.o
"_BZ2_bzdopen", referenced from:
_platform_darwin_kniBridge98 in combined9019262925519514267.o
"_BZ2_bzerror", referenced from:
...
ld: symbol(s) not found for architecture arm64
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
:slideparser-ios:compileKonanKotlinSlideParserIphone_sim FAILED
is it some known issue or i am doing something wrong?Ruckus
02/21/2018, 6:36 PM