hello-libui icon indicating copy to clipboard operation
hello-libui copied to clipboard

run exception

Open springeye opened this issue 5 years ago • 0 comments

0:50:29: Executing task 'runDebugExecutableLibui'...


> Configure project :
Kotlin Multiplatform Projects are an experimental feature.

> Task :compileKotlinLibui UP-TO-DATE
> Task :linkDebugExecutableLibui UP-TO-DATE

> Task :runDebugExecutableLibui FAILED
Uncaught Kotlin exception: kotlin.Error: error initializing ui: 'error initializing libui: initializing Common Controls; code 0 (0x00000000) 操作成功完成。
'
        at kfun:kotlin.Throwable.<init>(kotlin.String?;kotlin.Throwable?)kotlin.Throwable (00000000002d7220)
        at kfun:kotlin.Throwable.<init>(kotlin.String?)kotlin.Throwable (00000000002d7510)
        at kfun:kotlin.Error.<init>(kotlin.String?)kotlin.Error (00000000002d1d60)
        at kfun:libui.ktx.appWindow(kotlin.String;kotlin.Int;kotlin.Int;kotlin.Boolean;kotlin.Function1<libui.ktx.Window,kotlin.Unit>) (0000000000302d00)
        at kfun:libui.ktx.appWindow$default(kotlin.String;kotlin.Int;kotlin.Int;kotlin.Boolean;kotlin.Function1<libui.ktx.Window,kotlin.Unit>?;kotlin.Int) (0000000000303ae0)
        at kfun:main() (0000000000305600)
        at Konan_start (0000000000306050)
        at Init_and_run_start (000000000030a900)
        at __tmainCRTStartup (00000000002b1180)
        at WinMainCRTStartup (00000000002b14c0)
        at  (00007ffb75476fc0)
        at  (00007ffb76cdcea0)
3 actionable tasks: 1 executed, 2 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':runDebugExecutableLibui'.
> Process 'command 'C:\Users\henjue\Desktop\workspaces\hello-libui\build\bin\libui\debugExecutable\hello-libui.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 296ms
0:50:29: Task execution finished 'runDebugExecutableLibui'.

springeye avatar Apr 30 '20 16:04 springeye