News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Downloading prebuild CodeBlocks SDK

Started by slimmeke, September 21, 2013, 09:18:25 AM

Previous topic - Next topic

slimmeke

Hey guys

I wan't to write a plugin for Code::Blocks but I can't find the SDK to create them.
Is it possible to download the newest Code::Blocks SDK version for Code::Blocks 12.11 (Windows) or is there some easy way to get the SDK?


oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

slimmeke

Ok tnx but I got one problem.

I can compile my plugin but I got some error after it.

Execution of 'zip -j9 Refactoring.zip manifest.xml' in 'D:\Projecten\CodeBlocks refactoring Plugin\Refactoring Plugin' failed.

If I go to my project folder I got an dll file but not more than that. How can I fix that?

oBFusCATed

Install command line zip, which is on you PATH.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

slimmeke

Ok did that.
I can create a plugin now. But when I install (for testign) the plugin in my CodeBlocks it can't be installed.

I have installed this cmd zip tool: http://stahlworks.com/dev/?tool=zipunzip

Sorry for asking this questions but I can't progam when this is not correct.

ToApolytoXaos

The recommended way to avoid any possible issue with System Variable PATH (by accidentally removing any system program from PATH), would be to create a variable named PATH in User variables for <username> and add your zip directory there.

For more info, visit http://www.itechtalk.com/thread3595.html

slimmeke

#6
I have added the zip to my path var (that was no problem for me). But after that I can't install the plugin using the plugin manager of Code::Blocks.

I got following problem when installing the plugin:
One or more plugins were not installed succesfully: D:\...\Refactoring.cbplugin

oBFusCATed

Try to link with -z defs or -Wl,--no-undefined, I don't know if they work on windows...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

You can start C::b from a console (cmd.exe) with the -v parameter to get a more meaningful output.

slimmeke

#9
Ok tnx I runed CB in cmd and got following error with my plugin.

Failed to load shared library c:\Program Files (x86)\...\plugins/Refactoring.dll (error 126: can't find module)

Where can I change the url because there is a problem with the \ and /. First you got the \ and the you got /?

Edit: The Refactoring.dll is in the correct directory (...\CodeBlocks\share\CodeBlocks\plugins).

Jenna

The backslash and slash mixing should not be a problem.
The dll really exists, and the name is correct ?
Does it depend on any other library ?
If yes make sure it is in the systems search-path (the other library, not your plugin)

slimmeke

The dll file and zip file are in the correct directory.
And I doesn't use any library for my plugin.

The plugin is an testplugin. It doesn't anything yet.
It's easyer to test and develop an plugin when I can run it.

slimmeke


ouch

Is the zip in the ...\CodeBlocks\share\CodeBlocks directory?