error: dns_sd.h: No such file or directory

前端 未结 3 810
无人及你
无人及你 2021-02-02 10:15

I\'m trying to build a demo project using Bonjour, following this tutorial, but i\'m getting this error:

error: dns_sd.h: No such file or directory

相关标签:
3条回答
  • 2021-02-02 10:36

    I just had this error on Ubuntu while trying to compile a project. This helped:

    sudo apt-get install libavahi-compat-libdnssd-dev
    
    0 讨论(0)
  • 2021-02-02 10:53

    You can find the mDNSResponder daemon code here: http://www.opensource.apple.com/source/mDNSResponder/

    You can download a tar file here: http://www.opensource.apple.com/tarballs/mDNSResponder/

    0 讨论(0)
  • 2021-02-02 10:58

    You can use Avahi configured with mdnsresponder-compat

    0 讨论(0)
提交回复
热议问题