否则会出现如下2个错误
error C2039: “back_inserter”: 不是“std”的成员
error C3861: “back_inserter”: 找不到标识符
之前编译虽然知道这两个错误的解决方法,但不记得文件,于是傻傻的先编译再根据出错信息查找错误文件
其实,只需要ctrl F全解决方案查找back_inserter就可以了-_-
哦,忘了,最重要的一步
在找到的文件头部添加
#include <iterator>
2011/06/01 update
另有ReaderWriterPNG.cpp中的png_set_gray_1_2_4_to_8 需更改为 png_set_expand_gray_1_2_4_to_8