Skip to content
Dmitry edited this page Jun 24, 2018 · 12 revisions

1. Copy plugin-sdk repository to your disk

To download the repository, you must install Git for Windows.

! Git can be installed during Visual Studio installation by selecting the corresponding item in the installer.

! Git for Windows XP can be found here: https://github.com/git-for-windows/git/releases/tag/v2.10.0.windows.1

! If you use plugin-sdk with Code::Blocks, locate plugin-sdk repository in the root of any local disc.

Run the command line from the placewhere plugin-sdk repository should be located (or go to this place from the command line) and run command

git clone https://github.com/DK22Pac/plugin-sdk.git

If you plan to continue working with the repository (update or make your changes), you can use TortoiseGit for these purposes.

2. Setup environment variables and install Project Wizard/Templates

Launch installer-launcher.exe in plugin-sdk folder.

Img1

! If you have problems running applications that use .NET Framework 4.0, you can try running the version of the installer that uses .NET Framework 3.5. To do this, open tools\installer and run PluginSdkWizardInstaller_fw3.5.exe.

Setup plugin-sdk environment variables in the Setup Plugin-SDK environment variables section. The variable PLUGIN_SDK_DIR is mandatory. More information about variables can be found here.

After configuring PLUGIN_SDK_DIR variable, it will be possible to install additional utilities for Visual Studio and Code::Blocks (click the button in the Install Plugin-SDK Wizard/Templates section).

After the installation, click on the Generate button in the Generate Plugin-SDK solution/workspace section. After that, plugin-sdk solution will be created.

3. Build plugin-sdk solution/workspace

Go to the plugin-sdk folder, and open created solution (plugin.sln for Visual Studio, plugin.workspace for Code::Blocks). Build solution in Release and Debug modes.

Visual Studio

Choose building mode

Img5

And use menu for building: Build > Build solution (Ctrl+Shift+B by default).

See also

Installing development environment (IDE)

Creating a new plugin in plugin-sdk