Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run exception #2

Open
springeye opened this issue Apr 30, 2020 · 0 comments
Open

run exception #2

springeye opened this issue Apr 30, 2020 · 0 comments

Comments

@springeye
Copy link

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'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant