Installation

Step-by-step guide to install the C++ language module and set up the necessary environment to start using it.

The C++ Language Module can be installed in two ways: manually downloading the release or using the Plugify package manager. This guide explains both methods and provides step-by-step instructions.

Method 1: Manual Installation

Download the Release

  1. Go to the C++ Language Module repository.
  2. Navigate to the Releases section.
  3. Download the latest release package (e.g., plugify-module-cpp.zip).

Extract the Package

  1. Extract the downloaded package to a temporary directory.

Place the Module in the Modules Folder

  1. Locate the modules folder in your Plugify installation directory.
  2. Copy the extracted module files into the modules folder.

Verify Installation

  1. Start Plugify.
  2. The C++ Language Module should now be available for use.

Method 2: Installation via Package Manager

Add the Repository (if needed)

If the C++ Language Module is not found in the default package repository, you need to add the repository manually.

Option A: Add Repository via Command

  1. Run the following command in your terminal:
    plg repo https://untrustedmodders.github.io/plugify-module-cpp/plugify-module-cpp.json
    

Option B: Add Repository via plugify.pconfig

  1. Open the plugify.pconfig file in your Plugify installation directory.
  2. Add the following line under the repositories section:
    {
      "repositories": [
        "https://untrustedmodders.github.io/plugify-module-cpp/plugify-module-cpp.json"
      ]
    }
    

Install the Module

  1. Run the following command in your terminal:
    plg install plugify-module-cpp
    

Verify Installation

  1. Start Plugify.
  2. The C++ Language Module should now be installed and ready for use.

Folder Structure

After installation, the C++ Language Module should have the following folder structure:

Explanation

  • res/modules/plugify-module-cpp: The root folder for the C++ Language Module.
  • bin: Contains the compiled module binaries (.dll for Windows, .so for Linux and .dylib for macOS).
  • plugify-module-cpp.pmodule: The module manifest file that describes the module and its language.

Troubleshooting

Module Not Found

  • Ensure the repository URL is correct and accessible.
  • Verify that the repository has been added to plugify.pconfig or via the plg repo <url> command.

Installation Fails

  • Check your internet connection.
  • Ensure you have the latest version of Plugify installed.