error: dns_sd.h: No such file or directory

前端 未结 3 812
无人及你
无人及你 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
    

提交回复
热议问题