https://github.com/kcxt/cthead-viewer
A CT head viewer for CS255
https://github.com/kcxt/cthead-viewer
Last synced: 11 months ago
JSON representation
A CT head viewer for CS255
- Host: GitHub
- URL: https://github.com/kcxt/cthead-viewer
- Owner: kcxt
- Created: 2021-01-31T16:42:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-03T02:05:56.000Z (over 5 years ago)
- Last Synced: 2025-06-06T16:11:43.081Z (12 months ago)
- Language: C++
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CTHead Viewer
## Setup instructions
### Dependencies
* SFML
* Cmake
### Setup Instructions
1. Clone imgui: https://github.com/ocornut/imgui
2. Clone sfml-imgui bindings: https://github.com/eliasdaler/imgui-sfml
```bash
cd imgui-sfml
mkdir build && cd build
cmake .. -DIMGUI_DIR=../../imgui -DBUILD_SHARED_LIBS=ON
sudo cmake --build . --target install
```
> **NOTE:** If you build without `-DBUILD_SHARED_LIBS=ON`, on Fedora at least, you'll get weird errros being unable to find SFML. This is because it's trying to build a static library, but SFML doesn't have static libraries packaged for Fedora.
### Build and Run
```bash
cd cthead-viewer
mkdir build && cd build
cmake ..
make
./CTHeadViewer
```