Skip to content

calebccff/cthead-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
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

cd cthead-viewer
mkdir build && cd build
cmake ..
make
./CTHeadViewer <PATH TO CTHEAD FILE>

About

A CT head viewer for CS255

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published