问题
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