草庐IT

c++ - Boost::GIL 'jpeglib.h':没有那个文件或目录

#include#includeintmain(){usingnamespaceboost::gil;rgb8_image_timg;jpeg_read_image("test.jpg",img);}我将$BOOST_ROOT添加到VS2010项目属性->C/C++->常规->附加包含目录。在http://www.richelbilderbeek.nl/CppCompileErrorJpeglibHnoSuchFileOrDirectory.htm中定义了相同的错误但声明的解决方案并没有解决我的问题。 最佳答案 可能缺少jpeg库?