1
0
Files
BasaltMeter/BasaltPresenter/README.md

77 lines
1.4 KiB
Markdown
Raw Normal View History

2026-01-06 16:27:19 +08:00
# Basalt Presenter
## Dependencies
* [spdlog](https://github.com/gabime/spdlog)
2026-01-06 16:27:19 +08:00
* [tinyobjloader](https://github.com/tinyobjloader/tinyobjloader)
* [cgltf](https://github.com/jkuhlmann/cgltf)
We assume that you executing following commands in the root directory of `BasaltPresenter` project.
### spdlog
```sh
cd external
git clone -b 1.17.0 https://github.com/gabime/spdlog.git
cd spdlog
mkdir out
cd out
mkdir build
mkdir install
```
In Windows:
```bat
cmake -A x64 ../..
cmake --build . --config Release
cmake --install . --prefix=../install
```
Or in POSIX:
```sh
cmake -DCMAKE_BUILD_TYPE=Release ../..
cmake --build .
cmake --install . --prefix=../install
```
#### tinyobjloader
```sh
cd external
git clone -b v2.0.0 https://github.com/tinyobjloader/tinyobjloader.git
cd tinyobjloader
mkdir out
cd out
mkdir build
mkdir install
```
In Windows:
```bat
cmake -A x64 ../..
cmake --build . --config Release
cmake --install . --prefix=../install
```
Or in POSIX:
```sh
cmake -DCMAKE_BUILD_TYPE=Release ../..
cmake --build .
cmake --install . --prefix=../install
```
2026-01-06 16:27:19 +08:00
## Warning
This project was not written robustly.
So please confirm following conditions when running this program.
- ASCII-only path. It would be better to have English-chars-only path. No space, tab or weird chars.
- Not too long path. It would be better that less than 200 chars.
- ASCII-only command line arguments.