napperley
06/12/2018, 9:41 AMgildor
06/12/2018, 9:49 AMse1by
06/12/2018, 8:50 PMKonstantin Petrukhnov
06/13/2018, 5:05 AMEvgeniy Zaharov
06/13/2018, 12:32 PMnorman784
06/13/2018, 1:16 PMsizeof
like method? I’m struggling with this part, because I must more or less guest the size in bytes of each type, i.e. (vertices.size * 4).signExtend()
and their c counterpart would just sizeof(vertices)
gildor
06/14/2018, 2:16 AMfitzoh
06/14/2018, 2:36 AMTorbilicious
06/14/2018, 2:44 PM./gradlew dependencies:update
says > expected Xcode version 9.4.1, got 9.4,
.
But running /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version
returns
Xcode 9.4.1
Build version 9F2000.
Am i doing something wrong?spierce7
06/14/2018, 3:47 PMthevery
06/14/2018, 11:53 PMhttp-client-common
doesn't work anymore after update (error: unresolved reference: io import io.ktor.common.client.HttpClient
):
konanArtifacts {
program('app') {
dependencies {
artifactapp "io.ktor.common.client:http_client_native:0.1.5"
}
}
}
@e5l @olonho could you please check/verify or provide update/workaround?thevery
06/15/2018, 2:20 PMexception: java.lang.IllegalStateException: Could not find "http_client_native"
config:
library('nativelib') {
enableMultiplatform true
dependencies {
artifactnativelib "io.ktor.common.client:http_client_native:$kotlin_http_client_version"
}
}
program('nativetest') {
srcDir 'src/test/kotlin'
commonSourceSet 'test'
libraries {
artifact 'nativelib'
}
extraOpts '-tr'
dependencies {
artifactnativetest "io.ktor.common.client:http_client_native:$kotlin_http_client_version"
}
}
library
is ok, but program
if failingjw
06/15/2018, 7:36 PMkrtko
06/16/2018, 6:59 PMyusuf3000
06/18/2018, 2:12 PMcomponent
properties alongside the properly names properties. What are these?thevery
06/18/2018, 5:49 PMyusuf3000
06/19/2018, 11:05 AMDispatchQueue.global(qos: .userInteractive).sync { }
. I also keep a reference to this queue.
Then from the iOS side i want to call methods on the same K/N objects and again, I use the same serial queue and call those methods.
But you cannot share objects between threads in K/N and a serial queue can still use a different thread each time, it’s up the OS. (I’m aware that you can share objects in K/N using Workers
but all this code is in the common module rather than the iOS module so I do not have access to it)
So would i need to change the implementation so i use the same thread each time from iOS or is using a serial queue that could potentially use multiple threads suffice?brandonlamb
06/19/2018, 3:50 PMgodot_gdnative_init()
function for the game engine to find and call.spierce7
06/19/2018, 4:16 PMnapperley
06/20/2018, 6:01 AM> Task :runWeather FAILED
/home/napperley/repos/openfaas-weather-sample/build/konan/bin/linux_x64/weather.kexe: error while loading shared libraries: libcjson.so.1: cannot open shared object file: No such file or directory
thevery
06/20/2018, 10:27 AMnapperley
06/20/2018, 11:30 PMDmitry Kandalov
06/21/2018, 11:11 AMassertEquals()
works in main
but not sure how to run tests with CLion test runner (or gradle or cmake).kikitux
06/21/2018, 4:45 PMAnaR
06/22/2018, 6:19 PMkpgalligan
06/23/2018, 1:15 AMthevery
06/23/2018, 8:38 AM0.8-dev-2538
with ios_arm32
support already published to bintray, could you please update http client?Edouard Goossens
06/24/2018, 11:35 AMamorenew
06/24/2018, 7:34 PMAndreasBackx
06/25/2018, 8:00 AMAndreasBackx
06/25/2018, 8:00 AMgildor
06/25/2018, 8:09 AMAndreasBackx
06/25/2018, 8:24 AMgildor
06/25/2018, 8:38 AMAndreasBackx
06/25/2018, 9:01 AMgildor
06/25/2018, 9:05 AMAndreasBackx
06/25/2018, 9:15 AMgildor
06/25/2018, 9:26 AM.so
, so you do not share binaries for Android and iOS, this approach based on Kotlin Multiplatform Projects
https://kotlinlang.org/docs/reference/multiplatform.htmlAndreasBackx
06/25/2018, 9:31 AM.so
shared libraries. I mean separate builds. Alright, I'll have a look around on how to publish it as a CocoaPod. But that's what I was looking for, whether it was possible at all.gildor
06/25/2018, 9:33 AMAndreasBackx
06/25/2018, 9:44 AMyusuf3000
06/25/2018, 11:27 AMAndreasBackx
06/25/2018, 12:43 PMyusuf3000
06/25/2018, 12:45 PMAndreasBackx
06/25/2018, 12:46 PMyusuf3000
06/25/2018, 12:48 PMCompanionObject.init()
which will give you the non companion object. I’m also aware that there is a github issue where the syntax will become nicer from the ios side, but it will be the same functionality.AndreasBackx
06/25/2018, 12:48 PMyusuf3000
06/25/2018, 12:49 PMexpect
actual
feature of Kotlin MPP to use the platform api’s for things like Date and Time