开发者

Linking Bonjour SDK's dnssd.lib using MinGW gives SEGV

开发者 https://www.devze.com 2023-02-01 21:38 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消