examples2
examples2 copied to clipboard
White window is showed and closed in imgui example
https://github.com/conan-io/examples2/assets/66206278/58fc68b0-acce-4ff5-abe6-4a9c45ad1be7
How to reproduce
git clone https://github.com/conan-io/examples2
cd examples2\examples\examples\libraries\imgui\introduction
conan install . --build=missing
cmake --preset conan-default
cmake --build --preset conan-release
cd build\Release
.\dear-imgui-conan.exe
Hi @FreePhoenix888, Thanks for reporting. I can't reproduce that, does that always happen? Could it be related to some graphics cards issues on your side? For me building and running from powershell runs ok.
Hi @FreePhoenix888, Thanks for reporting. I can't reproduce that, does that always happen? Could it be related to some graphics cards issues on your side? For me building and running from powershell runs ok.
Hi, @czoido ! What information could I provide to help us find it out?
Hi @FreePhoenix888, Thanks for reporting. I can't reproduce that, does that always happen? Could it be related to some graphics cards issues on your side? For me building and running from powershell runs ok.
Hi, @czoido ! What information could I provide to help us find it out?
To be honest, I'm not sure, what could be happening... A couple of things that may give us some hints...
- If you resize the window, does something appear?
- If you launch the exe from the windows explorer, does the same thing happen?
- Are the shader files there besides the executable?
Hi @FreePhoenix888, Thanks for reporting. I can't reproduce that, does that always happen? Could it be related to some graphics cards issues on your side? For me building and running from powershell runs ok.
Hi, @czoido ! What information could I provide to help us find it out?
To be honest, I'm not sure, what could be happening... A couple of things that may give us some hints...
- If you resize the window, does something appear?
- If you launch the exe from the windows explorer, does the same thing happen?
- Are the shader files there besides the executable?
https://github.com/conan-io/examples2/assets/66206278/357ad54d-275e-49c8-95bd-493e266343eb
In the video you may see that
- 2 shader files are located with exe file
- I am unable to resize window
- The same happens if I launch by using explorer
Additional Info: examples from official imgui repo are working for me, at least these: https://github.com/ocornut/imgui/tree/master/examples/example_win32_directx11 https://github.com/ocornut/imgui/tree/master/examples/example_win32_directx12
Hi @FreePhoenix888, Thanks for reporting. I can't reproduce that, does that always happen? Could it be related to some graphics cards issues on your side? For me building and running from powershell runs ok.
Hi, @czoido ! What information could I provide to help us find it out?
To be honest, I'm not sure, what could be happening... A couple of things that may give us some hints...
- If you resize the window, does something appear?
- If you launch the exe from the windows explorer, does the same thing happen?
- Are the shader files there besides the executable?
2024-02-16.20-34-35.mp4 In the video you may see that
- 2 shader files are located with exe file
- I am unable to resize window
- The same happens if I launch by using explorer
Additional Info: examples from official imgui repo are working for me, at least these: https://github.com/ocornut/imgui/tree/master/examples/example_win32_directx11 https://github.com/ocornut/imgui/tree/master/examples/example_win32_directx12
This project uses opengl, are the opengl ones working for you? Maybe it could be some missing dll's?
opengl: glfw and win32 examples were working Sdl is not because is not installed. As I see glfw and glew is user in this project https://github.com/conan-io/examples2/assets/66206278/90bb78e8-2a16-44eb-afe3-786b9c82b507
Is there more info I can provide to find out are there missing dlls?
Maybe you can try to run the imgui example for opengl + glfw in case it is something wrong with the code. Try replacing the main.cpp from this repo with this: https://raw.githubusercontent.com/ocornut/imgui/master/examples/example_glfw_opengl3/main.cpp and build again. Be aware that you have to add the path for the binding includes to build successfully:
#include "bindings/imgui_impl_glfw.h"
#include "bindings/imgui_impl_opengl3.h"