0

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?

Artem Mostyaev
  • 3,874
  • 10
  • 53
  • 60
Osiris
  • 1

1 Answers1

2

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

Arvid
  • 10,915
  • 1
  • 32
  • 40
  • Thanks, Arvid, for reply! As I understand I need to include header file and lib for this dll. I'll try. – Osiris Apr 20 '16 at 07:21