bino-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bino-list] questions(I am looking forward to your reply)


From: Martin Lambers
Subject: Re: [Bino-list] questions(I am looking forward to your reply)
Date: Tue, 20 Nov 2012 19:18:57 +0100

On Tue, 20 Nov 2012 16:45:09 +0800 (CST), xlzhang wrote:
> Hi Martin!
>        At present, I have compiled the bino(win32) sucessful in the
> platform of  Linux(x86)+MINGW, and I copy the bino.exe to the windows
> platform running success. Now , I want to debug the
> Bino(source)-win32, In order to print some debug info, in the file
> of  config.h , set NDEBUG=0,     main.cpp(191 row),
> msg::set_level(msg::DBG),  After the that ,I recompiled the bino ,
> and run it in the win32,    but the dbg info can't be  display.
> Please give me some advices about the debug steps in my platform,
> thanks very much! 

Bino prints these messages to the terminal. However, a Windows
GUI application does not have an associated terminal, so the messages
are lost.

There are two ways to fix this:
Either remove '-mwindows' from the linker flags (configure.ac line 51).
Then the application will have a terminal.
Or redirect all messages to a file: in main.cpp, add 
'msg::set_file(fopen("c:\\bino.log", "w"))'.

Regards,
Martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]