致命错误 C1083:无法打开包含文件:'tiffio.h':没有这样的文件或目录 VC++ 2008
问题描述:
当我尝试编译包含 tiffio.h
标头的应用程序时遇到此错误.
I got this error when I tried to compile an application that includes the tiffio.h
header.
为了记录,tiffio.h
位于:
C:\Program Files\GnuWin32\include
我已经将该目录设置为包含在项目"和解决方案"Visual C++ 目录中,如位于此处的图像所示.
I have set that directory to be included in the 'Projects' and 'Solution' Visual C++ directories, as shown in the image located here.
我错过了什么?
答
在图像中的选项对话框中 - 将显示目录"从可执行文件"更改为包含文件",然后添加包含路径
In the Options dialog you have in the image - change the "Show directories for" from "Executable Files" to "Include files" and then add the include path there.