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

ERROR: Could not initialize GLEW! #89

Closed
SatoTsukasaCode opened this issue Jul 17, 2023 · 16 comments · May be fixed by #90
Closed

ERROR: Could not initialize GLEW! #89

SatoTsukasaCode opened this issue Jul 17, 2023 · 16 comments · May be fixed by #90

Comments

@SatoTsukasaCode
Copy link

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
Copy link
Member

rexim commented Jul 17, 2023

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

@SatoTsukasaCode
Copy link
Author

Looks to give me 0 or null

Loading src/main.c
GL version 3.3
ERROR: Could not initialize GLEW: 0

@rexim
Copy link
Member

rexim commented Jul 17, 2023

I ran out of ideas... :(

@rexim
Copy link
Member

rexim commented Jul 17, 2023

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

@SatoTsukasaCode
Copy link
Author

oh no

Loading src/main.c
GL version 3.3
ERROR: Could not initialize GLEW: Unknown error

@rexim
Copy link
Member

rexim commented Jul 17, 2023

Ok, I ran out of ideas for real this time 💀

@SatoTsukasaCode
Copy link
Author

image

@rexim
Copy link
Member

rexim commented Jul 17, 2023

🫂

@datawater
Copy link

Are you by any chance running on Wayland?

@SatoTsukasaCode
Copy link
Author

SatoTsukasaCode commented Jul 18, 2023

i3 on xorg, i might try in gnome

@SatoTsukasaCode
Copy link
Author

looks to be getting the same error in gnome

@datawater
Copy link

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

@SatoTsukasaCode
Copy link
Author

GL version 3.3
WARNING: GLEW_ARB_debug_output is not availableSegmentation fault

@datawater
Copy link

I've also ran out of ideas...

@SatoTsukasaCode
Copy link
Author

SatoTsukasaCode commented Jul 29, 2023

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

@rexim
Copy link
Member

rexim commented Jul 30, 2023

Yoooo! Congrats! 🎉

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

Successfully merging a pull request may close this issue.

3 participants