pocoproject / poco-dnssd

POCO DNS-SD (Zeroconf) Wrapper Library for Bonjour and Avahi
Other
21 stars 13 forks source link

dns_sd.h is missed. Compile of DNSSD/Bonjour fails #1

Closed petersmar closed 7 years ago

petersmar commented 7 years ago

To compile the DNSSD library I included the poco-dnssd-master folder into the poco-1.7.4-all folder and renamed it to DNSSD. Additionally I added "DNSSD" to the component file and startet the windows-build. The DNSSD libraries were build without any errors but the DNSSD/Bonjour failed, because the file dns_sd.h is missed. Where to get the dns_sd.h file?

This is the first error line: 1>E:\poco-1.7.4-all\DNSSD\Bonjour\include\Poco/DNSSD/Bonjour/EventLoop.h(30): fatal error C1083: Cannot open include file: 'dns_sd.h': No such file or directory [E:\poco-1.7.4-all\DNSSD\Bonjour\Bonjour_vs100.vcxproj]

obiltschnig commented 7 years ago

As stated in the README.md, you'll need to install the Bonjour SDK, which has the dns_sd.h header, on Windows, in order to build the DNSSD/Bonjour library.

petersmar commented 7 years ago

Thanks for the hint. I just had installed the Bonjour driver but not the SDK.