News:

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

Main Menu

Code::blocks won't build

Started by Grubby, October 19, 2017, 04:06:07 PM

Previous topic - Next topic

Grubby

Whenever i try to compile any code i get the message "No such file or directory", while the "File" column in the build messages has the directory to the file i was trying to build. The source file is created, though can only be opened with CB. When i try to open it with Dev an error pops out saying that the file can not be found. I reinstalled CB a couple of times, different versions, with and without an antivirus, i installed a new compiler using this guide http://http://forums.next.codeblocks.org/index.php?topic=21570.0 but it didn't help either, and honestly i am starting to loose hope. Nothing i find on forum or on the other sites works

I use code::blocks version 13.12 on windows 10 (64bit). The compiler i installed was TDM-GCC 5.1.0-3

BlueHazzard

use a never version of codeblocks... 13.12 is more then 3 years old... I would recommend a nightly build...

For your compiling error:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Quote. I reinstalled CB a couple of times, different versions, with and without an antivirus, i installed a new compiler using this guide http://http://forums.next.codeblocks.org/index.php?topic=21570.0 but it didn't help either, and honestly i am starting to loose hope. Nothing i find on forum or on the other sites works
Reinstalling because of compiler error is bullshit... Your source file seems to be broken, but post first a rebuild log...

oBFusCATed

Quote from: Grubby on October 19, 2017, 04:06:07 PM
I use code::blocks version 13.12 on windows 10 (64bit). The compiler i installed was TDM-GCC 5.1.0-3
C::B uses regular expressions to find the file and the line in the output of the compiler.
Newer versions of GCC produce slightly different output, so they require modifications to the regular expressions.
(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!]