Linking Bonjour SDK's dnssd.lib using MinGW gives SEGV
I am trying to i开发者_如何学运维ntegrate Bonjour with my Windows application using MinGW. I have downloaded the latest Bonjour SDK for Windows 2.0.4 and linked the dnssd.lib. The compilation, linking goes fine but I get a weird SIGSEGV with no stack trace. Thanks in advance for any help or suggestions.
Are you trying to link statically? You can't mix MinGW and MSVC static libraries but you can link dynamically.
Solved the issue using the dll and loading it as required through Qt class QLibrary.
精彩评论