Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upAttributes are not accessible in Lua in VisualStudio builds #23258
Comments
ZhilkinSerg
added
<Question>
(S1 - Need confirmation)
Code: Build
OS: Windows
Lua
labels
Mar 19, 2018
ZhilkinSerg
added
the
(P4 - Low)
label
Apr 2, 2018
This comment has been minimized.
This comment has been minimized.
|
Did you actually compile with Lua support? Does any other Lua code work? Does it work for |
This comment has been minimized.
This comment has been minimized.
All Visual Studio configurations have SDL and Lua enabled. Lua works (e.g. I can run |
This comment has been minimized.
This comment has been minimized.
|
Well, the script works here on Linux (Lua 5.3). Did it work previously? Is the file "src/lua/catabindings.cpp" up to date? (Should be about 1 MB large.) |
This comment has been minimized.
This comment has been minimized.
Yeah, I know it works. It will work fine if I grab pre-compiled version from Jenkins or compile myself on Linux or on Windows via Code::Blocks (MSYS). Yes, I was using Code::Blocks (MSYS) on Windows for building my Lua PRs and found that Lua is partly not working in VS only by chance. I don't know when it stopped worked on VS, but I have probably tested some basic Lua statements in VS builds last year (including I will probably need to bisect - though it is PITA on Windows. |
This comment has been minimized.
This comment has been minimized.
|
This one here could be from VS: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hmm... I've added |
ZhilkinSerg
changed the title
Tripoint fields are not accessible in VisualStudio builds
Attributes are not accessible in Lua in VisualStudio builds
Jun 16, 2018
This comment has been minimized.
This comment has been minimized.
|
Seems to be resolved when using |


ZhilkinSerg commentedMar 19, 2018
•
edited
Following Lua code returns
nilvalues when I compile in Visual Studio 2015 on Windows:It works fine with downloaded binary or when I compile in Code::Blocks (MSYS) on Windows.
Can someone please confirm the issue exists or is it something in my system?
Edit (2018-05-10): Same issue on fresh Windows 10 with Visual Studio 2017.