无法打开输入文件libpng15-vc9.lib [英] can not open input file libpng15-vc9.lib
问题描述
我正在Visual Studio 2010 Windows中设置GDAL 1.8.0项目,我正在将libpng添加到项目中.
I am setting up my GDAL 1.8.0 Project in Visual Studio 2010 Windows, I am on way to add libpng to project.
我的libpng发行版libs在以下文件夹下...已成功在该文件夹中使用zlib生成,因为您可以看到每个VTP站点都没有文件丢失.
My libpng release libs are under following folder... They are successfully built with zlib in this folder, as you can see there are no files missing as per VTP site.
D:\ libpng-16
D:\libpng-16
我还更改了其他库文件名.
And I have also changed additional libraries file names.
即使我在Property Manager中添加了路径,该错误仍然会出现.
Even though I added path in Property Manager, this error is still coming.
仍然出现以下错误
先谢谢您.
推荐答案
您应提供绝对路径d:/libpng-16/libpng16.lib
you should give absolute path d:/libpng-16/libpng16.lib
或
在链接程序->常规->其他库指令中添加路径(d:/libpng-16)
Add the path (d:/libpng-16) in Linker->General->Additional Library Directives
所有其他库也是如此.
The same applies for all the other libraries also.
这篇关于无法打开输入文件libpng15-vc9.lib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!