User forums > Help

Code Blocks doesn't compile or run anything for me anymore...

(1/2) > >>

Zamp:
Up until today, Code Blocks worked just fine when I was making SDL programs, but now I have homework and need to make a console application, but it doesn't work.

I just started up Code Blocks, clicked create new project and picked a console application, then tried to run the default program it gives you, but it gives me an error:

"picture - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
Nothing to be done.


It does that for everything, even some projects that I had working before. I thought maybe something was wrong with the version I had, so I downloaded the newest one( the September 15 Build ) and it still does that. The only thing I did with my computer between now and when it used to work was delete some programs and run a disk defrag. Could that be why it isn't working anymore? If it is, what can I do to fix it?

stahta01:
Verify that your compiler is installed.

What is the path of your compiler?
What path does C::B has set for your compiler?
What compiler is set for your project?

Tim S

Zamp:
I'm not really sure where my compiler is. Does Code Blocks come with one? All I did was download C::B and put it in a folder on the desktop. The compiler I'm trying to use is GNU GCC Compiler.

Now that I think about this more, when I uninstalled some programs earlier I uninstalled Dev C++. Was C::B using Dev C++'s compiler, and now that it's gone it doesn't have one? If thats it, how can I fix this without reinstalling Dev C++? I tried changing the compiler, but it still gives me the same error, so yeah... >__<

stahta01:
Download MinGW-5.1.3 "Automated MinGW Installer"

http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780&release_id=529741

Run the installer, Remember to pick the Candidate version for MinGW GCC 3.4.5.

Tim S

Zamp:
I installed it and picked the Candidate version, but it still isn't working. >_< After it got installed it created a bunch of files on my desktop, and post of them are .tar.gz files. Am I supposed to extract those and put them somewhere? >_>

Navigation

[0] Message Index

[#] Next page

Go to full version