readme mods

This commit is contained in:
2025-09-12 09:43:28 -05:00
parent 90c3023618
commit 2c20254c23

View File

@@ -12,7 +12,7 @@ This DLL is designed to integrate easily into a C# application. A class that aco
There are two main ways to get the DLL... There are two main ways to get the DLL...
## Download from Releases (recommended) ## Download from releases (recommended)
Download the DLL from the latest release on the [releases page](https://git.the-embedded-lab.com/shamilton/LivePlotter/releases). Download the DLL from the latest release on the [releases page](https://git.the-embedded-lab.com/shamilton/LivePlotter/releases).
@@ -22,10 +22,11 @@ Building is a tad messy atm. I despise Visual Studio and like to manage my own b
1. You'll need git bash and an installation of MSVC (likely via downloading/installing Visual Studio and then installing the C++ build tools). 1. You'll need git bash and an installation of MSVC (likely via downloading/installing Visual Studio and then installing the C++ build tools).
2. Get the source code. `git clone --recurse-submodules https://git.the-embedded-lab.com/shamilton/LivePlotter.git` 2. Get the source code. `git clone --recurse-submodules https://git.the-embedded-lab.com/shamilton/LivePlotter.git`
3. Build the glfw library. `cd ext/glfw`. `mkdir build && cd build`. Open GLFW.sln and build the solution. 3. Build the glfw library. `cd ext/glfw`. `mkdir build && cd build && cmake ..`. Open GLFW.sln and build the solution.
4. Find `vcvars64.bat` in your installation and modify the path in [run_before_build.bat](./run_before_build.bat) to point to it. 4. Find `vcvars64.bat` in your installation and modify the path in [run_before_build.bat](./run_before_build.bat) to point to it.
5. Open git bash to the root directory of the project. 5. Open git bash to the root directory of the project.
6. Run `./run_before_build.bat` then `build.sh` 6. Run `./run_before_build.bat` then `build.sh`
7. A folder bin/ should exist with `LivePlotter.dll` inside. 7. A folder bin/ should exist with `LivePlotter.dll` inside.
8. Copy the entire contents of the bin folder (preferably minus the intermediate build files... sorry) to your project's build output directory
If issues arise, please feel free to create an issue on this repository. If issues arise, please feel free to create an issue on this repository.