News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Build messages tab issue

Started by fast9881, September 23, 2017, 08:04:00 PM

Previous topic - Next topic

fast9881

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.

stahta01

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
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.
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]

fast9881

-------------- 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))

BlueHazzard

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.

fast9881

Well, i guess it was a problem with the log i posted. Today i solved thet error and now it works fine

oBFusCATed

No, it doesn't it is a random issue, so it will come back until you install fixed version.
(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!]

herosz

Hy!
Is any chance to copy only an built message without filename and line number?
i.e. copy selection to clipbord result is:
QuoteC:\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  :(

stahta01

herosz, Try copying from build log.

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]

herosz

Oh yeah, in  build.log can select what I want to copy  :D

thank's !