digitalsleuth / time_decode

A timestamp and date decoder written for python 3
https://digitalsleuth.gitbook.io/time-decode-documentation/
MIT License
33 stars 8 forks source link

lscsoft-glue will not install in Windows environment #2

Closed Fetchered closed 4 years ago

Fetchered commented 6 years ago

tokenizer.ojb and tokenizer.c throw errors relating to six.h: C:\Users\<user>\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Isrc -Iglue/ligolw -Ic:\python27\include -Ic:\python27\PC /Tcglue/ligolw/tokenizer.c /Fobuild\temp.win32-2.7\Release\glue/ligolw/tokenizer.obj tokenizer.c src\six.h(51) : error C2054: expected '(' to follow 'inline' src\six.h(52) : error C2085: 'PyModule_Create' : not in formal parameter list src\six.h(52) : error C2143: syntax error : missing ';' before '{' src\six.h(64) : error C2054: expected '(' to follow 'inline' src\six.h(65) : error C2085: 'PyModule_Create2' : not in formal parameter list src\six.h(65) : error C2143: syntax error : missing ';' before '{' glue/ligolw/tokenizer.c(135) : warning C4013: 'PyModule_Create' undefined; assuming extern returning int glue/ligolw/tokenizer.c(135) : warning C4047: '=' : 'PyObject *' differs in levels of indirection from 'int' error: command 'C:\\Users\\<user>\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2

Working on workaround or fix.

Fetchered commented 4 years ago

Resolved, no longer requires astropy, six or the remaining requirements to break out GPS timestamps.