Skip to main content
added bit about using clang with arguments.
Source Link
curiouskiwi
  • 18.7k
  • 2
  • 18
  • 43

Sounds like you haven't actually saved your source code before running make. Double-check that you don't see a red-dot in the tab of the source code.

If you have a very slow connection, your save might not have "registered" so if that's the case, close the source code file and then reopen it to make sure it is up to date, then try make again.

(Note that if are compiling using clang directly, rather than make, you need to add the appropriate flag(s) for the libraries you are using. In the case of the CS50 Library, you must include -lcs50 to link that library.)

Sounds like you haven't actually saved your source code before running make. Double-check that you don't see a red-dot in the tab of the source code.

If you have a very slow connection, your save might not have "registered" so if that's the case, close the source code file and then reopen it to make sure it is up to date, then try make again.

Sounds like you haven't actually saved your source code before running make. Double-check that you don't see a red-dot in the tab of the source code.

If you have a very slow connection, your save might not have "registered" so if that's the case, close the source code file and then reopen it to make sure it is up to date, then try make again.

(Note that if are compiling using clang directly, rather than make, you need to add the appropriate flag(s) for the libraries you are using. In the case of the CS50 Library, you must include -lcs50 to link that library.)

Source Link
curiouskiwi
  • 18.7k
  • 2
  • 18
  • 43

Sounds like you haven't actually saved your source code before running make. Double-check that you don't see a red-dot in the tab of the source code.

If you have a very slow connection, your save might not have "registered" so if that's the case, close the source code file and then reopen it to make sure it is up to date, then try make again.