版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_32768743/article/details/84575727
今天试了下kotlin native,好久没玩过这个玩意儿了。
然后建了一个kotlin native的工程
发现IDEA一直在说是多平台项目
Kotlin Multiplatform Projects are an experimental feature.
运行kotlin native程序
没有直接的绿色的运行条,比较遗憾,运行还得靠gradle。
所有的输出结果
23:32:17: Executing task 'runProgram'...
> Configure project :
Kotlin Multiplatform Projects are an experimental feature.
> Task :linkReleaseExecutableMingw
> Task :runProgram
Hello, Kotlin/Native!
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.0/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 22s
2 actionable tasks: 2 executed
23:32:40: Task execution finished 'runProgram'.
想到的一些问题
- 如何使用第三方C库
- 如何使用第三方java库(不知道可不可以)