examples show nothing #299
Comments
Ping? |
Demo seems simpler so I try to get glError: it is 1282. Not very expresive but at least we know something went wrong! |
first error 1282 after ctx = nk_glfw3_init(win, NK_GLFW3_INSTALL_CALLBACKS); |
second error 1282 after nk_glfw3_render(NK_ANTI_ALIASING_ON, MAX_VERTEX_BUFFER, MAX_ELEMENT_BUFFER); |
Hi, you really have to provide me with more information, if you want me to help. Beginning from your title "examples show nothing". Well that is obviously not true because I can run it just fine, you specify more later that you are using mingw but not which OS you are using. Then what demos or backend are you compiling (sdl, glfw, ...) and which work and which don't and are you using OpenGL or DirectX? I now know that you are using OpenGL but some general information is always helpful. As for your OpenGL code it is not really helping since error codes are platform dependent. You need to provide me the actual error message or enum. One possibility is that nuklears shader did not compile and link correctly, so it would help if you could check if they work correctly. |
sorry if I was not clear: I am just trying the demo from the repo in the glfw_opengl3 version and I am running on windows |
glfw_opengl2 demo is working |
I assume you are using msys2. It's not really stable platform currently. |
Also you can try update your msys packages using ssu package manager. |
I dont use msys2 just mingw-w64 for 32 bits (4.8.2) and cmake build system.
|
Just changing NK_SHADER_VERSION to empty string and GLFW_OPENGL_COMPAT_PROFILE did program succed |
could see shader compile error
|
suceed in compilation |
the same version 330 makes examples to work. canvas example was already working because it was defined as 150 |
Is there any conclusion? |
Bump... |
Could those of you having these issues meticulously exactly describe all steps (including every tiny bit of your movement or other activity) to reproduce these? It should be totally fool-proof like: "On Windows 7 64bit with Service Pack 1:" "1. Press Win+r" "2. type |
Initial facts: My investigations: @dumblob is this enough to reproduce? |
Compiling examples with mingw-w64 (32 bits): Only canvas example shows anything, the other ones show empty canvas.
Any idea?
The text was updated successfully, but these errors were encountered: