玄冬Wong的博客Linux上的CodeBlocks编译动态.../usr/bin/ld: ojb/Debug/main.o: relocation R_x86_64_32 against '__gxx_personality_v0'cannot be used when making a shared object; recompile with -fPIC 需要设置编译选项,如下
HawaiiHello的博客之前一直用Qt或者CodeBlocks上带的MinGW,这次自己装了一个,碰到一堆问题。 一 在用g++编译的时候报错: stddef.h: No such file or directory stdarg.h: No such file or directory 按照报错路径寻找,确实没有这...