Compiling mapping.pyx because it changed.
[1/1] Cythonizing mapping.pyx
Error compiling Cython file:
------------------------------------------------------------
...
def set_n(self, int input_, int n):
assert (input_ >= 0) and (input_ < self.inputs)
assert (n >= 0) and (n <= 8)
assert (n != 1)
ControlPoints *p = self.points_list + input_
^
------------------------------------------------------------
mapping.pyx:57:18: Cannot assign to or delete this
Error compiling Cython file:
------------------------------------------------------------
...
def set_point(self, int input_, int index, float x, float y):
assert (input_ >= 0) and (input_ < self.inputs)
assert (index >= 0) and (index < 8)
ControlPoints * p = self.points_list + input_
^
------------------------------------------------------------
mapping.pyx:73:18: Cannot assign to or delete this
Error compiling Cython file:
------------------------------------------------------------
...
# constant mapping (common case)
if (self.inputs_used == 0):
return result
for j in range(self.inputs):
ControlPoints *p = self.points_list + j
^
------------------------------------------------------------
mapping.pyx:98:20: Cannot assign to or delete this
Error compiling Cython file:
------------------------------------------------------------
...
def set_n(self, int input_, int n):
assert (input_ >= 0) and (input_ < self.inputs)
assert (n >= 0) and (n <= 8)
assert (n != 1)
ControlPoints *p = self.points_list + input_
^
------------------------------------------------------------
mapping.pyx:57:18: 'ControlPoints' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
def set_n(self, int input_, int n):
assert (input_ >= 0) and (input_ < self.inputs)
assert (n >= 0) and (n <= 8)
assert (n != 1)
ControlPoints *p = self.points_list + input_
^
------------------------------------------------------------
mapping.pyx:57:21: undeclared name not builtin: p
Error compiling Cython file:
------------------------------------------------------------
...
def set_n(self, int input_, int n):
assert (input_ >= 0) and (input_ < self.inputs)
assert (n >= 0) and (n <= 8)
assert (n != 1)
ControlPoints *p = self.points_list + input_
^
------------------------------------------------------------
mapping.pyx:57:40: Cannot convert 'ControlPoints *' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
assert (n >= 0) and (n <= 8)
assert (n != 1)
ControlPoints *p = self.points_list + input_
if (n != 0) and (p.n == 0):
self.points_list = self.inputs_used + 1
^
------------------------------------------------------------
mapping.pyx:60:42: Cannot assign type 'long' to 'ControlPoints *'
Error compiling Cython file:
------------------------------------------------------------
...
def set_point(self, int input_, int index, float x, float y):
assert (input_ >= 0) and (input_ < self.inputs)
assert (index >= 0) and (index < 8)
ControlPoints * p = self.points_list + input_
^
------------------------------------------------------------
mapping.pyx:73:18: 'ControlPoints' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
def set_point(self, int input_, int index, float x, float y):
assert (input_ >= 0) and (input_ < self.inputs)
assert (index >= 0) and (index < 8)
ControlPoints * p = self.points_list + input_
^
------------------------------------------------------------
mapping.pyx:73:41: Cannot convert 'ControlPoints *' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
# constant mapping (common case)
if (self.inputs_used == 0):
return result
for j in range(self.inputs):
ControlPoints *p = self.points_list + j
^
------------------------------------------------------------
mapping.pyx:98:20: 'ControlPoints' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
# constant mapping (common case)
if (self.inputs_used == 0):
return result
for j in range(self.inputs):
ControlPoints *p = self.points_list + j
^
------------------------------------------------------------
mapping.pyx:98:42: Cannot convert 'ControlPoints *' to Python object
Traceback (most recent call last):
File "setup.py", line 11, in <module>
ext_modules = cythonize("mapping.pyx")
File "C:\Python27\lib\site-packages\Cython\Build\Dependencies.py", line 915, in cythonize
cythonize_one(*args)
File "C:\Python27\lib\site-packages\Cython\Build\Dependencies.py", line 1037, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: mapping.pyx