@mashingan Ah I see. First open **Developer Command Prompt for VS 2017**. Then on that command prompt, run **vccexe** "C:\WINDOWS\system32\cmd.exe" /C "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall && SET" cl.exe Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x86 Copyright (C) Microsoft Corporation. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ]
Seems fine. Now the issue is to compile a [Hello world program](https://nim-by-example.github.io/hello_world/). Calling **nim c -r hello.nim** gives this: Hint: used config file 'C:\nim\config\nim.cfg' [Conf] Hint: system [Processing] Hint: hello [Processing] CC: hello CC: stdlib_system hello.c stdlib_system.c C:\nim\lib\nimbase.h(482): error C2118: negative subscript C:\nim\lib\nimbase.h(482): error C2118: negative subscript Hint: [Link] LINK : warning LNK4044: unrecognized option '/Zi'; ignored LINK : warning LNK4044: unrecognized option '/F33554432'; ignored LINK : warning LNK4044: unrecognized option '/FeC:\Users\Cipta-NB\Codes\Nim\hello.exe'; ignored LINK : fatal error LNK1181: cannot open input file 'C:\Users\Cipta-NB\Codes\Nim\nimcache\hello.obj' Error: execution of an external program failed: 'link.exe /nologo /DEBUG /Zi /F33554432 /FeC:\Users\Cipta-NB\Codes\Nim\hello.exe C:\Users\Cipta-NB\Codes\Nim\nimcache\hello.obj C:\Users\Cipta-NB\Codes\Nim\nimcache\stdlib_system.obj '