tsoding / ded

Dramatic EDitor
MIT License
579 stars 75 forks source link

ERROR: Could not initialize GLEW! #89

Closed SatoTsukasaCode closed 1 year ago

SatoTsukasaCode commented 1 year ago

Hey, I am trying to install ded on Debian. I have all of the dependencies installed but when i try to run ./ded src/main.c i get:

Loading src/main.c
GL version 3.3
ERROR: Could not initialize GLEW!
rexim commented 1 year ago

I made it print GLEW error in case of the failure 99c8bfe0278f97c5fac3908894e478f3b6b4d187 Maybe it will give you more info on what's going on.

SatoTsukasaCode commented 1 year ago

Looks to give me 0 or null

Loading src/main.c
GL version 3.3
ERROR: Could not initialize GLEW: 0
rexim commented 1 year ago

I ran out of ideas... :(

rexim commented 1 year ago

Wait! I was calling a wrong function! ea30e9d6ee1c0d52aa11f9386920b884987a6b55 Sorry! :D Could you please try again?

SatoTsukasaCode commented 1 year ago

oh no

Loading src/main.c
GL version 3.3
ERROR: Could not initialize GLEW: Unknown error
rexim commented 1 year ago

Ok, I ran out of ideas for real this time :skull:

SatoTsukasaCode commented 1 year ago

image

rexim commented 1 year ago

:people_hugging:

datawater commented 1 year ago

Are you by any chance running on Wayland?

SatoTsukasaCode commented 1 year ago

i3 on xorg, i might try in gnome

SatoTsukasaCode commented 1 year ago

looks to be getting the same error in gnome

datawater commented 1 year ago

0 Should actually mean GLEW_OK... Can you remove the error check and try again?

SatoTsukasaCode commented 1 year ago
GL version 3.3
WARNING: GLEW_ARB_debug_output is not availableSegmentation fault
datawater commented 1 year ago

I've also ran out of ideas...

SatoTsukasaCode commented 1 year ago

i switched back to arch and ded works so i'm going to close

rexim commented 1 year ago

Yoooo! Congrats! :tada: