I'm very bad with the command line and have just downloaded Ubuntu (in the microsoft store) yesterday. I'm trying to compile and run a cpp file with a specific command. I'm logged in as a non-root user and this is the command I want to use to compile the file:
mpic++ circuitSatisfiability.cpp -Wall -ansi -pedantic -std=c++17 -o circuitSatisfiability
But then I get this message:
/usr/bin/ld: cannot open output file circuitSatisfiability: Permission deniedcollect2: error: ld returned 1 exit statusmpic++: No such file or directory
If I do "ls" I can see my file is in there. Via the windows file I can also see that there is a ".idea" folder. Others could compile this way, why cant I?