Super! Short and absolutely clear. Thanks a lot! But how about installing MinGW as a part of Cygwin? For serous things people will need those tools like make, bash and so on, especially those who use Eclipse CDT to develop cross platform applications. For cross platform development on Windows as on a host system it's convenient to have similar environment and tools as in Linux for example.
@slrdr Thank You. I think videos that cover the installation of cygwin, use of the various tools from cygwin and cross development would be great! I know there are many beginning embedded system developers that would appreciate it. My goal with this video and using MinGW was to provide a "minimal" environment for Windows users learning programming/C++.
Same problem with this version of Eclipse. More better- download Helios from Sandford U computer science page for cs106a- then run the update and then the install new software choosing C/C++ Development Tools-- perfect, not to mention a good plug-in from Stanford for Java.
@ReelLearning Mehran is hilarious and fun to follow along with. The Java class was a blast if for no other reason. Small programs like Karel the Robot from Stanford and Scratch from Harvard surely make CS/Algorithms fun to learn. I'd recommend either or both as a first step- should one be setting out to learn on their own.
For those who don't know- CS106A is an open course project in Java from Standford and can be reached by their page- just do a quick Google search "CS106a"
Very helpful video. Short, concise, and straight to the point. I wish I had ran into it before spending a couple of hours following outdated instructions elsewhere. Thanks for sharing.
Hey, excellent video, thanks! But I'm encountering a slight problem, and I'm not sure what's wrong. Everything goes as planned until I click "Run". When I do so an error message pops up under the name "Application Launcher" and says "Launch failed. Binary not found." When I look under "Console" it says
"**** Rebuild of configuration Debug for project Hello World ****
@HenryAlman Also, the other problem I am now having is that it shows console output, or "cout", commands as errors and the breakpoint says "Symbol cout could not be resolved". Any help with this issue would also be great. Thanks!
@HenryAlman If you have iostream included and the file compiles "ok" when you click on the build button then the problem is with the eclipse code analyzer. The code analyzer will usually resolve these errors after a little while... I imagine this will be resolved with future releases with of eclipse.
@HenryAlman "The Nothing to build for Hello World" would seem to indicate that your source file (*.cpp) is not associated with your Hello World project. Can you look at the project explorer on the left side of eclipse, left click on the triangle or + next to the project name and see if you have a file under the src directory?
@ReelLearning SRC Directory? Sorry, I'm a bit slow! I know that iostream is being included, and that the build is running OK though! :) The HelloWorld.cpp file is immediately there under the project. Should I just keep trying then, if the analyzer should eventually fix it? The message is different now aswell, it says "Launching HelloWorld.o(1) has encountered a problem. Error starting process." In addition, there are "Binary" and "Debug" folders appearing under project. Thanks!
@HenryAlman The code analyzer will not resolve the issue that you specified. I'm unsure why you are receiving the "starting process" error. Do you receive any messages about permissions? You may want to try and create a new workspace (go to File | Switch Workspace | other) and specify another dir that you know you have permission to read/write/execute.You should have a "src" dir that is created at the same level as the "Binary" and "Debug" dir, but this may not be a factor in your issue.
@reuzaki100 I watched your video and I can't see any steps that you are doing incorrectly. It appears that everything is compiling and linking correctly. It also appears that an exe file is being generated. Modify your main, so it looks like:
i doesn't wok for me!! i followed the steps but no changes Mingw is implemented in eclipse there still consider cout and cin as errors help pzz .maybe i have to configurate eclipse selecting somthing .. help plzzz
@reuzaki100 What is reported on the console when you compile your code? The code analyzer in eclipse CDT Indigo has some known issues, so it may report certain symbols as being unresolved but will compile the program correctly. If you provide some additional information, I will try to assist.
Super! Short and absolutely clear. Thanks a lot! But how about installing MinGW as a part of Cygwin? For serous things people will need those tools like make, bash and so on, especially those who use Eclipse CDT to develop cross platform applications. For cross platform development on Windows as on a host system it's convenient to have similar environment and tools as in Linux for example.
slrdr 1 month ago
@slrdr Thank You. I think videos that cover the installation of cygwin, use of the various tools from cygwin and cross development would be great! I know there are many beginning embedded system developers that would appreciate it. My goal with this video and using MinGW was to provide a "minimal" environment for Windows users learning programming/C++.
ReelLearning 1 month ago
This entire set of videos from ReelLearning is excellent. Thanks
JzBosco 1 month ago
Same problem with this version of Eclipse. More better- download Helios from Sandford U computer science page for cs106a- then run the update and then the install new software choosing C/C++ Development Tools-- perfect, not to mention a good plug-in from Stanford for Java.
JzBosco 1 month ago
@JzBosco I'm a big fan of Stanford's 106a class with Mehran Sahami!
ReelLearning 1 month ago
@ReelLearning Mehran is hilarious and fun to follow along with. The Java class was a blast if for no other reason. Small programs like Karel the Robot from Stanford and Scratch from Harvard surely make CS/Algorithms fun to learn. I'd recommend either or both as a first step- should one be setting out to learn on their own.
For those who don't know- CS106A is an open course project in Java from Standford and can be reached by their page- just do a quick Google search "CS106a"
JzBosco 1 month ago
Very helpful video. Short, concise, and straight to the point. I wish I had ran into it before spending a couple of hours following outdated instructions elsewhere. Thanks for sharing.
MiguelOMatic 1 month ago
@jbrushes Yeah, there are some issues with the code analyzer in eclipse. I don't recommend the 64 bit version - not yet anyway. Thanks for watching.
ReelLearning 1 month ago
This has been flagged as spam show
Thank you very much.
paolaq87 2 months ago
Thank you, this saved me.
TheZamster101 2 months ago
Hey, excellent video, thanks! But I'm encountering a slight problem, and I'm not sure what's wrong. Everything goes as planned until I click "Run". When I do so an error message pops up under the name "Application Launcher" and says "Launch failed. Binary not found." When I look under "Console" it says
"**** Rebuild of configuration Debug for project Hello World ****
**** Internal Builder is used for build ****
Nothing to build for Hello World"
Not sure what to do, help! Thanks:)
HenryAlman 2 months ago
@HenryAlman Also, the other problem I am now having is that it shows console output, or "cout", commands as errors and the breakpoint says "Symbol cout could not be resolved". Any help with this issue would also be great. Thanks!
HenryAlman 2 months ago
@HenryAlman If you have iostream included and the file compiles "ok" when you click on the build button then the problem is with the eclipse code analyzer. The code analyzer will usually resolve these errors after a little while... I imagine this will be resolved with future releases with of eclipse.
ReelLearning 2 months ago
@HenryAlman "The Nothing to build for Hello World" would seem to indicate that your source file (*.cpp) is not associated with your Hello World project. Can you look at the project explorer on the left side of eclipse, left click on the triangle or + next to the project name and see if you have a file under the src directory?
ReelLearning 2 months ago
@ReelLearning SRC Directory? Sorry, I'm a bit slow! I know that iostream is being included, and that the build is running OK though! :) The HelloWorld.cpp file is immediately there under the project. Should I just keep trying then, if the analyzer should eventually fix it? The message is different now aswell, it says "Launching HelloWorld.o(1) has encountered a problem. Error starting process." In addition, there are "Binary" and "Debug" folders appearing under project. Thanks!
HenryAlman 2 months ago
@HenryAlman The code analyzer will not resolve the issue that you specified. I'm unsure why you are receiving the "starting process" error. Do you receive any messages about permissions? You may want to try and create a new workspace (go to File | Switch Workspace | other) and specify another dir that you know you have permission to read/write/execute.You should have a "src" dir that is created at the same level as the "Binary" and "Debug" dir, but this may not be a factor in your issue.
ReelLearning 1 month ago
Thank you professor Snow! ^-^
Matsumono 2 months ago
Thanks a lot :)
06S31A0438 2 months ago
@ReelLearning ww.youtube.com/watch?v=mSm34E1L5n0 this is it (my eclipse problem)
reuzaki100 3 months ago
@reuzaki100 I watched your video and I can't see any steps that you are doing incorrectly. It appears that everything is compiling and linking correctly. It also appears that an exe file is being generated. Modify your main, so it looks like:
int main() { string str; cout << "!!!Hello World!!!" << endl; getline (cin,str); return 0;
}
Build. Then find your hellotest.exe file through windows explorer and try to run it (double click on it). If it runs then the problem is with eclipse.
ReelLearning 3 months ago
simple and effective...works very well for me...thank you...
jero2rome 3 months ago
i doesn't wok for me!! i followed the steps but no changes Mingw is implemented in eclipse there still consider cout and cin as errors help pzz .maybe i have to configurate eclipse selecting somthing .. help plzzz
reuzaki100 3 months ago
@reuzaki100 What is reported on the console when you compile your code? The code analyzer in eclipse CDT Indigo has some known issues, so it may report certain symbols as being unresolved but will compile the program correctly. If you provide some additional information, I will try to assist.
ReelLearning 3 months ago
@ReelLearning yes this is exactly my actual problem.pleaaaz help .thanks a lot
reuzaki100 3 months ago
Thanks for making this available.
eflip1 4 months ago
thanks man!you helped me a lot!
lianato3 4 months ago
すごくわかりやすかった。
sendcat 5 months ago
@sendcat Arigatou gozaimasu.
ReelLearning 5 months ago