In file included from /Users/runner/work/godot-modules/godot-modules/modules/luascript/parser/generated/LuaBaseListener.cpp:5:
/Users/runner/work/godot-modules/godot-modules/modules/luascript/parser/generated/LuaBaseListener.h:7:10: fatal error: 'antlr4-runtime.h' file not found
#include "antlr4-runtime.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
I suggest using relative path as suggested in this PR, or reorganizing existing code structure in the future.
See
custom_modules
documentation.Current code uses Godot's absolute path (
#
) that breaks compilation if luascript is placed outside of Godot's source tree:https://github.com/goostengine/godot-modules/runs/3174015174#step:6:1711
I suggest using relative path as suggested in this PR, or reorganizing existing code structure in the future.