Running error - missing libpng16.dll

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
User avatar
gbruscatto
Posts: 2
Joined: July 17th, 2016, 3:31 pm

Running error - missing libpng16.dll

Post by gbruscatto »

Hello,
First of all, forgive my english:

I'm trying to run the wesnoth solution on Visual Studio 2015, but I'm getting a missing libpng16.dll error. I've already added the external/lib folder in the path variable... Can anyone help me with this?

Thank you :)
User avatar
doofus-01
Art Director
Posts: 4128
Joined: January 6th, 2008, 9:27 pm
Location: USA

Re: Running error - missing libpng16.dll

Post by doofus-01 »

If you aren't getting help here, you could try asking on IRC, if you haven't already: irc://irc.wesnoth.org/#wesnoth-dev
BfW 1.12 supported, but active development only for BfW 1.13/1.14: Bad Moon Rising | Trinity | Archaic Era |
| Abandoned: Tales of the Setting Sun
GitHub link for these projects
aquileia
Inactive Developer
Posts: 120
Joined: August 25th, 2012, 5:13 pm

Re: Running error - missing libpng16.dll

Post by aquileia »

gbruscatto wrote:I've already added the external/lib folder in the path variable... Can anyone help me with this?
Well, you should add external/dll to the PATH variable, not external/lib.

However, it seems wedge009 replaced that file with libpng16-16.dll, so I restored it. Just pull from the external repo (or get a new archive) and it should be fine.
User avatar
gbruscatto
Posts: 2
Joined: July 17th, 2016, 3:31 pm

Re: Running error - missing libpng16.dll

Post by gbruscatto »

Thank you guys,

I meant external/dll, I added the right folder...
I'd not realized that the required file (libpng16.dll) had a different name in the external folder (libpng16-16.dll) aquileia :doh:. Copying and pasting the same file on the dll folder just changing the name solved the problem.

I'm good to go, thanks again! :)
woody123
Posts: 1
Joined: August 20th, 2016, 5:35 pm

Re: Running error - missing libpng16.dll

Post by woody123 »

aquileia wrote:
gbruscatto wrote:I've already added the external/lib folder in the path variable... Can anyone help me with this?
Well, you should add external/dll to the PATH variable, not external/lib.

However, it seems wedge009 replaced that file with libpng16-16.dll, so I restored it. Just pull from the external repo (or get a new archive) and it should be fine.
Was facing same issue, just changing the name sorted the issue out.

Thanks!
Post Reply