I wanted to compile a plugin for xchat with wxwidgets inside. (sorry for my english ;p)
I get this errors:
/usr/bin/ld: obj/Release/main.o: relocation R_X86_64_32 against `Simple::sm_eventTable' can not be used when making a shared object; recompile with -fPIC
So, how can I compile with -fPIC ?