Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.15 KB

BUILD.md

File metadata and controls

42 lines (28 loc) · 1.15 KB

Building Native Plugin

This build generates Lovebug.dll, a SKSE64 plugin based on CommonLibSSE NG.

There should really be no need for you to do this, unless you:

  • Want to port the native library to a skyrim version that I currently don't support
  • Want to fork this project and change the native library

Build Requirements

  1. Rust - executables like cargo should be present in your PATH
  2. Visual Studio 2022 with a C++ compiler
  3. CMake - make sure that its added to your PATH environment variable
  4. VCPKG
    • Set environment variable VCPKG_ROOT to the vcpkg installation folder
    • Version must be 2023-02-16 or later, otherwise youll get xbox error

Step-By-Step

  1. Test VCPKG_ROOT is set in your build terminal. This should return the path:
echo %VCPKG_ROOT%
  1. Init submodules
git submodule update --init --recursive
  1. Build the project
cmake --preset build
cmake --build --preset build --config Release

Building Papyrus Scripts

to be done