This was incredibly helpful and I especially appreciate your end explanation of adding another source code under the same project. I like to divide my project by class name and then name my source codes/classes based on the hw assigned, so I truly appreciate the end. Thank you so much!
You're welcome! If you ever feel like you need a supplement to your formal courses, I encourage you to check out my online course at hellodrdan.com. I've been teaching intro programming for 6 years now and finally created no-steps-skipped content for an entire year's worth of college-level instruction.
thank you so much, i have been ready to pull my hair out for the past few days, but your videos are seriously helpful, i didn't get any error messages following this video haha it was a beautiful sight
I wanting to learn C++ to write very basic simple audio plugins for Logic Pro X and music in in gerenal all like basic samplers and for the harmonics and overtones series and later for physical modeling synthesis can this programming do that ? But I was told to Install Xcode from apple store and first learn Swift not C++ and then after Swift then go on to C++ what is You view on this Sir can or shall I still use Eclipse and do I still GCC installed learning Swift Programming?
When I select "run" after inputting my code it gives me a prompt to run the code as "C/C++ Container Application or Local C/C++ Application" and it won't allow me to run the code unless I select one of the prompts. Are there any solutions to this?
Are you able to debug C++ code in Eclipse on your Mac? I've been struggling for a bit trying to get it to work. Installed GDB through Homebrew which appears to work but there doesn't seem to be any debugging of C++ in Eclipse for me which is a bit of a shame.
I'm more of a windows guy to be honest...I seem to remember debugging not "just working" the same as it typically does in Windows...but it's been awhile since I've been in the Mac environment.
Hi William, good question. To be honest, I never bothered looking because I typically don't have multiple main() method in a single "Eclipse Project"...but I just poked around and found you can in-fact exclude from build. Just right click on the file, click on "Resource Configurations", click "Exclude From Build...", select Debug and Release and click "OK". Repeat the process and uncheck the Debug/Release boxes to Include back into the build. Thanks for the question, you prompted me to learn something new!
Hello, it dosent´t work Output from Console 20:39:17 **** Incremental Build of configuration Debug for project myfirstcppprojekt **** make all Building target: myfirstcppprojekt Invoking: MacOS X C++ Linker g++ -o "myfirstcppprojekt" ./myfirstcppprogramm.o Undefined symbols for architecture x86_64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [myfirstcppprojekt] Error 1 "make all" terminated with exit code 2. Build might be incomplete. 20:39:17 Build Failed. 2 errors, 0 warnings. (took 127ms)
This was incredibly helpful and I especially appreciate your end explanation of adding another source code under the same project. I like to divide my project by class name and then name my source codes/classes based on the hw assigned, so I truly appreciate the end. Thank you so much!
You're welcome! If you ever feel like you need a supplement to your formal courses, I encourage you to check out my online course at hellodrdan.com. I've been teaching intro programming for 6 years now and finally created no-steps-skipped content for an entire year's worth of college-level instruction.
thank you so much, i have been ready to pull my hair out for the past few days, but your videos are seriously helpful, i didn't get any error messages following this video haha it was a beautiful sight
Thank you so much Dr Dan.
Viewers : It works only when you first go through the previous tutorial.
Is that we need to install java command-line tool in order to run C .
Thanks! Without an extra "save" and click in the editor the lib was unknown. Now everything works like a charm.
Hi, I've done all the previous steps and am able to install the CDT, but when I open a new project it does not give me the C++ option.
hello what did u do?
Mine didn’t download it said can’t instal the software because it is no currently available from the software update server
got the same message
have you solved your problem if yes then please help
UNIX is so much more simple than Windows for installing GCC... MacOS is definitely better for writing code. Thanks for the tutorial!
my mac constantly says cmake not found failure running cmake :( someone who can help?
Bro you saved my life and nerve cells!
I have been trying hard to get the debug function running on Mac, just doesn't work, the eclipse freezes every time. Could there be a tutorial for it?
Very thorough and easy to follow. Thanks!
Helpful, thanks Dr.Dan
super digestible and easy to understand, thank you!!
you are a saviour.....tried visual studio code but it was shitty.......somehow wasn't able to make it work
I wanting to learn C++ to write very basic simple audio plugins for Logic Pro X and music in in gerenal all like basic samplers and for the harmonics and overtones series and later for physical modeling synthesis can this programming do that ? But I was told to Install Xcode from apple store and first learn Swift not C++ and then after Swift then go on to C++ what is You view on this Sir can or shall I still use Eclipse and do I still GCC installed learning Swift Programming?
gracias mi amigo. estaba buscando una solucion por todas partes!
When I select "run" after inputting my code it gives me a prompt to run the code as "C/C++ Container Application or Local C/C++ Application" and it won't allow me to run the code unless I select one of the prompts. Are there any solutions to this?
choose the second one i think
do you know now how it works? I have the same problem
Does this mean that Homebrew is no longer needed after downloading Xcode command line tool?
Thank you so much Daniel. This was of immense help.
This was so helpful! Thank you, now I can get to work finally lol
Thanks Daniel! Great work, very smart guy!
Thank you very much!
Very helpful! Thank you!
thanks really we do not have much choices for CPP IDE
Dr Dan, how to make GDB work with eclipse on macOS Catalina?
Thank you.Very Helpful
Thank you, very helpful!
Thank you , you really helped me a lot !!
awesome explanation!
It is not letting me instal saying that I need c++ development tool, how do I resolve this?
You need java 11 to be able to run c++ (2020-06).
This is very helpful. Thank you
You're welcome! If you want more easy-to-follow videos, try my course at hellodrdan.com
iPads are good for programming & codings...???
Are you able to debug C++ code in Eclipse on your Mac? I've been struggling for a bit trying to get it to work.
Installed GDB through Homebrew which appears to work but there doesn't seem to be any debugging of C++ in Eclipse for me which is a bit of a shame.
I'm more of a windows guy to be honest...I seem to remember debugging not "just working" the same as it typically does in Windows...but it's been awhile since I've been in the Mac environment.
Thank you for this video! I was stuck but now after watching I am not.
so there's no Exclude From Build as there is in Visual Studio?
Hi William, good question. To be honest, I never bothered looking because I typically don't have multiple main() method in a single "Eclipse Project"...but I just poked around and found you can in-fact exclude from build. Just right click on the file, click on "Resource Configurations", click "Exclude From Build...", select Debug and Release and click "OK". Repeat the process and uncheck the Debug/Release boxes to Include back into the build.
Thanks for the question, you prompted me to learn something new!
Huge Thanks ❤
Hello, it dosent´t work
Output from Console
20:39:17 **** Incremental Build of configuration Debug for project myfirstcppprojekt ****
make all
Building target: myfirstcppprojekt
Invoking: MacOS X C++ Linker
g++ -o "myfirstcppprojekt" ./myfirstcppprogramm.o
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [myfirstcppprojekt] Error 1
"make all" terminated with exit code 2. Build might be incomplete.
20:39:17 Build Failed. 2 errors, 0 warnings. (took 127ms)
Thank you!!! P.s. I was choosing that "C/C++" option and it wasn't working 😅
My exact issue!!!!! lol
do you now how I can run it now? because I have the same problem that I have 2 options, but both aren't working
great video! very helpful !!!
Thanks! Checkout out hellodrdan.com for more videos if you're still trying to learn Java!
Thank you so much 🤝
Thank you!
thank you for not making me install home-brew. I don't want to install non trusted software! simply typing gcc downloads it by clicking install
gdb not work!
xcode-select --install
Thank you :)
awesome!
Thanks!
Thabks broo
Good boi
THANK YOU!!!