3

I tried to launch first program in nim. I downloaded Windows installer from the official site and did the installation with all possible components. But when I try to run the program I get the message:

"unhandled exception: Requested command not found: 'gcc.exe -c -w -IC:nimlib -o 
 c:nimworknimcacheaa.o c:nimworknimcacheaa.c'. OS error: [OSError] > 
 Process terminated with exit code 1" 

is it possible to fix this situation?

Ethan
  • 876
  • 8
  • 18
  • 34
xtfkpi
  • 151
  • 4

2 Answers2

7

From Nim's website:

Note: The Nim compiler requires a C compiler to compile software. On Windows we recommend that you use Mingw-w64. GCC is recommended on Linux and Clang on Mac.

Make sure to add the gcc binaries to your PATH.

Community
  • 1
  • 1
zah
  • 5,314
  • 1
  • 34
  • 31
-1

download nim lag and exract the file and paste it in your directory lib