https://kotlinlang.org logo
#ktor
Title
# ktor
u

4ntoine

08/23/2019, 10:58 AM
I’m trying to compile K/N project with just released
1.3.50
and ktor and having ABI incompatibility (worked with
1.3.41
):
w: skipping /Users/asmirnov/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-core-macosx64/1.2.3/4987d836935e25e127e275b7147fa24ff9b24b1b/ktor-client-core.klib. The abi versions don’t match. Expected ‘[14]’, found ‘9’
w: The compiler versions don’t match either. Expected ‘[]’, found ‘1.3-rc1-11132’
e: Could not find “/Users/asmirnov/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-core-macosx64/1.2.3/4987d836935e25e127e275b7147fa24ff9b24b1b/ktor-client-core.klib” in [/Users/asmirnov/Documents/dev/src/cmp/project/desktop/performance_app, /Users/asmirnov/.konan/klib, /Users/asmirnov/.konan/kotlin-native-macos-1.3.50/klib/common, /Users/asmirnov/.konan/kotlin-native-macos-1.3.50/klib/platform/macos_x64].
Anyone? As far as i can see Ktor 1.2.3 is not yet released for 1.3.50 and the most recent one is https://mvnrepository.com/artifact/io.ktor/ktor-client-core/1.2.3-1.3.50-eap-5
c

cy

08/23/2019, 11:00 AM
ktor is compiled with 1.3.41 so it is impossible to use with 1.3.50
Ah, this version was compiled with eap version, it is not compatible as welll
u

4ntoine

08/23/2019, 11:00 AM
Yeah, i got it due to ABI incompatibility. But what’s the solution/workaround?
compile some branch (what?) locally?
c

cy

08/23/2019, 11:01 AM
No workaround, just wait for all libraries and ktor release w 1.3.50
or compile all the libraries locally that is not that easy
u

4ntoine

08/23/2019, 11:01 AM
ok, got it. Thanks
c

cy

08/23/2019, 11:01 AM
for ktor you need atomicfu, coroutines, io and serialization
u

4ntoine

08/23/2019, 11:02 AM
yup
r

ribesg

08/23/2019, 1:30 PM
You should just wait for all the important libraries to update to the new Kotlin version, usually takes 24h to a few days at most
t

tylerwilson

08/28/2019, 2:40 PM
I need me some new fresh Ktor…
Just got the ktor github 1.2.4 update email. Nice! Already installed and everything working thus far.