Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns_sd branch does not build #25

Closed
robreuss opened this issue Dec 17, 2018 · 2 comments
Closed

dns_sd branch does not build #25

robreuss opened this issue Dec 17, 2018 · 2 comments

Comments

@robreuss
Copy link

I'm unable to get the "dns_sd" branch to build. Here's the error message. Thanks!

#include "shim.h"
         ^
/home/robreuss/Development/VirtualMobileController/VirtualMobileController_Linux/.build/checkouts/Cdns_sd.git--4743522453419668987/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/home/robreuss/Development/VirtualMobileController/VirtualMobileController_Linux/.build/checkouts/NetService.git--7099908149735996145/Sources/NetService/NetService.swift:13:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/home/robreuss/Development/VirtualMobileController/VirtualMobileController_Linux/.build/checkouts/Cdns_sd.git--4743522453419668987/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/home/robreuss/Development/VirtualMobileController/VirtualMobileController_Linux/.build/checkouts/NetService.git--7099908149735996145/Sources/NetService/NetService.swift:13:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
@Bouke
Copy link
Owner

Bouke commented Dec 17, 2018

I guess this is on some linux distro? Have you got “libavahi-compat-libdnssd-dev” installed?

@robreuss
Copy link
Author

Yes, sorry, it was on Ubuntu 16.04. That fixed the build problem - thanks! It also seems to have fixed the other issue, with resolving, but I'm not sure because the Linux does not seem to be getting the NetService callbacks. I'll post a separate issue for that and close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants