Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Default Plugin Doesnt Compile

<< < (3/5) > >>

bear24rw:
Alright now I can compile the hello world plugin!! :)

But... NOW when i go to install it, it says that it was made with a different version sdk or something and wont let me install it..

TDragon:
You need to either use the plugin with your own just-compiled C::B, or upgrade the C::B that you're trying to use it with.

bear24rw:
So the plugin isnt backwards compatible?

mariocup:
There are to location for codeblocks plugins. One location is the install directory share\CodeBlocks\plugins and the other in your (user) application data appdata\codeblocks\share\codeblocks\plugins.

If you install the plugin via the menu Manage Plugins, it will be save in the appdata path. So if you have two different versions in the install dir and the app data dir this will cause problems.

So try to delete the old plugin. If this will not fix the problem check the file  manifest.xml and modify the line that it looks like that.


--- Code: ---<SdkVersion major="1" minor="11"  release="11" />

--- End code ---
   

PS: This problem will also appear if you try to use the cb nightly and building your own plugin. Just built cb from sources and link your plugin against the required libs.

TDragon:

--- Quote from: bear24rw on August 05, 2007, 02:45:23 am ---So the plugin isnt backwards compatible?

--- End quote ---
It's not that you're asking the plugin to be backward-compatible; it's that you're asking an older version of Code::Blocks (your nightly build, or whatever you've actually been running) to be "forward-compatible" with a plugin built for a newer version of Code::Blocks (the version you compiled from sources).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version