GNURadio installation problem

Hi
I got the following errors when I was making the GNURadio Software on
Cygwin. Does anyone have a solution for it?

usrp_basic.cc:481: error: expected unqualified-id before ‘(’ token
usrp_basic.cc: In member function bool usrp_basic_rx::set_pga(int, double)': usrp_basic.cc:664: error: expected unqualified-id before '(' token usrp_basic.cc:665: error: expected unqualified-id before '(' token usrp_basic.cc: In constructorusrp_basic_tx::usrp_basic_tx(int, int,
int, std::
string, std::string)’:
usrp_basic.cc:916: error: expected unqualified-id before ‘(’ token
usrp_basic.cc: In member function bool usrp_basic_tx::set_pga(int, double)': usrp_basic.cc:1102: error: expected unqualified-id before '(' token usrp_basic.cc:1103: error: expected unqualified-id before '(' token make[5]: *** [usrp_basic.lo] Error 1 make[5]: Leaving directory/usr/src/gnuradio-3.0.4/usrp/host/lib’
make[4]: *** [all] Error 2
make[4]: Leaving directory /usr/src/gnuradio-3.0.4/usrp/host/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory/usr/src/gnuradio-3.0.4/usrp/host’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /usr/src/gnuradio-3.0.4/usrp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/usr/src/gnuradio-3.0.4’
make: *** [all] Error 2

regards,

Hi,

----- Original Message -----

From: “Mohammad Hamed F.” [email protected]

I got the following errors when I was making the GNURadio Software on
Cygwin. Does anyone have a solution for it?

usrp_basic.cc:481: error: expected unqualified-id before ‘(’ token
usrp_basic.cc: In member function `bool usrp_basic_rx::set_pga(int,
double)':
[etc.]

This happens when you use libusb 0.1.12 on Cygwin, as explained in
http://www.gnuradio.org/trac/ticket/145. One solution is to configure
with

CPPFLAGS=-DNOMINMAX ./configure [your options here]

– Don