Skip to content

Instantly share code, notes, and snippets.

@rhizoome
Created August 29, 2016 13:16
Show Gist options
  • Save rhizoome/e77e9b0772435a92cca90fcc38ccc3fd to your computer and use it in GitHub Desktop.
Save rhizoome/e77e9b0772435a92cca90fcc38ccc3fd to your computer and use it in GitHub Desktop.
C:\Users\admin\c4irp>python chirp_cffi/high_level.py || exit /B 1
_chirp_cffi.c
fatal error C1007: unrecognized flag '-FitObjData' in 'p2'
LINK : fatal error LNK1257: code generation failed
Traceback (most recent call last):
File "chirp_cffi/high_level.py", line 164, in <module>
ffi.compile()
File "C:\Python27\lib\site-packages\cffi\api.py", line 672, in compile
compiler_verbose=verbose, **kwds)
File "C:\Python27\lib\site-packages\cffi\recompiler.py", line 1461, in recompile
outputfilename = ffiplatform.compile('.', ext, compiler_verbose)
File "C:\Python27\lib\site-packages\cffi\ffiplatform.py", line 29, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose)
File "C:\Python27\lib\site-packages\cffi\ffiplatform.py", line 62, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
cffi.ffiplatform.VerificationError: LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\BIN\\amd64\\link.exe' failed with exit status 1257
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment