Hi guys!
I downloaded the source code from the svn repository. Now I want to install one of the contrib plugins. But it seems there is no way I can install it from the ide, for i can't find any files ending with .cbplugin. I tried to build the source code of the plugin and ended up getting a shared library, which I don't know what to do with.
So can anyone tell me how to install the contrib plugins? My operating system is Opensuse 12.1 x86_64.
Quote from: rialmat on July 03, 2012, 03:25:32 PM
I downloaded the source code from the svn repository. Now I want to install one of the contrib plugins.
Source code != binary! You cannot "install" source code. You have to compile the source code yourself or use a package manager to d/l the binary distributions for your distro.
Quote
Source code != binary! You cannot "install" source code. You have to compile the source code yourself or use a package manager to d/l the binary distributions for your distro.
I already said in the original post, "I tried to build the source code of the plugin and ended up getting a shared library, which I don't know what to do with."
What I was asking is how can I "install" the plugin by means of the source code?(And I don't think the word "install" is exclusively associated with "binary ")
Well just copy the shared lib to the other shared libs and the resources to the resource folder. If you fully compile C::B yourself, the update script will take care of that just fine. The cbplugin file "format" is basically:
zip -j9 Plugin.cbplugin Plugin.dll Plugin.zip
EDIT:
...while Plugin.zip contains i.e. (but at least the manifest file):
zip -j9 Plugin.zip manifest.xml resources\Plugin.xrc (...)
rialmat: Have you read a guide showing how to build c::b from source? If not please search the wiki!
If you're simply trying to install the plugin, you could get them directly through nightly releases. As they contain plugins built right for that release.
This is for Windows:
http://prdownload.berlios.de/codeblocks/CB_20120703_rev8081_win32.7z
also
http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx2812_gcc452-TDM.7z
You can directly extract this to your Code::Blocks root folder and let the files be replaced.
Then simply start up Code::Blocks to verify.
Hope that helps. :)