FDH2 / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.34k stars 71 forks source link

Build Problem on Windows Involving DNSSD_API #310

Closed juliannowak closed 2 weeks ago

juliannowak commented 2 weeks ago

Following all the steps on github leading up to:

cmake .. Gave no errors, found everything in the right locations, and overall result looks good.

ninja Gives me an error FAILED: uxplay.exe, and does not build an executable. However before breaking it does give me: warning: "DNSSD_API" redefined

followed by a bunch of undefined reference lines (last one for example) C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: lib/libairplay.a(raop_rtp_mirror.c.obj):raop_rtp_mirro:(.text+0xa54): undefined reference to__imp_plist_to_xml' `

and finally collect2.exe: error: ld returned 1 exit status

Since dnssd is part of bonjour I tried installing older and different versions (from apple directly), none of which solved the problem.

juliannowak commented 2 weeks ago

This fixed it for me: https://github.com/FDH2/UxPlay/issues/308