Closed Fetchered closed 4 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
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.
Resolved, no longer requires astropy, six or the remaining requirements to break out GPS timestamps.
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.