hocl icon indicating copy to clipboard operation
hocl copied to clipboard

Missing "dotviewer" dependency

Open jabcross opened this issue 3 years ago • 1 comments

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!

jabcross avatar Jul 20 '21 23:07 jabcross

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.

ggauthie avatar Jul 21 '21 13:07 ggauthie