You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
When I try to create a klib from a sfml.def file I get the error below. It looks like clang is working from a different path or something because the file mentioned does exists.
Error:
rnentjes@rnentjes-VPCF13S0E:~/Development/konan/konan-game$ ../kotlin-native/dist/bin/cinterop -def def/sfml.def -o sfml
/home/rnentjes/Development/konan/kotlin-native/dist/dependencies/clang-llvm-3.9.0-linux-x86-64/bin/clang -I/usr/include -isystem /home/rnentjes/Development/konan/kotlin-native/dist/dependencies/clang-llvm-3.9.0-linux-x86-64/lib/clang/3.9.0/include --gcc-toolchain=/home/rnentjes/Development/konan/kotlin-native/dist/dependencies/target-gcc-toolchain-3-linux-x86-64 -L/home/rnentjes/Development/konan/kotlin-native/dist/dependencies/clang-llvm-3.9.0-linux-x86-64/lib -B/home/rnentjes/Development/konan/kotlin-native/dist/dependencies/target-gcc-toolchain-3-linux-x86-64/x86_64-unknown-linux-gnu/sysroot/../bin --sysroot=/home/rnentjes/Development/konan/kotlin-native/dist/dependencies/target-gcc-toolchain-3-linux-x86-64/x86_64-unknown-linux-gnu/sysroot -emit-llvm -c sfml-build/natives/cstubs.c -o sfml-build/natives/cstubs.bc
clang-3.9: error: no such file or directory: 'sfml-build/natives/cstubs.c'
clang-3.9: error: no input files
Exception in thread "main" java.lang.Error: Process finished with non-zero exit code: 1
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.runExpectingSuccess(main.kt:106)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.runCmd(main.kt:152)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processLib(main.kt:382)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.main(main.kt:37)
I am unable to reproduce this problem with x86-64 Ubuntu 16.04, C SFML bindings 2.1-2 installed by apt and current trunk. For reference, attaching generated klib.
When I try to create a klib from a sfml.def file I get the error below. It looks like clang is working from a different path or something because the file mentioned does exists.
Error:
sfml.def:
The sfml-build contains the following files after the error:
The text was updated successfully, but these errors were encountered: