treeform / slappy

3d sound api for nim.
MIT License
40 stars 3 forks source link

MSVC compiler syntax error #12

Open matkuki opened 1 day ago

matkuki commented 1 day ago

Hi,

Trying to compile with Microsoft's MSVC compiler I get this error:

D:\Nim\shutdown_app_iup\shutdown.nim(11, 8) Warning: imported and not used: 'sequtils' [UnusedImport]
D:\Nim\shutdown_app_iup\shutdown.nim(12, 8) Warning: imported and not used: 'sugar' [UnusedImport]
D:\Nim\shutdown_app_iup\shutdown.nim(13, 8) Warning: imported and not used: 'data' [UnusedImport]
CC: C:/Users/matic/.nimble/pkgs2/slappy-0.3.3-16141784dd7a241c4223053b1ab80831a7a774ed/slappy.nim
@mC@c@sUsers@smatic@s.nimble@spkgs2@sslappy-0.3.3-16141784dd7a241c4223053b1ab80831a7a774ed@sslappy.nim.c
C:\Users\matic\nimcache\shutdown_d\@mC@c@sUsers@smatic@s.nimble@spkgs2@sslappy-0.3.3-16141784dd7a241c4223053b1ab80831a7a774ed@sslappy.nim.c(209): error C2059: syntax error: '}'
Error: execution of an external compiler program 'cl.exe /c /nologo -DWIN32_LEAN_AND_MEAN   /IC:\Users\matic\.choosenim\toolchains\nim-#devel\lib /ID:\niup /ID:\Nim\shutdown_app_iup /nologo /FoC:\Users\matic\nimcache\shutdown_d\@mC@c@sUsers@smatic@s.nimble@spkgs2@sslappy-0.3.3-16141784dd7a241c4223053b1ab80831a7a774ed@sslappy.nim.c.obj C:\Users\matic\nimcache\shutdown_d\@mC@c@sUsers@smatic@s.nimble@spkgs2@sslappy-0.3.3-16141784dd7a241c4223053b1ab80831a7a774ed@sslappy.nim.c' failed with exit code: 2

Any hints on how to debug this?