Cygwin, open cfile using c, complex.h

Sorry this question might be a little bit far from gnuradio.

In the case I record raw data from the air by USRP and write to a cfile
by filesink.
I am using a C program to open the cfile to process.
However, when I compile in Cygwin, the complex.h headers were not found.

#include <complex.h>

Any package to be installed or where I can include the file?

$ gcc opencfile.c
opencfile.c:3:21: error: complex.h: No such file or directory
opencfile.c: In function

On Fri, Jan 21, 2011 at 08:02:30PM +0800, Howard Wong wrote:

Sorry this question might be a little bit far from gnuradio.

In the case I record raw data from the air by USRP and write to a
cfile by filesink.
I am using a C program to open the cfile to process.
However, when I compile in Cygwin, the complex.h headers were not found.

#include <complex.h>

It is a bit far from GNU Radio, unless you meant

#include <gr_complex.h>

otherwise it’s

#include

and in this case a quick Google would have given you the result.

Happy hacking,
MB


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association