Code::Blocks Forums

User forums => Help => Topic started by: squirrel_123 on March 31, 2010, 01:41:15 pm

Title: codeblocks 8.02, windows xp, program won't build
Post by: squirrel_123 on March 31, 2010, 01:41:15 pm
hi, I've looked through all the other threads about this and they're all for vista and none of the solutions worked  :?
i have the 8.02, and it's installed on windows xp
when i try to build a program, it's just complete silence, nothing happens
if i click run, it says, this program hasn't been built yet, do you want to build it now, yes or no.
so i click yes, but then nothing happens again.
i know there's nothing wrong with the program i've written because it works on the codeblocks at my uni.
help please!
Title: Re: codeblocks 8.02, windows xp, program won't build
Post by: oBFusCATed on March 31, 2010, 02:35:05 pm
Have you read the FAQ?
Title: Re: codeblocks 8.02, windows xp, program won't build
Post by: squirrel_123 on March 31, 2010, 02:39:20 pm
yes, it wasn't on there  :(
Title: Re: codeblocks 8.02, windows xp, program won't build
Post by: oBFusCATed on March 31, 2010, 02:46:36 pm
What about this:
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Have you enabled the full logging?
Title: Re: codeblocks 8.02, windows xp, program won't build
Post by: Notforsell on March 31, 2010, 04:07:45 pm
I am a chinese, and I have the same problem, it doesn't work after Reinstallation of windows xp,
it just does nothing when I kick build...and while I kick run, it prints "It seems that the file has not
been built yet. Do you want to built now?", then I kick yes, but it still do nothing....
please help :( :( :(
Title: Re: codeblocks 8.02, windows xp, program won't build
Post by: stahta01 on March 31, 2010, 04:10:51 pm
What about this:
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Have you enabled the full logging?
Title: Re: codeblocks 8.02, windows xp, program won't build
Post by: Notforsell on April 01, 2010, 02:08:53 am
Yes, but it still doesn't work
it just does nothing when I click build, and run.
No any imformation, or something else, it just blank. :(
Title: Re: codeblocks 8.02, windows xp, program won't build
Post by: stahta01 on April 01, 2010, 03:29:50 am
Post the full build log after a re-build.

Tim S.
Title: Re: codeblocks 8.02, windows xp, program won't build
Post by: squirrel_123 on April 01, 2010, 11:29:33 am
What about this:
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Have you enabled the full logging?

yeah, i already found this yesterday in one of the other threads, it did nothing.
and about posting a full build log..there is literally nothing in the build log. it just does absolutely nothing when I click build  :?
Title: Re: codeblocks 8.02, windows xp, program won't build
Post by: stahta01 on April 01, 2010, 03:53:08 pm
I can not help you, all I can suggest is delete and re-install.

I would suggest un-installing Code::Blocks and deleting the config files.

How to delete configuration files.

Open using run this folder %APPDATA%\codeblocks delete at least the file default.conf; I suggest deleting them all.

Tim S.

Title: Re: codeblocks 8.02, windows xp, program won't build
Post by: zim on April 04, 2010, 03:55:44 am
I had the same problem, but I found a solution. I don't know if this will work for you, but . . .

I uninstalled, then reinstalled.

Then, under Settings-> Compiler and debugger -> Other Settings Tab -> Compiler logging: I chose 'Full command line'.

(So far this is exactly what the FAQ said to do)

Then, in the same 'Global compiler settings' window, under Selected compiler, I chose 'GNU GCC Compiler', then hit the 'set as default' button.

Now everything works.

Hope this helps. Good luck.
 
Title: Re: codeblocks 8.02, windows xp, program won't build
Post by: shiqing on August 16, 2011, 11:32:18 am
Hi,

Sorry to pull this thread up again. I got the same problem with Codeblocks 10.5 + MinGW on Windows 7.

The problem is that, the project will be compiled only when the full compiler logging is enabled. It will not work if you wanna have task description for the compiler log.

After some tests, I did find another better solution. In the toolchain settings, the make program is set to make.exe by default, changing it to mingw32-make.exe will get rid of the problem.

I don't know whether it's a bug or what. If someone else has already posted it before, then please just ignore me.


Shiqing