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

Assertion `window != NULL' failed. #30

Open
execb5 opened this issue Apr 1, 2020 · 3 comments
Open

Assertion `window != NULL' failed. #30

execb5 opened this issue Apr 1, 2020 · 3 comments

Comments

@execb5
Copy link

execb5 commented Apr 1, 2020

This is what happens when I try to execute vim3:

vim3: /home/execb5/.nimble/pkgs/nimgl-1.1.1/nimgl/private/glfw/src/window.c:506: glfwSetWindowIcon: Assertion `window != NULL' failed.
Traceback (most recent call last)
/home/execb5/repos/vim_cubed/src/vim3.nim(28) vim3
/home/execb5/.nimble/pkgs/nimgl-1.1.1/nimgl/glfw.nim(5136) glfwCreateWindow
SIGABRT: Abnormal termination.

I'm on a VM running arco linux (basically arch) with bspwm as its window manager, does anyone know how to fix this issue?

@daemoncrafter
Copy link

running on ubuntu bionic i get:
Building vim3/vim3 using c backend
vim3: /.../.nimble/pkgs/nimgl-1.1.1/nimgl/private/glfw/src/window.c:506: glfwSetWindowIcon: Assertion `window != NULL' failed.
Traceback (most recent call last)
/.../vim_cubed/src/vim3.nim(28) vim3
/.../.nimble/pkgs/nimgl-1.1.1/nimgl/glfw.nim(5136) glfwCreateWindow
SIGABRT: Abnormal termination.

@oakes
Copy link
Owner

oakes commented Apr 2, 2020

are you guys sure your systems can run opengl? @execb5 since you're in a VM there is a good chance it isn't set up to work with your host OS's graphics driver. for example here's a small example game you can try to run -- if you get the same error, it's probably that opengl doesn't work on your system: https://github.com/paranim/parakeet

@execb5
Copy link
Author

execb5 commented Apr 9, 2020

@oakes I can't run the parakeet project, but it's a different error, unhadled exception OSError.
I can run an old college assignment that I had to do with pure opengl using freeglut, don't know if that says anything though.

I'm sorry, I didn't know nim before trying to run this project and have a barely minimal experience with opengl.

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

3 participants