User forums > Help

How to run c++ program in code block?

<< < (3/4) > >>

BlueHazzard:
You get this error message probably because you have set the intel compiler as default.
To fix this go into Settings->Compiler->Select the mingw gcc compiler from the drop down list->set as default (there should be a button to press)->Close dialog with Ok
Now all new projects should use gcc as default

RyanR:
I think I must be on some hidden camera show or something... I'm getting Punk'd...

RyanR:
I just did a full clean install of Codeblocs and MinGW.... surprise surprise... Still nothing! >:(

RyanR:
https://sourceforge.net/projects/mingw-w64/
https://sourceforge.net/projects/codeblocks/

are these not the right ones???  I don't know what I'm missing here... It has to be something random in the compiler congiguration or... I don't even know.

rcttsoul:

--- Quote from: RyanR on March 01, 2019, 08:12:25 pm ---https://sourceforge.net/projects/mingw-w64/
https://sourceforge.net/projects/codeblocks/

are these not the right ones???  I don't know what I'm missing here... It has to be something random in the compiler congiguration or... I don't even know.

--- End quote ---

first uninstall Codeblocks mingw bla bla, the Codeblocks MinGW bundle download is messed up.
Now install MinGW separately and first...… https://osdn.net/projects/mingw/releases/
Now download and install Codeblocks ONLY ….. http://sourceforge.net/projects/codeblocks/files/Binaries/17.12/Windows/codeblocks-17.12-setup.exe

And here are some videos that will actually show you the secrets on how to...….. set everything up shhhhh
setup of MinGW https://www.youtube.com/watch?v=sXW2VLrQ3Bs&t=249s
setup of CodeBlocks https://www.youtube.com/watch?v=c8iq3yg6RDM&t=8s

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version