oakes / vim_cubed

Vim rendered on a cube for no reason

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assertion `window != NULL' failed.

execb5 opened this issue · comments

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?

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.

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

@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.