I am trying to compile and run a project on VS Code on Mac but I am getting the mentions error anybody has any idea on what am I missing?
[Running] cd "/Users/aditisingh/Desktop/asm4/" && gcc main.c -o main && "/Users/aditisingh/Desktop/asm4/"main
Undefined symbols for architecture x86_64:
"_AddArc", referenced from:
_main in main-4ad7ac.o
"_AddNode", referenced from:
_main in main-4ad7ac.o
"_EmptyGraph", referenced from:
_main in main-4ad7ac.o
"_PrintAllArcs", referenced from:
_main in main-4ad7ac.o
"_mspK", referenced from:
_main in main-4ad7ac.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[Done] exited with code=1 in 0.262 seconds