i downloaded cs50 header file and tried <> , "" both but

Undefined symbols for architecture x86_64: "_get_int", referenced from: _main in mario-af47a4.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [mario] Error 1

theres error message like this

  • how did you compile it?? – Ojou Nii May 22 '20 at 13:35
  • i wrote make mario in terminal – won1225 May 22 '20 at 14:29
  • The following link can help you cs50,h – MARS May 22 '20 at 19:05
  • You may get more troubles than you think if you decide to use your own environment, it might not be worth. Just use CS50 IDE. – stensal May 25 '20 at 0:25

You must log in to answer this question.

Browse other questions tagged .