Author Topic: C::B 12.11 with w8  (Read 6017 times)

Offline Lqwertz80

  • Newcomer
  • *
  • Posts: 7
C::B 12.11 with w8
« 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

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 6665
    • Jens unofficial debian-repository for the Code::Blocks - IDE
Re: C::B 12.11 with w8
« 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) !
Regards

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

Offline Lqwertz80

  • Newcomer
  • *
  • Posts: 7
Re: C::B 12.11 with w8
« 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.... ???
What make as.exe?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3939
Re: C::B 12.11 with w8
« 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).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline stahta01

  • Lives here!
  • ****
  • Posts: 4472
    • My Best Post
Re: C::B 12.11 with w8
« 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.
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. http://wiki.codeblocks.org/index.php?title=Main_Page

Offline Lqwertz80

  • Newcomer
  • *
  • Posts: 7
Re: C::B 12.11 with w8
« 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

Offline Lqwertz80

  • Newcomer
  • *
  • Posts: 7
Re: C::B 12.11 with w8
« 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)
 

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 7784
Re: C::B 12.11 with w8
« 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...
<debugger plugin maintainer>
(most of the time I ignore long posts)

Offline Lqwertz80

  • Newcomer
  • *
  • Posts: 7
Re: C::B 12.11 with w8
« 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