Hi. Running kotlinc-natives gives me following err...
# kotlin-native
s
Hi. Running kotlinc-natives gives me following error. Any suggestions to fix this:
Copy code
kotlinc-native Hello.kt -o hello 

/usr/local/bin/kotlinc-native: line 20: /usr/local/bin/run_konan: No such file or directory
a
Hello! Please describe the way you got the compiler, it should help to localize the problem.
s
After downloading the tar.gz from github, i copied the
kotlinc-native
to /usr/local/bin folder.
Copy code
cp bin/kotlinc-native /usr/local/bin
I got it working though by executing
Copy code
~/Downloads/kotlin-native-linux-1.4.10/bin/kotlinc-native main.kt -o hello
Is there any convenient way of calling kotlic-native without any path to it's executable?
a
Most obvious way here would be to add
/kotlin-native-linux-1.4.10/bin/
to the local
$PATH
.
1