sonoro1234 / LuaJIT-ImGui

LuaJIT ffi binding for imgui, backends and extension widgets
MIT License
213 stars 29 forks source link

Freeze during initialization #35

Closed vadersug5 closed 9 months ago

vadersug5 commented 1 year ago

Good afternoon. I build for Windows x64. For some reason, my application freezes whenever Imgui_Impl_glfw_opengl3 is called. Could you please tell me if there is a way to fix this? Thank you very much

sonoro1234 commented 1 year ago

Lack of information. Which glfw are you using?

vadersug5 commented 1 year ago

glfw3. Downloaded from here: https://www.glfw.org/download

sonoro1234 commented 1 year ago

Did you tried examples folder?. You need glfw LuaJIT binding for that.

vadersug5 commented 1 year ago

Yes, I did. It works if I grab everything from releases. However, if I'm not mistaken, it is all built for Windows x32, so I had to compile it myself. Yep. I call GLFW functions through ffi. Also, I forgot to add that it stops working regardless of whether I create OpenGL context or not

sonoro1234 commented 1 year ago

Just updated LuaJIT-ImGui and anima to use imgui 1.89.6 docking. Could build anima with mingw for 32 and 64 bits and run example without problems

Also with msvc 2022 for 64bits