buck-yeh / parsergen

Self-hosted parser/scanner generator from LR grammar with semantic annotations in C++20
MIT License
7 stars 0 forks source link

fatal error: 'bux/LR1.h' file not found #6

Closed yurivict closed 2 years ago

yurivict commented 2 years ago

Build fails:

In file included from /disk-samsung/freebsd-ports/devel/parsergen/work/parsergen-1.7.0-9-gbda59af/ParserGen/Parser.cpp:5:
In file included from /disk-samsung/freebsd-ports/devel/parsergen/work/parsergen-1.7.0-9-gbda59af/ParserGen/ParseFile.h:3:
/disk-samsung/freebsd-ports/devel/parsergen/work/parsergen-1.7.0-9-gbda59af/ParserGen/Parser.h:6:10: fatal error: 'bux/LR1.h' file not found
#include <bux/LR1.h>
         ^~~~~~~~~~~
buck-yeh commented 2 years ago

If you follow the steps of from github in any of Linux distros, they are inaccurate right now, please add 2 steps befoe cmake . and see if it works:

  1. Checkout bux manually to /disk-samsung/freebsd-ports/devel/parsergen/work/bux
  2. Checkout CBrackets manually to /disk-samsung/freebsd-ports/devel/parsergen/work/CBrackets

I am fixing the repo. Hope soon we will see tag 1.7.1

yurivict commented 2 years ago

@buck-yeh

You should make them git submodules.

buck-yeh commented 2 years ago

That is the thing I have just learned recently. Definitely will consider it!

buck-yeh commented 2 years ago

This issue is closed with the same root cause with #8