我正在尝试在 Windows 中使用来自 Cygwin 的 perl.exe 运行 genhtml。
我已经安装了cygwin并将genhtml放在cygwin的bin目录下。我去了那个目录并在 Windows 中使用了命令行:
perl genhtml abc.dat
其中 abc.dat 是 genhtml 的 lcov 文件的名称。
但是我收到一条错误消息:
Reading data file abc.dat
genhtml: ERROR: cannot read file abc.dat!
我什至尝试使用空白文件,但返回了相同的错误。我该如何解决这个问题?
谢谢。