User forums > Help

Unable to bulid/run

(1/2) > >>

Afranius:
Greetings,

I am a new user to Code::Blocks and I have encountered a problem which I am unable to solve and I found no useful advice on this problem in the FAQ or other topics either.

I have made a simple program in C, but when I click on Bulid or Run and build, it does absolutely nothing. When clicking on Run a window pops up, stating that "It seems the file has not been built yet. Do you want to build it now?" if I hit yes, nothing happens, just as if I would click Build or Build and Run.
The Build log is empty, it is only searching for the existence of the file, when I click on Run.
I have also noticed that I have no object file for this source file, but I don't know why.

Can you please give me any advice?

Thank you.

cbuser2:
Try copying the code into a new project, then build the project. Does it work?

Afranius:
It does nothing and in the log it says this:

"hghkj - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.


Especially the "Nothing to be done" line is strange because the code I have written is 100% correct (it was put there from a working program), but I suppose it will be because of the invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] it mentioned.
However, I still have no clue about what the problem is and how to solve it.

What is awful, because on Wednesday I will be writing a test from programming in school and thus I can't prepare for it correctly when my Code::Blocks cannot run my programs.

Any advice?

cbuser2:
Search the forums, or google. I think this question may have been asked many times already. :)

stahta01:
Try installing a Compiler!

If Compiler already installed then configure the tool-chain.
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps


Related thread http://forums.codeblocks.org/index.php/topic,16987.0.html

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version