eclipse编译动态链接库文件报错 relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
时间:2018-07-14 11:47:04
收藏:0
阅读:1015
解决方法:
选中工程右键->属性(properties)->c/c++Build -> GCC C Compiler -> Command ->gcc -fPIC。
问题解决!!
评论(0)