Osiris
Osiris

Reputation: 1

Libtorrent 1.1 unresolved external symbol if_nametoindex

I am trying to make works libtorrent on VS2015 with boost 1.60. I built both and trying to build example "simple_client" from libtorrent but unfortunately it shows me:

unresolved external symbol if_nametoindex (broadcast_socket.obj)

Any ideas?

Upvotes: 0

Views: 515

Answers (1)

Arvid
Arvid

Reputation: 11245

the if_nametoindex function is defined in iphlpapi.dll. See the documentation on msdn.

Upvotes: 2

Related Questions