Does anyone have any advice on how to use functions declared in complex.h on Windows?I am trying to cythonize pyx files that are written assuming C99 compiler. We would like to compile using the MSVC compiler for py>=3.5. I have installed VisualStudio 14
If I simply include:cdef extern from "complex.h":double complex conj(double complex x)I get these compilation errors:conj.cconj.c(666): error C2061: syntax error: identifier '__pyx_t_double_complex'conj.c(666): error C2059: syntax error: ';'conj.c(671): error C2061: syntax error: identifier '__pyx_t_double_complex_from_parts'conj.c(671): error C2059: syntax error: ';'conj.c(671): error C2059: syntax error: '<parameter-list>'conj.c(1203): error C2061: syntax error: identifier '__pyx_t_double_complex_from_parts'conj.c(1203): error C2059: syntax error: ';'conj.c(1203): error C2059: syntax error: '<parameter-list>'error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
--
---
You received this message because you are subscribed to the Google Groups "cython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Does anyone have any advice on how to use functions declared in complex.h on Windows?I am trying to cythonize pyx files that are written assuming C99 compiler. We would like to compile using the MSVC compiler for py>=3.5. I have installed VisualStudio 14
If I simply include:cdef extern from "complex.h":double complex conj(double complex x)I get these compilation errors:conj.cconj.c(666): error C2061: syntax error: identifier '__pyx_t_double_complex'conj.c(666): error C2059: syntax error: ';'conj.c(671): error C2061: syntax error: identifier '__pyx_t_double_complex_from_parts'conj.c(671): error C2059: syntax error: ';'conj.c(671): error C2059: syntax error: '<parameter-list>'conj.c(1203): error C2061: syntax error: identifier '__pyx_t_double_complex_from_parts'conj.c(1203): error C2059: syntax error: ';'conj.c(1203): error C2059: syntax error: '<parameter-list>'error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
--
To unsubscribe from this group and stop receiving emails from it, send an email to cython-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cython-users...@googlegroups.com.