Code::Blocks Forums

User forums => Help => Topic started by: Lqwertz80 on June 08, 2013, 12:02:37 pm

Title: C::B 12.11 with w8
Post by: Lqwertz80 on June 08, 2013, 12:02:37 pm
hello @ all,

I have change my PC and OS. With my old PC 64 bits an w7, C::B 12.11 with mingw compiler (gcc and g++) working good.
Now with w8 and same configuration of C::B and compiler, I have lot of problems.

- When I compile a new project c++, just one "hello world", this not compile. Error message in buid log is: as.exe has stopped working
- I reinstall mingw and the problem still there. I d'ont understant.

- When I take an old project (ok with w7) and make a little modification, the compilation is ok but I d'ont can execute this. Message is: nameExecutable.exe has stopped working.

Is the problem because I've w8? or because I must change the compile settings with this?

Thank you in advance
Title: Re: C::B 12.11 with w8
Post by: Jenna on June 08, 2013, 12:17:47 pm
Win8 works fine with C::B and MinGW.

Make sure your access rights to the folders/files are correct and try to do a full rebuild (clean and build) !
Title: Re: C::B 12.11 with w8
Post by: Lqwertz80 on June 08, 2013, 12:33:39 pm
Thanks,
But is not a problem with access right, I'm administrator.
I've try to clean and build but I've the same problem. I d'ont can build : as.exe stopped working.... ???
What make as.exe?
Title: Re: C::B 12.11 with w8
Post by: thomas on June 08, 2013, 12:40:51 pm
as.exe is the assembler. GCC translates C or C++ into an intermediate code, which is then optimized and transformed into assembly language. The assembler turns that into exectuable binary code.

There's absolutely no reason why either Code::Blocks or MinGW shouldn't work under Windows 8 except that Windows 8 as such is a totally stupid step backwards in functionality as compared to Windows 7 (however, I tried in a virtual machine when Win8 PR was freely available, and that worked fine).
Title: Re: C::B 12.11 with w8
Post by: stahta01 on June 08, 2013, 12:44:06 pm
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)

Post your "Build Log" NOT your "Build Messages"; I am betting on a folder permission error.

Tim S.
Title: Re: C::B 12.11 with w8
Post by: Lqwertz80 on June 08, 2013, 12:53:46 pm
Ok, but what I can do?
I've now reinstall c::b and MinGw and the same problem is here.
I looking everywhere for one solution and I'm blocked.

You don't have a track?

I'm student and I've 2 important project ongoing....?

Thanks
Title: Re: C::B 12.11 with w8
Post by: Lqwertz80 on June 08, 2013, 12:56:02 pm
-------------- Build: Release in Test (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -Wall -fexceptions  -O2     -c E:\Prog_général\Code_Blocks\Test\main.cpp -o obj\Release\main.o
Process terminated with status 1 (0 minutes, 12 seconds)
0 errors, 0 warnings (0 minutes, 12 seconds)
 
Title: Re: C::B 12.11 with w8
Post by: oBFusCATed on June 08, 2013, 01:12:05 pm
Try to put your project in a folder no special characters, whitespaces, just the English alphabet...
Title: Re: C::B 12.11 with w8
Post by: Lqwertz80 on June 08, 2013, 01:44:31 pm
Yes ok thank you!!!

This solves the problem for the build! Very good.
But it's strange with my old OS and old C::B version I don't have this problem....

By cons for the problem of executable, I've find I don't can recover my old workspace of my old C::b version.
I must make a new workspace!

thank you very much!

Now I can work!

Best regards