Thanks, the prefix hint has helped enormously.
I now have the plugin sort of working in a recent nightly. Getting some seg faults in some places due to lack of error checking, so have added that.
Quick generic question about plugins and the dev cycle though since I am now at the point of altering the plugin code.
I am building the plugin in codeblocks itself, this results in a directory containng the cbplugin file and the zip file. This is where I originally installe the plugin from. On a rebuild of the plugin, where should I copy those to to update the code blocks installation (which I have in a directory in my home directory as specified by --prefix). When the plugin was originally installed it must have copied the zip file to ~/codeblocks_install/share/codeblocks, but I do not know what it did with the matching cbplugin file? Or indeed its contents. Currently reading the plugin docs to try and find the best procedure for development here.