File not found when running program in WSL

I'm trying to run my program in WSL, but every time I try, I get the following output:

"/mnt/c/Users/c_eps/Documents/2019 Spring/Operating Systems/mmu/mmutest.c"
: not found
/mnt/c/Users/c_eps/Documents/2019 Spring/Operating Systems/mmu/mmutest.c: 2: /mnt/c/Users/c_eps/Documents/2019 Spring/Operating Systems/mmu/mmutest.c: //: Permission denied
: not found
: not found
: not found
/mnt/c/Users/c_eps/Documents/2019 Spring/Operating Systems/mmu/mmutest.c: 8: /mnt/c/Users/c_eps/Documents/2019 Spring/Operating Systems/mmu/mmutest.c: Syntax error: "(" unexpected

Process finished with exit code 2

All of the toolchain settings check out, but I cna't figure out what's wrong.

0

Hello!

1. Is your WSL toolchain a default one? Please provide a screenshot of File | Settings | Build, Execution, Deployment | Toolchains.

2. Please create a default "Hello, World!" project in CLion (File | New Project > C++ Executable) and check whether the issue happens in it.

0

请先登录再写评论。