discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Error when compiling


From: Don Ward
Subject: Re: [Discuss-gnuradio] Error when compiling
Date: Mon, 18 Jun 2007 13:29:14 -0400

----- Original Message ----- From: "Alaelddin Mohammed" <address@hidden>
To: <address@hidden>
Sent: Monday, June 18, 2007 12:50 PM
Subject: [Discuss-gnuradio] Error when compiling


Hi

I am new to gnu radio. when I compiled the gnu radio I got the following error. I am using Cygwin.

$./make
.
.
usrp_basic.cc: In constructor `usrp_basic_rx::usrp_basic_rx(int, int, int, std::
string, std::string)':
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:662: error: expected unqualified-id before '(' token
usrp_basic.cc:663: error: expected unqualified-id before '(' token
usrp_basic.cc: In constructor `usrp_basic_tx::usrp_basic_tx(int, int, int, std::
string, std::string)':
usrp_basic.cc:914: error: expected unqualified-id before '(' token
usrp_basic.cc: In member function `bool usrp_basic_tx::set_pga(int, double)':
usrp_basic.cc:1098: error: expected unqualified-id before '(' token
usrp_basic.cc:1099: error: expected unqualified-id before '(' token
make[5]: *** [usrp_basic.lo] Error 1
make[5]: Leaving directory `/usr/src/gnuradio-3.0.3/usrp/host/lib'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/src/gnuradio-3.0.3/usrp/host/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gnuradio-3.0.3/usrp/host'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gnuradio-3.0.3/usrp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnuradio-3.0.3'
make: *** [all] Error 2

what shall I do please.

This is documented in ticket #145 (www.gnuradio.org/trac/ticket/145). My workaround has been to run configure with:

CXX="g++ -DNOMINMAX" ./configure --with-boost-include-dir=/usr/include/boost-1_33_1

(without the e-mail line breaks!).

-- Don W.


--Alaelddin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]