Author Topic: Downloading prebuild CodeBlocks SDK  (Read 9653 times)

slimmeke

  • Guest
Downloading prebuild CodeBlocks SDK
« on: September 21, 2013, 09:18:25 am »
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?

« Last Edit: September 21, 2013, 11:17:38 am by slimmeke »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11939
    • Travis build status
(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

  • Guest
Re: Downloading prebuild CodeBlocks SDK
« Reply #2 on: September 21, 2013, 12:58:01 pm »
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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11939
    • Travis build status
Re: Downloading prebuild CodeBlocks SDK
« Reply #3 on: September 21, 2013, 01:13:35 pm »
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

  • Guest
Re: Downloading prebuild CodeBlocks SDK
« Reply #4 on: September 21, 2013, 01:25:11 pm »
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

  • Guest
Re: Downloading prebuild CodeBlocks SDK
« Reply #5 on: September 21, 2013, 01:49:53 pm »
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

  • Guest
Re: Downloading prebuild CodeBlocks SDK
« Reply #6 on: September 21, 2013, 01:56:17 pm »
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
« Last Edit: September 21, 2013, 01:59:01 pm by slimmeke »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11939
    • Travis build status
Re: Downloading prebuild CodeBlocks SDK
« Reply #7 on: September 21, 2013, 06:05:03 pm »
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!]

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Downloading prebuild CodeBlocks SDK
« Reply #8 on: September 21, 2013, 06:21:17 pm »
You can start C::b from a console (cmd.exe) with the -v parameter to get a more meaningful output.

slimmeke

  • Guest
Re: Downloading prebuild CodeBlocks SDK
« Reply #9 on: September 21, 2013, 06:31:10 pm »
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).
« Last Edit: September 21, 2013, 06:38:17 pm by slimmeke »

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Downloading prebuild CodeBlocks SDK
« Reply #10 on: September 21, 2013, 07:27:27 pm »
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

  • Guest
Re: Downloading prebuild CodeBlocks SDK
« Reply #11 on: September 22, 2013, 07:49:32 am »
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

  • Guest
Re: Downloading prebuild CodeBlocks SDK
« Reply #12 on: September 23, 2013, 10:39:30 am »
Can nobody help me with this problem??

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: Downloading prebuild CodeBlocks SDK
« Reply #13 on: September 25, 2013, 10:02:45 pm »
Is the zip in the ...\CodeBlocks\share\CodeBlocks directory?