D:\Nim\examples>nim compile --run wingui.nim
d:\nim\config\nim.cfg(45, 2) Hint: added path: 'C:\Users\chenmin\.babel\pkgs\' [
Path]
d:\nim\config\nim.cfg(46, 2) Hint: added path: 'C:\Users\chenmin\.nimble\pkgs\'
[Path]
Hint: used config file 'd:\Nim\config\nim.cfg' [Conf]
Hint: system [Processing]
Hint: wingui [Processing]
Hint: windows [Processing]
Hint: shellapi [Processing]
Hint: nb30 [Processing]
Hint: mmsystem [Processing]
Hint: shfolder [Processing]
CC: wingui
Error: unhandled exception: 绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆?
[OSError]
I'm running the Nim compiler just fine on Windows 7, but I did have some issues with an old Mingw install in the path.
Make sure you have the proper Mingw, and the Nim compiler in the path, and if you're using a cmd window, close it and reopen it after changing paths.