Open jbromberg opened 11 months ago
Hi! I just got warnings about this so did not realize it would be removed so soon. I'll try to fix it ASAP.
If there's anything I can do to help, let me know!
[ 23%] Compiling modules/luascript/lib/antlr4/CharStream.cpp ... modules/luascript/lib/antlr4/ANTLRInputStream.cpp:56:36: error: 'value' is unavailable: introduced in macOS 10.14 _data = std::move(maybe_utf32).value(); ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/optional:962:28: note: 'value' has been explicitly marked unavailable here constexpr value_type&& value() && ^ modules/luascript/lib/antlr4/ANTLRInputStream.cpp:160:31: error: 'value' is unavailable: introduced in macOS 10.14 return std::move(maybeUtf8).value(); ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/optional:962:28: note: 'value' has been explicitly marked unavailable here constexpr value_type&& value() && ^ modules/luascript/lib/antlr4/ANTLRInputStream.cpp:175:31: error: 'value' is unavailable: introduced in macOS 10.14 return std::move(maybeUtf8).value(); ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/optional:962:28: note: 'value' has been explicitly marked unavailable here constexpr value_type&& value() && ^ 3 errors generated. scons: *** [modules/luascript/lib/antlr4/ANTLRInputStream.macos.editor.x86_64.o] Error 1 scons: building terminated because of errors.
macOS build it's broken, I'll try to fix it asap.
how can I fix it on macOS
When trying to build on the latest version of Godot on MacOS via the command
scons platform=macos module_luascript_enabled=yes
I get the following build errors: