Dear Martin!
Thanks for your reply, I have fixed the problem.
Now , I wanted to generate zh_ch.po as the ABOUT-NLS file description, and I have modified the zh_ch.po file (CHARSET replaced by UTF-8). After run the command " make update-po", the error is as follow:
/usr/bin/msgfmt: zh_cn.po: warning: PO file header fuzzy
warning: older versions of msgfmt will give an error on this
zh_cn.po: 0 translated messages, 418 untranslated messages.
make[1]: Leaving directory `/home/xlzhang/path/to/bino-1.4.1/po'
Please give me some advices, thanks very much!
At 2012-11-21 02:18:57,"Martin Lambers" <address@hidden> wrote:
>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