3 Commits

Author SHA1 Message Date
69d5ef09bf ignore future compile command files 2025-09-15 09:21:09 -05:00
2b9316f9d2 remove compile_commands.json. update glfw 2025-09-15 09:19:59 -05:00
2c20254c23 readme mods 2025-09-12 09:43:28 -05:00
4 changed files with 5 additions and 11 deletions

1
.gitignore vendored
View File

@@ -13,3 +13,4 @@ x64**
.cache**
tags
bin/*
compile_commands.json

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...
## 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).
@@ -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).
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.
5. Open git bash to the root directory of the project.
6. Run `./run_before_build.bat` then `build.sh`
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.

View File

@@ -1,8 +0,0 @@
[
{ "directory": "C:/Users/seth/Documents/repos/LivePlotter", "command": "cl src/body.cpp -I inc -I ext/glm -I ext/glfw/include -Od -std:c++20 -Fo", "file": "src/body.cpp" },
{ "directory": "C:/Users/seth/Documents/repos/LivePlotter", "command": "cl src/camera.cpp -I inc -I ext/glm -I ext/glfw/include -Od -std:c++20 -Fo", "file": "src/camera.cpp" },
{ "directory": "C:/Users/seth/Documents/repos/LivePlotter", "command": "cl src/demo/demo.cpp -I inc -I ext/glm -I ext/glfw/include -Od -std:c++20 -Fo", "file": "src/demo/demo.cpp" },
{ "directory": "C:/Users/seth/Documents/repos/LivePlotter", "command": "cl src/live_plotter.cpp -I inc -I ext/glm -I ext/glfw/include -Od -std:c++20 -Fo", "file": "src/live_plotter.cpp" },
{ "directory": "C:/Users/seth/Documents/repos/LivePlotter", "command": "cl src/shaders.cpp -I inc -I ext/glm -I ext/glfw/include -Od -std:c++20 -Fo", "file": "src/shaders.cpp" },
{ "directory": "C:/Users/seth/Documents/repos/LivePlotter", "command": "cl src/util.cpp -I inc -I ext/glm -I ext/glfw/include -Od -std:c++20 -Fo", "file": "src/util.cpp" },
]