Added: 3 years ago
From: cymonsgames
Views: 29,407
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (88)

Sign In or Sign Up now to post a comment!
  • 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.

  • 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. ^^

  • I must say, you're narration is simply the best on Youtube! I haven't seen a video where someone talks with such emphases!

  • thank you, i was very close to getting mad because my codeblocks didnt compile because i didnt saw the "restore defaults button" :D

  • You're a life saver.

  • thank u man !! saved me college works

  • thank you so much i was get frustrated cause i kept getting that problem

  • Thank ******* *** man, settings -> reset defaults.. Life saver

  • I had that problem when trying to compile.. Finally you gave me the answer :D

  • thank you for the tutorial but u were talking so slowly

  • @TonyVictor96 Is that a joke? Tell me that's a joke.

  • damn! So thats why i could find the snippets.. i never installed it!! damN!

  • Thank you for making this tutorial. It really helped me.

    

  • question please answer!!! to code a video game,can i do it on here?

  • Thanks man !! Great help !!

  • 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 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

    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?

  • @cymonsgames maaaaaaaaaaaaaan u really help ^^ thank u my problem is gone by god's free will :D

  • 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.

  • 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!!

  • THANK YOU SO MUCH, I WAS HOPELESS WHEN I COULDN'T COMPILE A SINGLE THING.

  • its not working...

    

  • Thanks, it finally worked.

  • 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 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 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.

  • thanks alot! this thing was driving me nuts!

  • Thanks, sir :)

  • thanks cymon!

  • Execution of 'mingw32-g++.exe -c "C:\Documents and Settings\New\Desktop\C++\Conve­rsion\main.cpp" -o "C:\Documents and Settings\New\Desktop\C++\Conve­rsion\main.o"' in 'C:\Documents and Settings\New\Desktop\C++\Conve­rsion' failed.

    I keep getting this message after I try to compile. I can't figure out why ...

  • Is this compatible with Windows 7, because I'm having problems.

  • @Gr8gabe worked fine for me on windows 7 ultimate

  • @Gr8gabe works with Win 7 Professional 64 bit.

  • Thanks--this helped me troubleshoot my compile problem! (had to install on root and reset to defaults as you show)

  • 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.

  • 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 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.

  • @tfwcu09 Then you downloaded the wrong one. You missed on the first step.

  • @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.

  • great video!

  • Comment removed

  • You are my heroe!!! You saved me!

  • Wtf im using it on windows 7 and it tell me that ""MyProgram - Debug" uses an invalid compiler. Skipping...

    Nothing to be done.

  • @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 lol i know , i saw it but i already give a comment and didnt want to delete it

  • Thanks Man!

  • thanks for the info.greatly helped me. Cheers.

  • VOY A IR A TU CASA Y TE VOY A HACER LO Q VOS QUIERAS

    ME SALVASTE DE UN 1 EN PROGRAMACION

  • @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.

  • thanks

  • thankyou, very much, very helpful tutrorial, and I subscribed!

  • Ah thanks, that was easy enough to setup. Now to see if I like this IDE...

  • You are doing a good job here.

  • So someone who wants to write programs in C++ needs helps installing an IDE? LOL!

  • 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.

  • im using mac.. when i reset to default, same result!

    "nothing to be done"

    how come. how do i fix this?

  • @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.

  • 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.

  • This is my DevC+++ tutorial. If your thinking of DevC++ use this tutorial and load Code::Blocks.

  • Thx man, you really did a great job :D thx for the help!

  • 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!!!!!!!!!!!!!!!!!!!!!!!!­!!!!!

  • GRACIASS!!

  • 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"

    Do you know what is going on?

  • 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?

  • 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.

  • 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!!!

  • 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

  • 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."

  • 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. :]

  • 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.

  • thank you!!!

  • Ok, thanks for your quick response, and great vid! :)

  • You wouldnt happen to able to show us how to do this and also set it up work with SDL would you?

  • 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!

  • 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.

  • wow, thanks!! Just what i needed!

    You saved my day! :)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more