标签:报错 c++ command com mpi use object build data
解决方法:
选中工程右键->属性(properties)->c/c++Build -> GCC C Compiler -> Command ->gcc -fPIC。
问题解决!!
eclipse编译动态链接库文件报错 relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
原文地址:https://www.cnblogs.com/GuanghuiLiu/p/9308867.html