User forums > Help

Help Plugin Installation

(1/4) > >>

eoneuk:
How do I install the help plugin?  Searching produced no clearcut answer; perhaps I was looking in the wrong places.

I need simples steps: 1,2,3, etc.

Thanks for any assistance.

Ed

AkiraDev:
Any plugin is comprised of at least two files: a .ZIP archive, and a DLL.
Usually, the .ZIP file contains any resources (graphics files and .XRC resources) that the plugin needs to run, while the DLL obviously is the actual plugin in itself.

($Codeblocks) refers to the directory where you installed C::B :

The .ZIP archive is to be placed in ($Codeblocks)/share/Codeblocks, while the .DLL goes to ($Codeblocks)/share/Codeblocks/plugins.

Now restart Code::Blocks, and there you go.

Shouldn't the question "How can I install new plugins into Code::Blocks?" be part of the FAQ anyway?

Ceniza:
1. Get the sources of the plugin.
2. Compile the plugin using one of the Code::Blocks project files (you'll need to get Code::Blocks SDK or compile it yourself).
3. Compress help_plugin.xrc to help_plugin.zip
4. Copy help_plugin.dll (which is located in codeblocks/src/devel/share/CodeBlocks/plugins/ if you got it from CVS) to your ($Codeblocks)/share/CodeBlocks/plugins/ folder.
5. Copy help_plugin.zip to your ($Codeblocks)/share/CodeBlocks/ folder.

Here, just like AkiraDev wrote, ($Codeblocks) refers to the directory where you installed Code::Blocks.

bungle:
Hi there, I am having problems compiling the help_plugin too.  I have followed the steps stated by Ceniza, and when I try to compile either of the help_plugin project files in C::B I get the error message:

Project   : Code::Blocks Help Plugin
Compiler  : GNU GCC Compiler (called directly)
Directory : C:\Program Files\CodeBlocks\src\plugins\contrib\help_plugin\
--------------------------------------------------------------------------------
Switching to target: help_plugin
Linking dynamic library: ..\..\..\devel\share\CodeBlocks\plugins\help_plugin.dll
C:\Program Files\CodeBlocks\bin\..\lib\gcc\mingw32\3.4.4\..\..\..\..\mingw32\bin\ld.exe: cannot find -lcodeblocks
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings

I get the same error if I try to compile the wxSmith plugin too.

I am running Win2K, C::B installed from binaries and updated to 1.0RC1-1 with the sdk folders copied out of the CVS.
I have successfully dowonloaded and compiled wxWidgets, so I know this thing works!!

Thanks in advance

STEVE

Ceniza:
If you got up there the plugins are being compiled, but fail to link. What you need is in the SDK, but the binary one you can get from here.

You could also try compiling Code::Blocks (so you'll get all the library files needed) or my binary snapshots which include the help_plugin.

Navigation

[0] Message Index

[#] Next page

Go to full version