PolyGlot icon indicating copy to clipboard operation
PolyGlot copied to clipboard

Error when compiling

Open vanhauser-thc opened this issue 8 months ago • 5 comments

I try to follow the example commands from the README with the supplied LUA grammar, but building polyglot fails:

$ cmake -DCMAKE_BUILD_TYPE=Release -Bbuild -G Ninja -DBUILD_TESTING=OFF -DGRAMMAR_FILE=grammars/lua/Lua.g4
...
LEXER_NAME: Lua
PARSER_NAME: Lua
-- Configuring done
-- Generating done
-- Build files have been written to: /PolyGlot/build

$ ninja -C build
ninja: Entering directory `build'
ninja: error: '../srcs/antlr/grammars/lua/Lua.g4', needed by 'srcs/antlr/generated/LuaBaseListener.cpp', missing and no known rule to make it

what am I doing wrong?

vanhauser-thc avatar Jun 23 '24 15:06 vanhauser-thc