Code::Blocks Forums

User forums => Help => Topic started by: fast9881 on September 23, 2017, 08:04:00 pm

Title: Build messages tab issue
Post by: fast9881 on September 23, 2017, 08:04:00 pm
Hi, i'm having some trouble with the build messages tab as it stays blank no matter what. When i hit the build button C::B launches the compiler, i can perfeclty see the build log tab contents but the messages tab stays blank. I attached a screen just in case. BTW i have C::B 16.01rev10692 wx 3.0.2 64 bit running on lubuntu 17.04.
Title: Re: Build messages tab issue
Post by: stahta01 on September 23, 2017, 08:10:29 pm
Post the build log in code tags and maybe someone will see the problem. http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)
The build log is processed by Code::Blocks to create the Build Messages and sometimes new compiler add things that confuse code::blocks.

Tim S.
Title: Re: Build messages tab issue
Post by: fast9881 on September 23, 2017, 08:17:59 pm
Code
-------------- Build: Debug in GamaCDNExplorer (compiler: GNU GCC Compiler)---------------

g++ -Wall -fexceptions -g -Iinclude -c /home/bacco/Scrivania/GamaCDNExplorer/src/PageDownloader.cpp -o obj/Debug/src/PageDownloader.o
/home/bacco/Scrivania/GamaCDNExplorer/src/PageDownloader.cpp: In member function ‘void PageDownloader::downloadPage(std::__cxx11::string, std::__cxx11::string)’:
/home/bacco/Scrivania/GamaCDNExplorer/src/PageDownloader.cpp:19:31: error: variable ‘std::ofstream out’ has initializer but incomplete type
     std::ofstream out(filename);
                               ^
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Title: Re: Build messages tab issue
Post by: BlueHazzard on September 23, 2017, 08:48:54 pm
this is probably fixed with commit [r11147]. Before this commit codeblocks had (hard) problems with ubuntu, that looked like your image ...
You should try a newer build of codeblocks.
Title: Re: Build messages tab issue
Post by: fast9881 on September 24, 2017, 11:11:12 am
Well, i guess it was a problem with the log i posted. Today i solved thet error and now it works fine
Title: Re: Build messages tab issue
Post by: oBFusCATed on September 24, 2017, 11:47:00 am
No, it doesn't it is a random issue, so it will come back until you install fixed version.
Title: Re: Build messages tab issue
Post by: herosz on August 03, 2018, 08:24:59 pm
Hy!
Is any chance to copy only an built message without filename and line number?
i.e. copy selection to clipbord result is:
Quote
C:\CodeBlock\new\main.cpp|28|error: 'cout' is not a namespace-name|

but I want to copy only:
Quote
'cout' is not a namespace-name

Often I use Google the search for this message, and every time I need to delete the filename and line number  :(
Title: Re: Build messages tab issue
Post by: stahta01 on August 03, 2018, 08:27:01 pm
herosz, Try copying from build log.

Tim S.
Title: Re: Build messages tab issue
Post by: herosz on August 03, 2018, 08:37:19 pm
Oh yeah, in  build.log can select what I want to copy  :D

thank's !