Skip to content

Commit e64fbb4

Browse files
add faq about missing hls header
1 parent bfa31f5 commit e64fbb4

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/faq.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,28 @@ Avoiding this reliance would make it easier for users to switch between images,
2121
require us to learn a slightly new interaction workflow.
2222
~~~
2323

24+
~~~admonish question collapsible=true title"Compile error: ap_fixed.h: No such file or directory."
25+
As with other errors of this type, this originates in a bad interaction between our repository
26+
and one of its submodules. Specifically, `ap_fixed.h` is within the `Trigger/HLS_arbitrary_Precision_Types`
27+
submodule and so if the files within that directory are not present you need to make sure that
28+
the submodules are up-to-date.
29+
```
30+
git submodule update --recursive --init && echo "success"
31+
```
32+
This command **should succeed**; thus, I added the `&& echo "success"` so that the last line is
33+
`success` if everything finished properly.
34+
35+
One issue that has been observed is that this command fails
36+
rather quietly after a lot of printouts. Specifically, on MacOS, there was an issue where
37+
`git lfs` was not found and so `acts`'s submodule `OpenDataDetector` was failing to checkout
38+
and issuing a `fatal` error. This prevented all of the submodules from being updated and thus
39+
the missing file.
40+
41+
Make sure `git lfs` is installed by running that command and seeing that it prints out
42+
a help message instead of an error like `'lfs' is not a git command`. If you see this
43+
error, you need to [install `git lfs`](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage).
44+
~~~
45+
2446
~~~admonish question collapsible=true title="CMake error: does not contain a CMakeLists.txt file."
2547
The full text of this error looks like (for example)
2648
```

0 commit comments

Comments
 (0)