A very simple c graph visualization.
Usage: cgrf [OPTION...] [FILE...]
A simple graph visualization program
--version print version
--help print help
--file=<filename> specify file to visualize
- Install MSYS2 (Leave installation directory to
C:\msys64) - Open
MSYS2 MSYSshell from start menu (NOTMSYS2 MINGW or others) - Change directory to the root of this folder and then run
./install_deps_for_windowsmsys2_and_arch_linux.shfromMSYS2 MSYSshell ( it will install necessary dependencies) - Then close
MSYS2 MSYSshell and openMSYS2 MINGW64shell, change directory to the root of this folder, run./build.shthis will create abuilddirectory and write build files and compiled binary there (You can run./build.sh rto compile with release mode otherwise it will compile default to debug mode)
For Archlinux and its derivatives (which uses pacman package manager) you can run ./install_deps_for_windowsmsys2_and_arch_linux.sh (if needed run with sudo), then run ./build.sh (You can run ./build.sh r to compile with release mode otherwise it will compile default to debug mode)
For other linux distributions you can install dependencies according to your package manager:
- GCC
- GNU Make
- Premake
- SDL2
Then just run ./build.sh from root directory (No need for ./install_deps_for_windowsmsys2_and_arch_linux.sh other than arch linux like distributions)
- Install Homebrew
- Open terminal change directory to the root of this folder and then run
brew install gcc make sdl2 premake - Finally, run
./build.shshell script to build the project. Binary build will be written in build directory.
