Skip to content

Instantly share code, notes, and snippets.

@zeffii
Created December 27, 2018 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeffii/b5850015819441a8113ce367a4621a6f to your computer and use it in GitHub Desktop.
Save zeffii/b5850015819441a8113ce367a4621a6f to your computer and use it in GitHub Desktop.
['', ' float add(float a, float b);', ' ']
ITEM1 float add(float a, float b);
X ['float add', 'float a, float b);']
PARSE ['float a', ' float b']
[(['float', 'add'], [('float', 'a'), ('float', 'b')])]
FP ['float', 'add'] [('float', 'a'), ('float', 'b')]
PARAM {'a': 5.0, 'b': 12.110000610351562}
add a,b
_cffi__x5594ce1fx833f21d4.c
C:\Users\zeffi\Desktop\test_blenders\sverchok_cffi_28 (1)/build\_cffi__x5594ce1fx833f21d4.c(2): fatal error C1083: Cannot open include file: 'Python.h': No such file or directory
Unexpected error: <class 'cffi.error.VerificationError'>
on line: 58
Traceback (most recent call last):
File "C:\Users\zeffi\Desktop\test_blenders\blender-2.80-4c5e76025d83-win64\blender-2.80.0-git.4c5e76025d83-windows64\2.80\python\lib\distutils\_msvccompiler.py", line 423, in compile
self.spawn(args)
File "C:\Users\zeffi\Desktop\test_blenders\blender-2.80-4c5e76025d83-win64\blender-2.80.0-git.4c5e76025d83-windows64\2.80\python\lib\distutils\_msvccompiler.py", line 542, in spawn
return super().spawn(cmd)
distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\zeffi\Desktop\test_blenders\blender-2.80-4c5e76025d83-win64\blender-2.80.0-git.4c5e76025d83-windows64\2.80\python\lib\site-packages\cffi\ffiplatform.py", line 51, in _build
dist.run_command('build_ext')
File "C:\Users\zeffi\Desktop\test_blenders\blender-2.80-4c5e76025d83-win64\blender-2.80.0-git.4c5e76025d83-windows64\2.80\python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
distutils.errors.CompileError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\zeffi\Desktop\scripts\addons_contrib\sverchok\nodes\generator\script1_lite.py", line 398, in process_script
exec(self.script_str, locals(), locals())
File "<string>", line 138, in <module>
cffi.error.VerificationError: CompileError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment