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

Linux error since last commit #70

Closed
manuduarte opened this issue Jan 8, 2019 · 1 comment
Closed

Linux error since last commit #70

manuduarte opened this issue Jan 8, 2019 · 1 comment

Comments

@manuduarte
Copy link

Hi,

Since the last issue there is some compiling issues.

1st issue (Solved)

./HAP/.build/checkouts/Cdns_sd.git--79080462313159224/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
^
./HAP/.build/checkouts/NetService.git-3665721673043840872/Sources/NetService/NetService.swift:13:8: error: could not build C module 'Cdns_sd'
import Cdns_sd

I solved that issue with sudo apt-get install libavahi-compat-libdnssd-dev

Second issue:

./HAP/Sources/HAP/Server/Server.swift:67:41: error: cannot convert value of type '[String : String]' to expected argument type 'Data?'
service.setTXTRecord(device.config)
~~~~~~~^~~~~~

Same issue on both x86 and arm platform

@Bouke
Copy link
Owner

Bouke commented Jan 8, 2019

With the release of NetService 0.5, these issues have been introduced. For your first issue, I've updated the readme: 6565741. And for the second issue, I've updated the code: 58f1344. Thank you!

Also note that for a better Linux/arm story, check out PR #68.

@Bouke Bouke closed this as completed Jan 8, 2019
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