在Visual Studio 2017中使用.so文件时出现链接错误

问题描述 投票:0回答:1

虽然使用跨平台编译,但.so文件无法从Visual Studio中读取。

Error       undefined reference to `dladdr'
Error       undefined reference to `dlopen'

请提供解决方案。

c++ linux visual-studio linker-errors
1个回答
0
投票

似乎库未正确链接。这是我们可以从您的问题中得出的唯一结论。如果您想更清楚地解释问题,请提供更多信息。

© www.soinside.com 2019 - 2024. All rights reserved.