I have installed cs50.h to my usr/local/include folder and libcs50.a to the usr/local/include folder however neither clang nor gcc are able to find it, giving the error:
hello.c:2:10: fatal error: 'cs50.h' file not found #include <cs50.h>
I have added both folders to my $PATH environment variable.
The commands I am trying to build using are
clang -ggdb3 -O0 -std=c11 -Wall -Werror -o hello hello.c -lcs50 -lm
gcc -g hello.c -o hello -lcs50 -lm
I have searched for other stack overflow questions and answers around the web but am unable find anything. I have entered each of the commands in this link. Does anyone have any idea what could be wrong?