yglukhov / nimx

GUI library
MIT License
1.09k stars 75 forks source link

the linux executable produced by nimx fails with sdl2 (latest hg) error. #349

Closed kobi2187 closed 5 years ago

kobi2187 commented 5 years ago

I get an error from sdl2.init when trying to run the linux executable made by nake. I don't know if some package nimx depends on is not latest, because nimble still doesn't have the update command.

kobi7@sumak:~/prog/nim/nimx_apps$ ./build/linux/NimxApp 
Error: sdl2.init(INIT_VIDEO): No available video device
Error: could not set stencil size: Video subsystem has not been initialized
Could not create window!
kobi7@sumak:~/prog/nim/nimx_apps$ 
yglukhov commented 5 years ago

I don't think it is related to nimx. Prove me wrong by saying that a bare SDL2 C example works.

kobi2187 commented 5 years ago

You are correct. I reinstalled sdl from source, and it works. sorry