perbone / luascript

Lua language support for Godot Engine
Apache License 2.0
629 stars 44 forks source link

Error building on Windows 10 #47

Closed ghost closed 2 years ago

ghost commented 2 years ago

I'm building Godot with luascript on Windows, with LLVM-Mingw-w64, using the options scons use_mingw=yes use_llvm=yes use_lld=yes module_luascript_enabled=yes, and ANTLR4 has several errors in CommonToken.h and CommonToken.cpp. Most of the errors are dllimport errors, such as error: definition of dllimport static field not allowed and redeclared without 'dllimport' attribute: previous 'dllimport' ignored. Hopefully this can help make the module work cross-platform.

ghost commented 2 years ago

I'm going to try building with a mingw-w64 sourceforge build too, maybe it'll change the output

perbone commented 2 years ago

Hi. Unfortunately I don't have a Windows machine to fix this. Any help is much appreciated. Thks