【发布时间】:2015-11-05 11:43:26
【问题描述】:
我尝试将 Nana 库与 Code::Block IDE 一起使用。我进行了所有设置,例如here
并添加 -std=C++11 标志和 Boost 包含路径,但它会在构建时打印下一个错误:
nana/include/nana/paint/graphics.hpp|143|error: 'unsigned int nana::paint::graphics::bidi_string(const nana::point&, const char*, std::size_t)' 不能超载|
nana/include/nana/paint/graphics.hpp|142|错误: 与‘无符号 int nana::paint::graphics::bidi_string(const nana::point&, const char_t*, std::size_t)’|
我只开始研究 C++ 11 标准和 Nana GUI 库,无法理解这些错误。
【问题讨论】:
-
看来你已经删除了config.hpp中定义的NANA_UNICODE
-
我不更改库中的文件,只是下载并解压到文件夹中