hocl
hocl copied to clipboard
Missing "dotviewer" dependency
Following the README tutorial, after running make
, I hit this error message:
/usr/local/hocl/bin/hoclc -dot -target_dir ./dot main.hcl
-------------------------------------------------------------------------------------------------
This is the HoCL compiler, version 1.2.2
-------------------------------------------------------------------------------------------------
Parsing file /usr/local/hocl/lib/hocl/stdlib.hcl
Parsing file main.hcl
Wrote file ./dot/main_top_f.dot
Wrote file ./dot/main_top_s.dot
/bin/sh: line 1: dotviewer: command not found
make: *** [../../../../lib/etc/Makefile.app:14: dot.show] Error 127
Not sure what I should install for the dotviewer
command. Any help would be appreciated!
You can use xdot to visualize your .dot files. http://manpages.ubuntu.com/manpages/bionic/man1/xdot.1.html
After that use ./configure --dotviewer xdot
before running make.