Not actively maintained
A simple SFML-based word game built with C++ and CMake.
This project only reliably works on Linux.
It may not build or run correctly on Windows due to:
- Platform-specific SFML dependencies
- Different system libraries (X11, udev, etc.)
- Build configuration assumptions
This project uses:
- SFML 2.6.1 (included as a subdirectory)
- CMake 3.26+
- C++17 compiler (GCC/Clang)
System libraries required on Linux:
sudo apt install libx11-dev libxrandr-dev libxi-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev libudev-dev.
├── SFML/ # SFML 2.6.1 source (included)
├── headers/ # Header files
├── src/ # Game source files
├── main.cpp
├── CMakeLists.txt
└── bin/ # Output binary (created after build)
git clone <repo-url>
cd Catch_the_wordgit clone --branch 2.6.1 --depth 1 https://github.com/SFML/SFML.gitmkdir build
cd buildcmake ..cmake --build . -j$(nproc)Binary will be generated in:
/bin/ctwRun it with:
cd ..
./bin/ctw- If you want to extract the final build out of the project, copy both /bin and /assets folders into a separate folder
- SFML is built from source via
add_subdirectory(SFML) - No system SFML installation is required
- Build behavior may vary depending on Linux distribution and installed system libraries
If build fails:
- Ensure dependencies are installed (see above)
- Clean build directory:
- Check errors for extra missing dependancies
rm -rf build
mkdir build
cd build
cmake ..
cmake --build .

