Hey, there.
I'm getting a permission error when I go to compile a program built in Nim. I
can compile fine if I use sudo nim, but that makes me enter the password each
time into Visual Studio Code, so I'd rather not have to do that. Any advice?
Here's the error in full:
solarlune@solarlune-linux ~/Documents/Projects/Nim/TestGame $ nim compile
./main.nim
Hint: used config file '/etc/nim.cfg' [Conf]
Hint: system [Processing]
Hint: main [Processing]
CC: main
Error: execution of an external compiler program 'gcc -c -w
-I/usr/lib/nim -o
/home/solarlune/Documents/Projects/Nim/TestGame/nimcache/main.o
/home/solarlune/Documents/Projects/Nim/TestGame/nimcache/main.c' failed with
exit code: 1
cc1: error: /usr/local/include: Permission denied