0

I have seen all answers mentioned earlier but I seem to still not navigate out of the problem.

More so because yesterday when I complied hello.c and water.c they worked fine. I even submitted the answers. This morning when I was attempting the Mario.c i kept getting this error.

Please find the screenshot attached with my dashboard so that you can help me with my problem.

Thank you! Sonicenter image description here

2 Answers 2

1

You are currently in the general directory called workspace. However, mario.c, water.c, and hello.c all exist in the pset1 directory. When you type make mario, make hello, and make water into the terminal, the computer tries to search for the files, but, since they don't exist in workspace, the computer can't find these files. Type cd pset1 into the terminal to go into the pset1 directory. Then, you'll be able to make all your files.

If you still have issues, comment below.

0

Check what directory you're in. The program is unable to compile because it cannot find the target source file.

The code is fine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .