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

Crash when no monitor found. #31

Open
Henrixounez opened this issue Aug 21, 2019 · 5 comments
Open

Crash when no monitor found. #31

Henrixounez opened this issue Aug 21, 2019 · 5 comments

Comments

@Henrixounez
Copy link
Member

OS
Windows Subsystem for Linux (Ubuntu)

$ ./vid vid.v
vid: /build/glfw3-KYdbSD/glfw3-3.2.1/src/monitor.c:394: glfwGetVideoMode: Assertion `monitor != NULL' failed.
Aborted (core dumped)
@medvednikov
Copy link
Member

medvednikov commented Aug 24, 2019

Do you have a monitor connected? :)

Or were you building it via SSH?

@Henrixounez
Copy link
Member Author

It was on Windows Subsystem for Linux, it did that because there is no graphical interface. I also managed to do the same of a Linux tty Virtual Console.

@medvednikov
Copy link
Member

I see, thanks. This error should be handled.

@Water261
Copy link

Water261 commented Nov 5, 2019

This will be fun

@JalonSolov
Copy link
Contributor

V no longer uses or includes glfw.

Currently on WSL, I see this:

jalon@Ripper:~/git/ved$ v run .
FULL SCREEN=true
open multiple workspaces
/home/jalon/git/ved/ved
load session "/home/jalon/.ved/session"
gg error: GLX: failed to create GL context
Aborted
jalon@Ripper:~/git/ved$

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

4 participants