I started with plugin development for Code::Blocks under Ubuntu 8.04.1 64bits.
When I try to compile it I've found this ploblem:
Compiling: HelloWorldPlugin.cpp
Linking dynamic library: HelloWorldPlugin.so
/usr/bin/ld: .objs/HelloWorldPlugin.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
.objs/HelloWorldPlugin.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings
I've searched the forum and I've found some topics about this problem, with its solution and I decided to include it on the wiki because it can be helpful for new C::B plugin developers.
Creating a simple "Hello World" plugin