yglukhov / nimx

GUI library
MIT License
1.09k stars 75 forks source link

value out of range: -2 [RangeError] #268

Closed alehander92 closed 6 years ago

alehander92 commented 7 years ago

I get this error when I try to run the example. I have libSDL2 installed on Ubuntu 16.10, it's working fine with the js target

yglukhov commented 7 years ago

Any stack trace?

alehander92 commented 7 years ago
Traceback (most recent call last)
x.nim(3)                 x
system.nim(2730)         sysFatal
Error: unhandled exception: value out of range: -2 [RangeError]

I have libSDL2-2.0.so.0 installed (I had a problem with that initially, I am not sure if this error is connect)

yglukhov commented 7 years ago

Hmm, still not much ( Please provide the source code, your nim version, the command you're compiling with.

yglukhov commented 6 years ago

I suppose this has been fixed a while ago. Please reopen if still an issue.