Visualisation of the stack decoding algorithm used for convolutional codes.
gtk-rs
is used, install the requirements, on Fedora that issudo dnf install gtk3-devel glib2-devel
.- Use
cargo
to build and run.
- Use MSYS2 to install GTK3:
pacman -S base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-gtk3
, consider using--force
on the/mingw64 exists in filesystem
error. - Help
pkg-config
find the files that we just installed:export PKG_CONFIG_PATH=/mingw64/lib/pkgconfig:$PKG_CONFIG_PATH
. - Help
ld
to do the same:export LIBRARY_PATH=/mingw64/lib
. - Build the project:
cargo build
. Try to installgcc
ormingw-w64-x86_64-gcc
if there are any errors at this step. cargo run
won't work at this point because it can't find the DLLs likelibgtk-3-0.dll
, those are in/mingw64/bin
(very strange). UpdatingLD_LIBRARY_PATH
does not seem to work, so a temporary workaround would be copy everything under/mingw64/bin
to the same directory as the executable, e.g.$project_dir/target/debug/convolutional-stack.exe
.