Closed LoneWolfHT closed 4 years ago
When compiling on Xubuntu 19.04 with Godot 3.1.2-stable I get these errors:
[ 25%] In file included from modules/luascript/lua_script_instance.cpp:23: modules/luascript/lua_script_language.h:82:96: error: 'ScriptCodeCompletionOption' was not declared in this scope; did you mean 'ScriptCodeCompletionCache'? 82 | lete_code(const String &p_code, const String &p_path, Object *p_owner, List<ScriptCodeCompletionOption> *r_options, bool &r_force, String &r_call_hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | ScriptCodeCompletionCache modules/luascript/lua_script_language.h:82:122: error: template argument 1 is invalid 82 | code, const String &p_path, Object *p_owner, List<ScriptCodeCompletionOption> *r_options, bool &r_force, String &r_call_hint); | ^ [ 26%] Compiling ==> thirdparty/mbedtls/library/error.c [ 26%] Compiling ==> thirdparty/mbedtls/library/gcm.c [ 26%] Compiling ==> thirdparty/mbedtls/library/havege.c In file included from modules/luascript/lua_script.cpp:26: modules/luascript/lua_script_language.h:82:96: error: 'ScriptCodeCompletionOption' was not declared in this scope; did you mean 'ScriptCodeCompletionCache'? 82 | lete_code(const String &p_code, const String &p_path, Object *p_owner, List<ScriptCodeCompletionOption> *r_options, bool &r_force, String &r_call_hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | ScriptCodeCompletionCache modules/luascript/lua_script_language.h:82:122: error: template argument 1 is invalid 82 | code, const String &p_path, Object *p_owner, List<ScriptCodeCompletionOption> *r_options, bool &r_force, String &r_call_hint); | ^ [ 26%] modules/luascript/lua_script.cpp: In member function 'Error LuaScript::load_source_code(const String&)': modules/luascript/lua_script.cpp:288:3: error: 'ERR_FAIL_V_MSG' was not declared in this scope; did you mean 'ERR_FAIL_V'? 288 | ERR_FAIL_V_MSG(ERR_INVALID_DATA, "Script '" + p_path + "' contains invalid unicode (utf-8), so it was not loaded. Please ensure that scripts are saved in valid utf-8 unicode.") | ^~~~~~~~~~~~~~ | ERR_FAIL_V [ 26%] Compiling ==> thirdparty/mbedtls/library/hkdf.c [ 26%] Compiling ==> thirdparty/mbedtls/library/hmac_drbg.c [ 26%] Compiling ==> thirdparty/mbedtls/library/md2.c [ 26%] Compiling ==> thirdparty/mbedtls/library/md4.c [ 26%] Compiling ==> thirdparty/mbedtls/library/md5.c [ 26%] Compiling ==> thirdparty/mbedtls/library/md.c [ 26%] Compiling ==> thirdparty/mbedtls/library/md_wrap.c In file included from modules/luascript/register_types.cpp:23: modules/luascript/lua_script_language.h:82:96: error: 'ScriptCodeCompletionOption' was not declared in this scope; did you mean 'ScriptCodeCompletionCache'? 82 | lete_code(const String &p_code, const String &p_path, Object *p_owner, List<ScriptCodeCompletionOption> *r_options, bool &r_force, String &r_call_hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | ScriptCodeCompletionCache modules/luascript/lua_script_language.h:82:122: error: template argument 1 is invalid 82 | code, const String &p_path, Object *p_owner, List<ScriptCodeCompletionOption> *r_options, bool &r_force, String &r_call_hint); | ^ [ 26%] Compiling ==> thirdparty/mbedtls/library/memory_buffer_alloc.c [ 26%] Compiling ==> thirdparty/mbedtls/library/net_sockets.c [ 26%] Compiling ==> thirdparty/mbedtls/library/nist_kw.c [ 26%] Compiling ==> thirdparty/mbedtls/library/oid.c [ 26%] Compiling ==> thirdparty/mbedtls/library/padlock.c [ 26%] Compiling ==> thirdparty/mbedtls/library/pem.c In file included from modules/luascript/lua_script_language.cpp:25: modules/luascript/lua_script_language.h:82:96: error: 'ScriptCodeCompletionOption' was not declared in this scope; did you mean 'ScriptCodeCompletionCache'? 82 | lete_code(const String &p_code, const String &p_path, Object *p_owner, List<ScriptCodeCompletionOption> *r_options, bool &r_force, String &r_call_hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | ScriptCodeCompletionCache [ 26%] modules/luascript/lua_script_language.h:82:122: error: template argument 1 is invalid 82 | code, const String &p_path, Object *p_owner, List<ScriptCodeCompletionOption> *r_options, bool &r_force, String &r_call_hint); | ^ [ 26%] scons: *** [modules/luascript/lua_script_instance.x11.tools.64.o] Error 1 Compiling ==> thirdparty/mbedtls/library/pk.c scons: *** [modules/luascript/lua_script.x11.tools.64.o] Error 1 In file included from ./core/cowdata.h:36, from ./core/ustring.h:35, from ./core/math/vector2.h:35, from ./core/math/rect2.h:34, from ./core/math/transform_2d.h:34, from ./scene/gui/control.h:34, from ./scene/gui/text_edit.h:34, from modules/luascript/editor/luascript_syntax_highlighter.h:22, from modules/luascript/editor/luascript_syntax_highlighter.cpp:20: modules/luascript/editor/luascript_syntax_highlighter.cpp: In static member function 'static SyntaxHighlighter* LuaScriptSyntaxHighlighter::create()': modules/luascript/editor/luascript_syntax_highlighter.cpp:35:16: error: invalid new-expression of abstract class type 'LuaScriptSyntaxHighlighter' 35 | return memnew(LuaScriptSyntaxHighlighter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./core/os/memory.h:98:51: note: in definition of macro 'memnew' 98 | #define memnew(m_class) _post_initialize(new ("") m_class) | ^~~~~~~ In file included from modules/luascript/editor/luascript_syntax_highlighter.cpp:20: modules/luascript/editor/luascript_syntax_highlighter.h:24:7: note: because the following virtual functions are pure within 'LuaScriptSyntaxHighlighter': 24 | class LuaScriptSyntaxHighlighter : public SyntaxHighlighter { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from modules/luascript/editor/luascript_syntax_highlighter.h:22, from modules/luascript/editor/luascript_syntax_highlighter.cpp:20: ./scene/gui/text_edit.h:690:17: note: 'virtual String SyntaxHighlighter::get_name()' 690 | virtual String get_name() = 0; | ^~~~~~~~ scons: *** [modules/luascript/editor/luascript_syntax_highlighter.x11.tools.64.o] Error 1 scons: *** [modules/luascript/register_types.x11.tools.64.o] Error 1 modules/luascript/lua_script_language.cpp:302:8: error: 'ScriptCodeCompletionOption' was not declared in this scope; did you mean 'ScriptCodeCompletionCache'? 302 | List<ScriptCodeCompletionOption> *r_options, bool &r_force, String &r_call_hint) { // TODO | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | ScriptCodeCompletionCache modules/luascript/lua_script_language.cpp:302:34: error: template argument 1 is invalid 302 | List<ScriptCodeCompletionOption> *r_options, bool &r_force, String &r_call_hint) { // TODO | ^ scons: *** [modules/luascript/lua_script_language.x11.tools.64.o] Error 1 scons: building terminated because of errors.
Builds only with 3.2 master, as stated on the readme
When compiling on Xubuntu 19.04 with Godot 3.1.2-stable I get these errors: