tgalal / python-axolotl-curve25519

GNU General Public License v3.0
35 stars 28 forks source link

error: command 'C:\\Users\\InterSys\\AppData\\Local\\Programs\\Common\\Microsoft \\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2 #15

Open HumGuz opened 6 years ago

HumGuz commented 6 years ago

i install whitout problems mingw compiler, gcc and zlib, when i run the installation command "python setup.py install" i got this error: `running install running bdist_egg running egg_info writing python_axolotl_curve25519.egg-info\PKG-INFO writing top-level names to python_axolotl_curve25519.egg-info\top_level.txt writing dependency_links to python_axolotl_curve25519.egg-info\dependency_links. txt reading manifest file 'python_axolotl_curve25519.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_axolotl_curve25519.egg-info\SOURCES.txt' installing library code to build\bdist.win32\egg running install_lib running build_ext building 'axolotl_curve25519' extension C:\Users\InterSys\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\ 9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Icurve/ed25519/nacl_incl udes -Icurve/ed25519/additions -Icurve/ed25519 -Ic:\Python27\include -Ic:\Python 27\PC /Tccurve25519module.c /Fobuild\temp.win32-2.7\Release\curve25519module.obj

curve25519module.c curve25519module.c(77) : error C2143: syntax error : missing ';' before 'type' curve25519module.c(80) : error C2065: 'result' : undeclared identifier curve25519module.c(84) : error C2143: syntax error : missing '{' before '' curve25519module.c(102) : warning C4133: 'return' : incompatible types - from 'P yObject ' to 'int ' curve25519module.c(148) : warning C4133: 'initializing' : incompatible types - f rom 'int (__cdecl )(PyObject ,PyObject *)' to 'PyCFunction' error: command 'C:\Users\InterSys\AppData\Local\Programs\Common\Microsoft \Visual C++ for Python\9.0\VC\Bin\cl.exe' failed with exit status 2 running install running bdist_egg running egg_info writing python_axolotl_curve25519.egg-info\PKG-INFO writing top-level names to python_axolotl_curve25519.egg-info\top_level.txt writing dependency_links to python_axolotl_curve25519.egg-info\dependency_links. txt reading manifest file 'python_axolotl_curve25519.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_axolotl_curve25519.egg-info\SOURCES.txt' installing library code to build\bdist.win32\egg running install_lib running build_ext building 'axolotl_curve25519' extension C:\Users\InterSys\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\ 9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Icurve/ed25519/nacl_incl udes -Icurve/ed25519/additions -Icurve/ed25519 -Ic:\Python27\include -Ic:\Python 27\PC /Tccurve25519module.c /Fobuild\temp.win32-2.7\Release\curve25519module.obj

curve25519module.c curve25519module.c(77) : error C2143: syntax error : missing ';' before 'type' curve25519module.c(80) : error C2065: 'result' : undeclared identifier curve25519module.c(84) : error C2143: syntax error : missing '{' before '' curve25519module.c(102) : warning C4133: 'return' : incompatible types - from 'P yObject ' to 'int ' curve25519module.c(148) : warning C4133: 'initializing' : incompatible types - f rom 'int (__cdecl )(PyObject ,PyObject *)' to 'PyCFunction' error: command 'C:\Users\InterSys\AppData\Local\Programs\Common\Microsoft \Visual C++ for Python\9.0\VC\Bin\cl.exe' failed with exit status 2`

any idea???

LabtronicsDesign commented 6 years ago

Did you manage to fix this?