yeah, thank you very much for the help setting this up, but I think I'm going to be looking elsewhere from now on, I just got back from your website where you vehemently SUPPORT Sopa/Pipa, and I think really, if you've read ANYTHING AT ALL about the reality of this BS, and you still support this Orwellian "infrastructure" then you must need a Prescription for Lithium.
@BreakVoid You probably didn't finish reading it. I ended with "Still think this is a bad idea? Good. So do I." to point out that I do not support any legislation that limits freedom. This was a satire and it may have been too subtle. Trust me, I am not on the side of legislation to enforce Luddites ideals on the technology.
@cymonsgames yeah, that's good. I think I read about... the first half of the first paragraph, and just said "nope, I'm done here." lol so it's good to know that your only as crazy as a normal person. ^^
THANK YOU, But to solve MY problem I had to uninstall my program and REinstall it again. I noticed I had'nt erased the "Program Files" as you did. Then came the problem YOU had at the end. And your solution now worked just as it did for you.
It finally ran, I got the message: "Hello world! Process returned 0 (0x0) execution time : 0.092 s Press any key to continue."
Hey thank u very much for showing how to set MingGW as default compiler...I re-installled codeblocks with MingGW few times because I thought i missed some important step before installation...thanks once again
Thank you very much for this tutorial. I downloaded MinGW and afterwards I was lost and I didn't know what text editor to get. i stumbled upon your video and it guided me aha. My friend and I want to learn how to program so I really don't know anything at all, so far I'm just reading a book on how to program in C. I was wondering if you have any advice or tips. And btw console application is where I wanna go everytime I wanna build a program?
@El3ctric3y3 I don't know how much programming experience you have. If the answer is "none" then the best thing for you to do is to step back and look at some simple programming examples, which fortunately are abundant on my site. The games the run may not look like much, but they'll teach you all about the basics.
Thank you, thank you!!! I had no idea I had to choose the one with MinGW. Also the other things mentioned in this video. It now works for me and I"m off and running, coding C++ again, like I did professionally so many years ago. Thanks again to the person who made this video!!
the CMD window does not appear when i press run only when i get the exe created on bin im able to see the actual window please help, great tutor by the way
@cymonsgames i think the problem is the compiler check on toolchain and the default compiler (borland 5.5) is not detected, so instead i start using gnu gcc n_n, becuase even on the wiki of codeblocks the info is very short for a newbie jeje
@cymonsgames i think the problem is the compiler check on toolchain and the default compiler (borland 5.5) is not detected, so instead i start using gnu gcc n_n, becuase even on the wiki of codeblocks the info is very short for a newbie jeje oh and im workin on xp
WOW. I installed code blocks to my programfiles and it wouldn't compile but when i uninstalled it and reinstalled it to C:/ it worked perfectly, what a simple fix.
Execution of 'mingw32-g++.exe -c "C:\Documents and Settings\New\Desktop\C++\Conversion\main.cpp" -o "C:\Documents and Settings\New\Desktop\C++\Conversion\main.o"' in 'C:\Documents and Settings\New\Desktop\C++\Conversion' failed.
I keep getting this message after I try to compile. I can't figure out why ...
I'm hoping to write an audio VST plugin for my sound engineering Degree. I'm only a few days in to getting my feet wet in programming and I'm just hitting hurdle after hurdle, I've never known such a simple task to be such hard work. How on earth am I going to write a plugin when I can't even get "Hello world" running. I've got months not years.
@tfwcu09 Remote support, especially in the comments section of YouTube videos, is as imprecise an art as can be. Heh.
I really don't know the answer. Are you sure you ahve the installation that comes with MinGW and did you install MinGW? Can you find MinGW yourself? What did you respond to the prompt about using the default directory? Did you try compiling anyways? Are you positive you didn't skip any steps? The steps I follow are linked written down in the link in the description.
@cymonsgames I tried telling the prompt yes and to go through with it and it still wouldn't compile. I haven't got MinGw. I'll look into it though. Thanks for the advice.
@cymonsgames I just downloaded Codeblocks with the MinGW file and the compiler still doesn't work. I tried this on other computers and had the same problem.
@tfwcu09 same problem here, I can't get no programme to work. I tried default setting and it says it can't auto detect the installation blah blah.. I uninstalled, then reinstalled code blocks as the video described, and I've broke it even more! now it won't let me load new console application projects :(
Hey I tried resetting the compiler to defaults like you did in the video and it doesn't even recognize the GCC Compiler. What should I do now? I've tried this on 3 computers and had the same problem on all computers.
@MrFearlesskiller and @MrFearlesskiller watch at 2:39. Did you watch that far and follow the instructions that follow not 10 seconds later? You need to set up the compiler the first time. I show you how in the video.
@tongaas93 Translation: "I am going to go to your house and do you whatever you want. You saved me from a 1.0 on Programming." (No, I don't speak Spanish. I needed help for that)
Hey, alright. My very own personal slave. Okay, you're going to raise the kids and go to my job so I can work on ASCIIpOrtal.
Code::Blocks is fairly good as far as a code editor and project manager (wizard) is concerned. But unfortunately it uses GCC as the compiler (at least by default). I don't know about the debugger; perhaps it also uses some GNU-ish thing.
On Windows, Visual C++ and C++Builder are the best IDEs.
True. Can't argue there. I've used VC++ and found it easy peasy. Unfortunatly VC++ is also constantly being updated meaning I'd have to constantly be updating my tutorials. I wish I had that sort of time.
@patzkatigbak Did you watch the video the whole way? 2:39 I run into a similar problem and show you how to fix it 10 seconds later. Watch the whole video.
dude!! thank you soo much i just started today and was stuck on the "debuger incorrect complier" thing for 2 hrs and after watching this vid i got it !
Thanks a lot for the help, but unfortunately I havent quite solved my problem. I ran into the exact same problem as you did in 2:45, however, unlike your experience, after I select GNU GCC compiler and click reset default a message comes up saying " could not auto detect installation path of GNU GCC"
I recently found out that I missed an important step in the video. I'm going to need to re-do it.
For now if you run into an error where the compiler is not found you can fix the problem by opening code::blocks, going to settings->compiler and debugger and at the pull down menu at the very top choose GNU GCC compiler. Then click the set as default button.
Sorry about that and I'll try to get a new video in a couple months.
It's funny you say that. I plan on doing Allegro soon and SDL/OpenGL after that. The best thing you can do, tho, is start with another library. Check out my other video on setting up Curses, get it to work, and I think you'll find setting up SDL a breeze after that.
why do you need to "reset to defaults" ???? this is the most rediculous stupidity ever. i wasted 2 hours trying to work out why my new C++ file wouldn't compile, grr!
can you help me, when I try to built and compile a programme it says cannot open input file? Please can someone give me the answer.
Queenqueen1113 2 weeks ago
yeah, thank you very much for the help setting this up, but I think I'm going to be looking elsewhere from now on, I just got back from your website where you vehemently SUPPORT Sopa/Pipa, and I think really, if you've read ANYTHING AT ALL about the reality of this BS, and you still support this Orwellian "infrastructure" then you must need a Prescription for Lithium.
BreakVoid 1 month ago
@BreakVoid You probably didn't finish reading it. I ended with "Still think this is a bad idea? Good. So do I." to point out that I do not support any legislation that limits freedom. This was a satire and it may have been too subtle. Trust me, I am not on the side of legislation to enforce Luddites ideals on the technology.
cymonsgames 1 month ago
@cymonsgames yeah, that's good. I think I read about... the first half of the first paragraph, and just said "nope, I'm done here." lol so it's good to know that your only as crazy as a normal person. ^^
BreakVoid 4 weeks ago
I must say, you're narration is simply the best on Youtube! I haven't seen a video where someone talks with such emphases!
shawngreene1 1 month ago
thank you, i was very close to getting mad because my codeblocks didnt compile because i didnt saw the "restore defaults button" :D
MathPI31415926535 1 month ago
You're a life saver.
nicospec 2 months ago
thank u man !! saved me college works
Thikino 4 months ago
thank you so much i was get frustrated cause i kept getting that problem
freakincrazyperson 6 months ago
Thank ******* *** man, settings -> reset defaults.. Life saver
22Tr0y 7 months ago
I had that problem when trying to compile.. Finally you gave me the answer :D
JRodriguez609 7 months ago
thank you for the tutorial but u were talking so slowly
TonyVictor96 7 months ago
@TonyVictor96 Is that a joke? Tell me that's a joke.
cymonsgames 7 months ago
damn! So thats why i could find the snippets.. i never installed it!! damN!
sixstringmania 7 months ago
Thank you for making this tutorial. It really helped me.
AnStupidIdot 9 months ago
question please answer!!! to code a video game,can i do it on here?
willmarano2 9 months ago
Thanks man !! Great help !!
MultiOilers 9 months ago
I NEED HELP...I get this message:
""hello - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
"hello - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done."
hector0282 9 months ago
@hector0282 2:39 Finish watching the video. I have the same problem and I show you how to fix it.
And there's a comment here that says the exact same thing.
cymonsgames 9 months ago
@cymonsgames
THANK YOU, But to solve MY problem I had to uninstall my program and REinstall it again. I noticed I had'nt erased the "Program Files" as you did. Then came the problem YOU had at the end. And your solution now worked just as it did for you.
It finally ran, I got the message: "Hello world! Process returned 0 (0x0) execution time : 0.092 s Press any key to continue."
I everything OK, now?
hector0282 9 months ago
@cymonsgames maaaaaaaaaaaaaan u really help ^^ thank u my problem is gone by god's free will :D
fullsmoon 4 months ago
I am creating a video tutorial series entitled: C Console Programming, I hope you can recommend my videos, I will recommend yours, they are awesome.
gasto5 9 months ago
Hey thank u very much for showing how to set MingGW as default compiler...I re-installled codeblocks with MingGW few times because I thought i missed some important step before installation...thanks once again
crackloadPC 10 months ago
Thank you very much for this tutorial. I downloaded MinGW and afterwards I was lost and I didn't know what text editor to get. i stumbled upon your video and it guided me aha. My friend and I want to learn how to program so I really don't know anything at all, so far I'm just reading a book on how to program in C. I was wondering if you have any advice or tips. And btw console application is where I wanna go everytime I wanna build a program?
El3ctric3y3 10 months ago
@El3ctric3y3 I don't know how much programming experience you have. If the answer is "none" then the best thing for you to do is to step back and look at some simple programming examples, which fortunately are abundant on my site. The games the run may not look like much, but they'll teach you all about the basics.
cymonsgames 10 months ago
Thank you, thank you!!! I had no idea I had to choose the one with MinGW. Also the other things mentioned in this video. It now works for me and I"m off and running, coding C++ again, like I did professionally so many years ago. Thanks again to the person who made this video!!
dpwisler 11 months ago
THANK YOU SO MUCH, I WAS HOPELESS WHEN I COULDN'T COMPILE A SINGLE THING.
sachaoa 11 months ago
its not working...
Ascaron50 11 months ago
Thanks, it finally worked.
Donutslayer7 1 year ago
the CMD window does not appear when i press run only when i get the exe created on bin im able to see the actual window please help, great tutor by the way
gerarac 1 year ago
@gerarac That's odd. Are you using windows 7 or XP? I really don't know what to tell you.
But it sounds like you've got a workaround, which is half the battle here.
cymonsgames 1 year ago
@cymonsgames i think the problem is the compiler check on toolchain and the default compiler (borland 5.5) is not detected, so instead i start using gnu gcc n_n, becuase even on the wiki of codeblocks the info is very short for a newbie jeje
gerarac 1 year ago
@cymonsgames i think the problem is the compiler check on toolchain and the default compiler (borland 5.5) is not detected, so instead i start using gnu gcc n_n, becuase even on the wiki of codeblocks the info is very short for a newbie jeje oh and im workin on xp
gerarac 1 year ago
WOW. I installed code blocks to my programfiles and it wouldn't compile but when i uninstalled it and reinstalled it to C:/ it worked perfectly, what a simple fix.
PhysicsLord321 1 year ago
thanks alot! this thing was driving me nuts!
DetectiveGeek1 1 year ago
Thanks, sir :)
Piratehurrdurr 1 year ago
thanks cymon!
Liamaaa 1 year ago
Execution of 'mingw32-g++.exe -c "C:\Documents and Settings\New\Desktop\C++\Conversion\main.cpp" -o "C:\Documents and Settings\New\Desktop\C++\Conversion\main.o"' in 'C:\Documents and Settings\New\Desktop\C++\Conversion' failed.
I keep getting this message after I try to compile. I can't figure out why ...
OpenTheo 1 year ago
Is this compatible with Windows 7, because I'm having problems.
Gr8gabe 1 year ago
@Gr8gabe worked fine for me on windows 7 ultimate
Liamaaa 1 year ago
@Gr8gabe works with Win 7 Professional 64 bit.
point6000x 1 year ago
Thanks--this helped me troubleshoot my compile problem! (had to install on root and reset to defaults as you show)
sixisstrung 1 year ago
I'm hoping to write an audio VST plugin for my sound engineering Degree. I'm only a few days in to getting my feet wet in programming and I'm just hitting hurdle after hurdle, I've never known such a simple task to be such hard work. How on earth am I going to write a plugin when I can't even get "Hello world" running. I've got months not years.
mellodge 1 year ago
To be specific it says "could not detect auto-installation path of GCC compiler...Do you want to use this compiler's default installation directory?"
tfwcu09 1 year ago
@tfwcu09 Remote support, especially in the comments section of YouTube videos, is as imprecise an art as can be. Heh.
I really don't know the answer. Are you sure you ahve the installation that comes with MinGW and did you install MinGW? Can you find MinGW yourself? What did you respond to the prompt about using the default directory? Did you try compiling anyways? Are you positive you didn't skip any steps? The steps I follow are linked written down in the link in the description.
cymonsgames 1 year ago
@cymonsgames I tried telling the prompt yes and to go through with it and it still wouldn't compile. I haven't got MinGw. I'll look into it though. Thanks for the advice.
tfwcu09 1 year ago
@tfwcu09 Then you downloaded the wrong one. You missed on the first step.
cymonsgames 1 year ago
@cymonsgames I just downloaded Codeblocks with the MinGW file and the compiler still doesn't work. I tried this on other computers and had the same problem.
tfwcu09 1 year ago
@tfwcu09 same problem here, I can't get no programme to work. I tried default setting and it says it can't auto detect the installation blah blah.. I uninstalled, then reinstalled code blocks as the video described, and I've broke it even more! now it won't let me load new console application projects :(
mellodge 1 year ago
Hey I tried resetting the compiler to defaults like you did in the video and it doesn't even recognize the GCC Compiler. What should I do now? I've tried this on 3 computers and had the same problem on all computers.
tfwcu09 1 year ago
great video!
khallingstad 1 year ago
Comment removed
xXxDANMANxXx 1 year ago
You are my heroe!!! You saved me!
SirRiche 1 year ago
Wtf im using it on windows 7 and it tell me that ""MyProgram - Debug" uses an invalid compiler. Skipping...
Nothing to be done.
MrFearlesskiller 1 year ago
@MrFearlesskiller and @MrFearlesskiller watch at 2:39. Did you watch that far and follow the instructions that follow not 10 seconds later? You need to set up the compiler the first time. I show you how in the video.
cymonsgames 1 year ago
@cymonsgames lol i know , i saw it but i already give a comment and didnt want to delete it
MrFearlesskiller 1 year ago
Thanks Man!
daeva0123 1 year ago
thanks for the info.greatly helped me. Cheers.
Vijayen87 1 year ago
VOY A IR A TU CASA Y TE VOY A HACER LO Q VOS QUIERAS
ME SALVASTE DE UN 1 EN PROGRAMACION
tongaas93 1 year ago
@tongaas93 Translation: "I am going to go to your house and do you whatever you want. You saved me from a 1.0 on Programming." (No, I don't speak Spanish. I needed help for that)
Hey, alright. My very own personal slave. Okay, you're going to raise the kids and go to my job so I can work on ASCIIpOrtal.
cymonsgames 1 year ago
thanks
29jinz 1 year ago
thankyou, very much, very helpful tutrorial, and I subscribed!
blackfireize 1 year ago
Ah thanks, that was easy enough to setup. Now to see if I like this IDE...
MADJIHAD1942 1 year ago
You are doing a good job here.
pcfix411 2 years ago
So someone who wants to write programs in C++ needs helps installing an IDE? LOL!
Love4Boobies 2 years ago 2
Code::Blocks is fairly good as far as a code editor and project manager (wizard) is concerned. But unfortunately it uses GCC as the compiler (at least by default). I don't know about the debugger; perhaps it also uses some GNU-ish thing.
On Windows, Visual C++ and C++Builder are the best IDEs.
uruz0b111 2 years ago
True. Can't argue there. I've used VC++ and found it easy peasy. Unfortunatly VC++ is also constantly being updated meaning I'd have to constantly be updating my tutorials. I wish I had that sort of time.
cymonsgames 2 years ago
im using mac.. when i reset to default, same result!
"nothing to be done"
how come. how do i fix this?
patzkatigbak 2 years ago
@patzkatigbak Did you watch the video the whole way? 2:39 I run into a similar problem and show you how to fix it 10 seconds later. Watch the whole video.
cymonsgames 1 year ago
Thanks a lot!
Great work.
Maybe you will be doing a tutorial for Dev-C++ 4.9.9.2 because it has lots of issues.
jazxi 2 years ago
This is my DevC+++ tutorial. If your thinking of DevC++ use this tutorial and load Code::Blocks.
cymonsgames 2 years ago
Thx man, you really did a great job :D thx for the help!
purplefrog01 2 years ago
Thank you SOO much..I was looking everywhere but no one seemed to have the same error but you had the fix in your video!
THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
falxusa 2 years ago
GRACIASS!!
meyiyiyi 2 years ago
dude!! thank you soo much i just started today and was stuck on the "debuger incorrect complier" thing for 2 hrs and after watching this vid i got it !
chirodiii 2 years ago
Thanks a lot for the help, but unfortunately I havent quite solved my problem. I ran into the exact same problem as you did in 2:45, however, unlike your experience, after I select GNU GCC compiler and click reset default a message comes up saying " could not auto detect installation path of GNU GCC"
Do you know what is going on?
pinkmeme123 2 years ago
AHHHHH!!!
this sux!
i downloaded it and did all you said but when i click on build and run nothing happens!!
there is not even a notice that says that code blocks wasn't installed correctly!
what can i do?
Wishmaster9909 2 years ago
I recently found out that I missed an important step in the video. I'm going to need to re-do it.
For now if you run into an error where the compiler is not found you can fix the problem by opening code::blocks, going to settings->compiler and debugger and at the pull down menu at the very top choose GNU GCC compiler. Then click the set as default button.
Sorry about that and I'll try to get a new video in a couple months.
cymonsgames 2 years ago
OMG!! Thank you soooooo muched
5/5 This worked for me!!!
I searched all day ong and people were saying to copy files or i dont know but your way is soooo easy!
fantastic!
thank you again!!!
MaitreEauEau123 3 years ago
cymonsgames
I installed everything on WinXP Pro, SP2.
Did a full install
But it doesnt find any templates.
Scripted wizard is v0.9 and enabled.
Tried reinstalling 100's of times with different paths and no help.
Whats wrong? It drives me crazy
jw200 3 years ago
Have you subscribed to the code::blocks forums and asked the folks there. I don't know what to tell you except "It works for me."
cymonsgames 3 years ago
hey.. when I goto run hello it says "hello - Release" uses an invalid compiler. Skipping...
I tried reseting defaults, but that didn't help.
I would appreciate it if you could give me an answer. :]
guitarplayer529 3 years ago
Simply watch the whole video and don't skip anything. I get the exact same message at 1:45 and I show you how to fix it right after.
cymonsgames 3 years ago
thank you!!!
Shogun1289 3 years ago
Ok, thanks for your quick response, and great vid! :)
siliconstate 3 years ago
You wouldnt happen to able to show us how to do this and also set it up work with SDL would you?
siliconstate 3 years ago
It's funny you say that. I plan on doing Allegro soon and SDL/OpenGL after that. The best thing you can do, tho, is start with another library. Check out my other video on setting up Curses, get it to work, and I think you'll find setting up SDL a breeze after that.
cymonsgames 3 years ago
why do you need to "reset to defaults" ???? this is the most rediculous stupidity ever. i wasted 2 hours trying to work out why my new C++ file wouldn't compile, grr!
CCmachine 3 years ago
Which is why I put that bit in the video. Yeah, I don't know why you have to reset the defaults, but you do.
cymonsgames 3 years ago
wow, thanks!! Just what i needed!
You saved my day! :)
snasebrase 3 years ago