All Questions
2 questions
1
vote
1
answer
84
views
CS50.h library in ubuntu
every time i create program i have to write "clang prog.c -o prog lcs50"
link with cs50
but when I try "make prog"
it prints following error:
/usr/bin/ld: /tmp/cc8noHLN.o: in ...
0
votes
1
answer
3k
views
clang- error: linker command failed with exit code 1
I use the CS50 online IDE and I have the following error:
ex1.c:(.text+0x1b): undefined reference to `get_int'
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
Code
#...