can not open input file libpng15-vc9.lib

2019-09-20 14:45发布

问题:

I am setting up my GDAL 1.8.0 Project in Visual Studio 2010 Windows, I am on way to add libpng to project.

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

And I have also changed additional libraries file names.

Even though I added path in Property Manager, this error is still coming.

Still I am getting following error

Thank You in advance.

回答1:

you should give absolute path d:/libpng-16/libpng16.lib

or

Add the path (d:/libpng-16) in Linker->General->Additional Library Directives

The same applies for all the other libraries also.