Undefined symbols for architecture arm64: "_main", referenced from: ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) pls help
Undefined symbols for architecture x86_64: "_main", referenced from: ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) this is what I got any solution for this?
[Running] cd "/Users/mdaltaphraza/Downloads/program/" && gcc main.c -o main && "/Users/mdaltaphraza/Downloads/program/"main Undefined symbols for architecture arm64: "_main", referenced from: ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) [Done] exited with code=1 in 0.232 seconds sir this error shown in vs code please solve
How to Install XCode on Mac | Install XCode on macOS th-cam.com/video/F6QZ2atZrDw/w-d-xo.htmlfeature=shared
Thanks man it helped a lot!
thanks a lot I can run my codes in terminal
Thanks my bro
Undefined symbols for architecture arm64:
"_main", referenced from:
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
pls help
Same problem
even I got the same output
Same problem bhai😢.... Solution peli kichu‽
Type cmd S to save your file, and then run the code
@@PatrickGrindelwald Bro you are the best
i asked chatgpt two times ans he cant help me like you
i followed this but i keep getting an error for the #include line - able to provide advice on this please?
Make same video for Ubuntu Operating system
I did same steps as you showed but not working.
Include path error showing
did you find any solution
Undefined symbols for architecture x86_64:
"_main", referenced from:
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
this is what I got
any solution for this?
same problem
if you have solved pls reply
@@nageswarreddy6066 Save the code than run it
[Running] cd "/Users/mdaltaphraza/Downloads/program/" && gcc main.c -o main && "/Users/mdaltaphraza/Downloads/program/"main
Undefined symbols for architecture arm64:
"_main", referenced from:
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[Done] exited with code=1 in 0.232 seconds
sir this error shown in vs code please solve
same problem
yes my intel iMac also have the same issue
same issue with m1 chip
@@aymenechchalim4654 bro same problem
@@sarthakraghav7736 bro I found the solution, just save the file, and then recompile