yglukhov / nimx

GUI library
MIT License
1.1k stars 75 forks source link

Compiling error for JS on Windows #355

Closed matkuki closed 5 years ago

matkuki commented 5 years ago

Hi,

Compiling on Windows 10 for Javascript with nake js as documented on the Readme gives the following error:

Hint: symbolics [Processing]
Hint: solver [Processing]
Hint: symbol [Processing]
Hint: row [Processing]
..\nimx\pasteboard\abstract_pasteboard.nim(13, 30) Warning: type pragmas follow the type name; this form of writing pragmas is deprecated [Deprecated]
..\nimx\private\windows\js_canvas_window.nim(127, 62) Error: undeclared field: 'keyCode' for type dom.Event[declared in ..\..\..\..\..\..\C:\Nim\lib\js\dom.nim(414, 3)]

Any ideas?

I already updated some of my outdated libraries like closure_compiler, jester, ... Nim compiler is at devel version.

matkuki commented 5 years ago

Confirming that it works, thanks.