You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Hi,
I am having a hard time with the installation of tmsc. I have been trying to get tmsc up but have been running into some problems. I am installing inside 'venv' on Windows 10.
This is the snippet of the error I have been getting.
pyuast.cc
bblfsh/pyuast.cc(481): errorC2059: syntax error: '.'
bblfsh/pyuast.cc(502): errorC2143: syntax error: missing ';' before '}'
bblfsh/pyuast.cc(504): errorC4430: missing type specifier - int assumed. Note: C++ does not support default-int
bblfsh/pyuast.cc(504): errorC2040: 'ctx': 'int' differs in levels of indirection from 'Uast *'
bblfsh/pyuast.cc(504): errorC2065: 'iface': undeclared identifier
bblfsh/pyuast.cc(505): errorC2059: syntax error: 'return'
bblfsh/pyuast.cc(506): errorC2059: syntax error: '}'
bblfsh/pyuast.cc(506): errorC2143: syntax error: missing ';' before '}'error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.11.25503\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
----------------------------------------
Command "c:\progra~1\python36\venv~1\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Annesha\\AppData\\Local\\Temp\\pip-install-ur9kqskb\\bblfsh\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Annesha\AppData\Local\Temp\pip-record-jp280ri4\install-record.txt --single-version-externally-managed --compile --install-headers c:\progra~1\python36\venv~1\include\site\python3.6\bblfsh" failed with error code 1 in C:\Users\Annesha\AppData\Local\Temp\pip-install-ur9kqskb\bblfsh\c\
@juanjux - yeah, that seems to be the problem. I followed all the steps on my Windows machine with the python venv, but no luck so far. Would appreciate it if you can help me with the issue!
Activity
juanjux commentedon Aug 3, 2018
Sounds like a problem compiling with Visual Studio, the code at these lines is correct C++11/14, I'll check with a VM or my gaming computer.
AnneshaChowdhury commentedon Aug 3, 2018
@juanjux - yeah, that seems to be the problem. I followed all the steps on my Windows machine with the python venv, but no luck so far. Would appreciate it if you can help me with the issue!
juanjux commentedon Aug 7, 2018
Version 2.10.1 should fix this. Note that you still need to install libxml2 and libuast in Windows before pip will work.