Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Getting started with plugins [resolved]
Pecan:
copy the MyPlugin.so to the .../share/codeblocks/plugin directory
copy the MyPlugin.zip to the .../share/codeblocks directory
I've never used the Manage Plugin menu item. I don't know that it works. It says it's experimental.
stardust:
--- Quote from: TDragon on February 12, 2007, 06:38:51 pm ---Additionally, have you tried copying MyPlugin.zip to share/CodeBlocks and MyPlugin.so to share/CodeBlocks/plugins to see if your plugin works when loaded on startup?
--- End quote ---
I just tried it.
When I start C::B after that a message comes up from the system tray that reports an error durung startup of Code::Blocks and that there is an entry in the logs...
Now, were are these mysterious logs??? I cannot find them in the GUI, browsed the installation tree, looked in /tmp, searched the /var/log ...
TDragon:
--- Quote from: stardust on February 13, 2007, 03:12:53 pm ---I cannot find them in the GUI
--- End quote ---
--- Quote from: TDragon on February 12, 2007, 06:38:51 pm ---I refer to the "Code::Blocks Debug" tab of C::B's Messages panel. (If it doesn't appear, right-click one of the panel's tabs and select Code::Blocks Debug from the Show/Hide menu.)
--- End quote ---
If it isn't there, it may not appear in non-debug builds of C::B. (I don't know whether that's the case or not.) If it is there -- scroll upwards.
stardust:
--- Quote from: TDragon on February 12, 2007, 06:38:51 pm ---I refer to the "Code::Blocks Debug" tab of C::B's Messages panel. (If it doesn't appear, right-click one of the panel's tabs and select Code::Blocks Debug from the Show/Hide menu.)
--- End quote ---
Oh...sorry. I am not yet very familiar with C::B and these colors cannot be changed (must be somewhere in renderer?), changes to the syntax highlight scheme get lost upon a restart, etc. So blame me, I am still using emacs + console because of that...
Concerning the topic the debug log says
--- Quote ---[15:55:32.132]: ERROR: SDK version mismatch for MyPlugin (1.11.5). Expecting 1.11.8
--- End quote ---
I updated to svn 3596 and did a rebuild and copied the filed again, but that does not fix it.
TDragon:
That message means either that the current C::B SDK version is 1.11.5 and your plugin's manifest reads 1.11.8, or that the current SDK version is 1.11.8 and your manifest reads 1.11.5. Likely the former; change your SdkVersion "release" attribute to 5.
As far as your loathsome colors go, many colors can be changed in the Environment and Editor settings, but the defaults should never be unreadable. You may want to consider poking around in your OS' visual settings, or even changing to a more mainstream distribution such as Ubuntu, Fedora Core, openSUSE, etc.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version