Code::Blocks
July 23, 2014, 09:57:49 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: C::B 12.11 with w8  (Read 4649 times)
Lqwertz80
Newcomer
*
Offline Offline

Posts: 7


« 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
Logged
jens
Administrator
Lives here!
*****
Offline Offline

Posts: 6498



WWW
« Reply #1 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) !
Logged

Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5 & 6] - nightlies : http://rpm.jenslody.de/
Lqwertz80
Newcomer
*
Offline Offline

Posts: 7


« Reply #2 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.... Huh
What make as.exe?
Logged
thomas
Administrator
Lives here!
*****
Offline Offline

Posts: 3938



« Reply #3 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).
Logged

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."
stahta01
Lives here!
****
Offline Offline

Posts: 4310


WWW
« Reply #4 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

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

Tim S.
Logged

C Programmer working to learn more about C++.
Compiling CB Trunk against wxWidgets WX_3_0_BRANCH branch.
--
When in doubt, read the CB WiKi FAQ.
Lqwertz80
Newcomer
*
Offline Offline

Posts: 7


« Reply #5 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
Logged
Lqwertz80
Newcomer
*
Offline Offline

Posts: 7


« Reply #6 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)
 
Logged
oBFusCATed
Developer
Lives here!
*****
Offline Offline

Posts: 7430


« Reply #7 on: June 08, 2013, 01:12:05 pm »

Try to put your project in a folder no special characters, whitespaces, just the English alphabet...
Logged

<debugger plugin maintainer>
(most of the time I ignore long posts)
Lqwertz80
Newcomer
*
Offline Offline

Posts: 7


« Reply #8 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
Logged
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!