Resolving dependencies... Configuring termbox-bindings-c-0.1.0.2... Preprocessing library for termbox-bindings-c-0.1.0.2.. Building library for termbox-bindings-c-0.1.0.2.. [1 of 1] Compiling Termbox.Bindings.C ( src/Termbox/Bindings/C.hs, dist/build/Termbox/Bindings/C.o, dist/build/Termbox/Bindings/C.dyn_o ) cbits/termbox.c: In function tb_present: cbits/termbox.c:802:17: error: error: implicit declaration of function wcwidth [-Wimplicit-function-declaration] 802 | w = wcwidth(back->ch); | ^~~~~~~ | 802 | w = wcwidth(back->ch); | ^ `cc' failed in phase `C Compiler'. (Exit code: 1) Failed to install termbox-bindings-c-0.1.0.2 Error: cabal: Some packages failed to install: termbox-2.0.0.2-Gb9nJg36Jm722dW2aYTrsO depends on termbox-2.0.0.2 which failed to install. termbox-bindings-c-0.1.0.2-4ZVBhw2fgIwIkpi24e5N0U failed during the building phase. The exception was: ExitFailure 1 termbox-bindings-hs-1.0.0.1-Jnmu9skiPk1ArxKmHjCHZY depends on termbox-bindings-hs-1.0.0.1 which failed to install.