so i was having a weird error on but not on other inclueds like vector and iostream?????? like why i follw this but how do i fix that in my vs code ???
Thanks for the video. gcc is able to work fine without specifying the CXXFLAGS, but not clang. When it supplied, it still doesn't work. From passing -v, I see an extra space being put into the command to find the sdk path. If I change it to what you have, but remove the space between sysroot and $ for the subexpression, it then works. Any idea why?
Glad you're back on UA-cam, welcome back!
Thank you, the last 1.5 years have been rather intense, in a mostly positive way. Now I got more time, more space, and more ideas ;)
🖥Glad to see you back again!
I'm glad to be back :)
Came across this video provided by your website, excellent video to get started with C compiling on macOS! Vielen Dank :)
Wow i have been struggling to setup gcc properly and was facing include not found error, finally i got rid of it , thanks a LOT !!!!🙏
so i was having a weird error on but not on other inclueds like vector and iostream?????? like why i follw this but how do i fix that in my vs code ???
They dont seem to have any releases for arm64 anymore
Thank you so much, This was insanely useful, I have started to code and I couldn't understand why I couldn't run my code :)
but how do i fix it on my vscode ????
Excellent! Clear and consise. 👏
💻Starting my journey on c++ and game development and this tutorial was really helpful set up both compilers succefully, thanks a lot!
is the path adding is same for bash shell ?
Thanks for the video. gcc is able to work fine without specifying the CXXFLAGS, but not clang. When it supplied, it still doesn't work. From passing -v, I see an extra space being put into the command to find the sdk path. If I change it to what you have, but remove the space between sysroot and $ for the subexpression, it then works. Any idea why?
Answering my own question, exporting SDKROOT=$(xcrun -show-sdk-path) seems to fix my issues with clang!
Thank you for sharing, I will include this in the blog article
Thank you very much! Sir!
I typed brew search gcc, after installing homebrew, and it said command not found.
Did you add the following lines to your ~/.zshrc:
export PATH="/opt/homebrew/bin:${PATH}"
eval "$(/opt/homebrew/bin/brew shellenv)"
thank you so much
Thank you
🖥