Error undefined reference to `dladdr' in Visual Studio 2017 cross-platform

纵然是瞬间 提交于 2019-12-31 06:01:17

问题


I am writing small program using 3rd party library. 3rd party library is placed in Linux machine. From visual studio 2017 using crossplatform i am running my small code with help of 3rd party library(.so files). path everything mentioned properly and vs2017 able to find .so files but facing below issues.

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

Note: In linker ->Report Unsolved Symbol Reference ->Yes (-Wl,--no-undefined) but still facing that errors. Any linkers settings need to be added?

来源:https://stackoverflow.com/questions/59410671/error-undefined-reference-to-dladdr-in-visual-studio-2017-cross-platform

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!