News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

codeblocks for windows 10 support

Started by airboat, November 01, 2015, 07:12:02 PM

Previous topic - Next topic

airboat

when will codeblocks get support for windows 10?

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

airboat

i tried loading it on windows 10, there's a sign that pops up that says "the compiler didn't load properly", codeblocks doesn't compile. i tried to install it twice, some of the files don't install properly. it doesn't happen with windows 7, but in windows 10 it doesn't install properly.

BlueHazzard

what installer are you using?
Where do you install your files?
What compiler are you using?
What files don't get installed properly?

Have you tried a nightly (probably the better idea, because they are up do date)?

greetings

oBFusCATed

one more thing: Have you checked the settings of the compiler in Settings -> Compiler.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

airboat

Quote from: BlueHazzard on November 02, 2015, 12:57:58 PM
what installer are you using?

- codeblocks-13.12-setup

Where do you install your files?

- the files by default install here:

C:/> Program Files (x86) > CodeBlocks

What compiler are you using?

- GNU GCC

What files don't get installed properly?

- when i open codeblocks a message at the bottom right of the screen comes up with this exact message:

  Environment Error:
  Can't find compiler executable in your configured search path's for GNU GCC Compiler

Have you tried a nightly (probably the better idea, because they are up do date)?

-no

Posted by: oBFusCATed   one more thing: Have you checked the settings of the compiler in Settings -> Compiler.

- at the compiler's part, i don't know what to do at that point

--- BTW i'm a newbie at this, i usually don't get this kind of trouble with windows 7, but in windows 10 this install error happens

greetings

oBFusCATed

The easiest thing to do is go to the settings -> compiler -> gcc -> toolchain executables and hit the auto-detect button.
If this doesn't work. Then you'll have to check if the executables that are specified in this dialog are really where C::B is searching for them and they are named the same.
Also you'll have to check if they can run property. This can be tested by opening a terminal, navigating to the folder using cd and running g++ --version (don't forget to use the proper name of the executable).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

airboat

i give up. i looked for other IDE, dev c++ works in windows 10 right out of the box.

Jenna

Quote from: airboat on November 04, 2015, 06:07:02 PM
i give up. i looked for other IDE, dev c++ works in windows 10 right out of the box.
I just did a test install on my windows 10 vm.
I used the 13.12 setup-file with tdm's gcc 4.8.
And it works out of the box, absolutely no problems.
I did not compile any complex project, but the default console-project works fine, both targets, compileand run and full rebuild of an already build exe.

I did not do anything special, just download and run the installer as normal user.

airboat

for some reason it's not loading the gnu gcc compiler like it should on my windows 10 pro OS. anyhow i've spent too much time figuring it out already. i hope someday the codeblocks team will fix this and provide official support for windows 10. i may still use code blocks in the future, i like the pretty looking gui.

stahta01

Quote from: airboat on November 05, 2015, 08:54:12 PM
for some reason it's not loading the gnu gcc compiler like it should on my windows 10 pro OS. anyhow i've spent too much time figuring it out already. i hope someday the codeblocks team will fix this and provide official support for windows 10. i may still use code blocks in the future, i like the pretty looking gui.

You have to install a Compiler!!! Code::Blocks is NOT a Compiler!
If the CB Installer had MinGW in the name then that installer had a MinGW GCC Compiler packaged with it.

Tim S.


C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MortenMacFly

Just for the record: C::B works perfectly fine on Windows 10. We've added "support", meaning supporting the visual styles way back. But that would not even be required to use C::B - its just "nice".

You may want to to try a nightly... just in case. However - a compiler is surely a prerequisite you should first solve.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]