https://github.com/calebccff/cthead-viewer
A CT head viewer for CS255
https://github.com/calebccff/cthead-viewer
Last synced: over 1 year ago
JSON representation
A CT head viewer for CS255
- Host: GitHub
- URL: https://github.com/calebccff/cthead-viewer
- Owner: calebccff
- 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-01-12T19:27:13.215Z (over 1 year ago)
- Language: C++
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- 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
```