LUI installation fails

Hello, hackers, could you help me with installation of LUI.
I downloaded LUI from git https://github.com/tobspr/LUI
then installed win SDK 7.1 (and SDK 10 too),run python build.py
and get many errors in source like this
/h/p3d/include/parser-inc/unordered_map:39:13: error: unknown type ‘Key’
_ _
_ typedef Key key_type;_
full output
my software:
Win10 x64
Python 3.6.1
Panda3D-SDK-1.10.0pre-7790f84-py3.6-x64
latest cmake (at 07.2018)

This might be an issue in interrogate. I’ll look into it.

This is actually an issue in the LUI source. I have filed a pull request with LUI to fix this:

Thank you, rdb
but its seems that some small fixes still needed
LUI installed, but when executing any example or test:
H:\3d\LUI-master\Tests>python Test.py
Known pipe types:
wglGraphicsPipe
(all display modules loaded.)
:lui: Loading atlas description from /h/3d/LUI-master/Builtin/…/Skins/Default/res/atlas.txt
:lui: Loading atlas texture from /h/3d/LUI-master/Builtin/…/Skins/Default/res/atlas.png
Traceback (most recent call last):
File “Test.py”, line 73, in
LUILabel(parent=layout.cell(), text=“Hello”)
File “…/Builtin\LUILabel.py”, line 23, in init
unicode(text),
NameError: name ‘unicode’ is not defined


simple remove of unicode instruction seems to be helpful, but also need to fix :
H:\3d\LUI-master\Demos>python 02_SimpleConsole.py
Known pipe types:
wglGraphicsPipe
(all display modules loaded.)
:lui: Loading atlas description from /h/3d/LUI-master/Builtin/…/Skins/Default/res/atlas.txt
:lui: Loading atlas texture from /h/3d/LUI-master/Builtin/…/Skins/Default/res/atlas.png
Traceback (most recent call last):
File “02_SimpleConsole.py”, line 82, in send_command
result.add("Your command in rot13: " + event.message.encode(“rot13”), color=(0.4, 0.4, 0.4, 1.0))
LookupError: ‘rot13’ is not a text encoding; use codecs.encode() to handle arbitrary codecs
:util(error): Exception occurred in PythonCallbackObject
Traceback (most recent call last):
File “02_SimpleConsole.py”, line 95, in
input_field.trigger_event(“enter”, demo_command)
File “02_SimpleConsole.py”, line 82, in send_command
result.add("Your command in rot13: " + event.message.encode(“rot13”), color=(0.4, 0.4, 0.4, 1.0))
LookupError: ‘rot13’ is not a text encoding; use codecs.encode() to handle arbitrary codecs


so i replaced it with codecs.encode(event.message, encoding=‘rot13’)
Then Got
File “…/Builtin\LUIInputField.py”, line 80, in value
self._value = unicode(new_value)
NameError: name ‘unicode’ is not defined
after fixing all of this, test start to work!
thank you again, tomorrow i try to check other part of code
UPD
after compiling and moving lui.pyd to panda3d directory, python cant load it
ModuleNotFoundError: No module named ‘direct.lui’
so temporary using builtin library from demos