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

attempt to call field 'MouseMoved' (a nil value) #4

Open
nagolove opened this issue Feb 6, 2021 · 0 comments
Open

attempt to call field 'MouseMoved' (a nil value) #4

nagolove opened this issue Feb 6, 2021 · 0 comments

Comments

@nagolove
Copy link

nagolove commented Feb 6, 2021

I pulled latest imgui-bindings and build love-imgui.so library. But it crashes with next message on latest love2d(11.4):

Error: main.lua:98: attempt to call field 'MouseMoved' (a nil value)
stack traceback:
        [string "boot.lua"]:777: in function 'MouseMoved'
        main.lua:99: in function <main.lua:98>
        [string "boot.lua"]:604: in function <[string "boot.lua"]:594>
        [C]: in function 'xpcall'

Sometimes it got

love: /home/testuser/projects/imgui-bindings-master/deps/libimgui/imgui.cpp:3960: void ImGui::NewFrame(): Assertion `GImGui != __null && "No current context. Did you call ImGui::CreateContext() and ImGui::SetCurrentContext() ?"' failed.
[1]    412419 abort (core dumped)  love .

I used this example. Note that this example works with slages bindings.

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