我的文件名: firstnana.cpp
当前文件夹: D:\projects\cpp\guinana
我的标题:
#include <nana/gui.hpp>
#include <nana/gui/widgets/label.hpp>
#include <nana/gui/widgets/button.hpp>
编译:
g++ firstnana.cpp -I./nana/include/nana
示例
:<nana/gui.hpp>
位于D:\projects\cpp\guinana\nana\include\nana\gui.hpp
输出错误:
firstnana.cpp:1:24: fatal error: nana/gui.hpp: No such file or directory
compilation terminated.