Discussion and technical support related to USRP, UHD, RFNoC
View all threadsPardon the noobness, but how do you build the UHD examples?
I tried:
cd host
mkdir build
cd build
cmake ../examples
make
->
[ 12%] Building CXX object
CMakeFiles/benchmark_rx_rate.dir/benchmark_rx_rate.o
/home/steven/uhd/host/examples/benchmark_rx_rate.cpp:18:41: error:
uhd/utils/thread_priority.hpp: No such file or directory
/home/steven/uhd/host/examples/benchmark_rx_rate.cpp:19:35: error:
uhd/utils/safe_main.hpp: No such file or directory
/home/steven/uhd/host/examples/benchmark_rx_rate.cpp:20:36: error:
uhd/usrp/single_usrp.hpp: No such file or directory
/home/steven/uhd/host/examples/benchmark_rx_rate.cpp:30: error: variable or
field ‘test_device’ declared void
/home/steven/uhd/host/examples/benchmark_rx_rate.cpp:30: error: ‘uhd’ has
not been declared
/home/steven/uhd/host/examples/benchmark_rx_rate.cpp:31: error: expected
primary-expression before ‘double’
/home/steven/uhd/host/examples/benchmark_rx_rate.cpp:32: error: expected
primary-expression before ‘double’
make[2]: *** [CMakeFiles/benchmark_rx_rate.dir/benchmark_rx_rate.o] Error 1
make[1]: *** [CMakeFiles/benchmark_rx_rate.dir/all] Error 2
So clearly it's not picking up the include files... I tried switching to
things like
make --include-dir ../include/uhd/utils/
but, to no help. What's the correct syntax?
-Steven
On Thu, Nov 11, 2010 at 04:13:03PM -0500, Steven Clark wrote:
Pardon the noobness, but how do you build the UHD examples?
The examples are built into <BUILD_DIR>/examples ... but they are not
installed
Jason
On Thu, Nov 11, 2010 at 4:27 PM, Jason Abele jason@ettus.com wrote:
On Thu, Nov 11, 2010 at 04:13:03PM -0500, Steven Clark wrote:
Pardon the noobness, but how do you build the UHD examples?
The examples are built into <BUILD_DIR>/examples ... but they are not
installed
Jason
Ah. Thanks!
On 11/11/2010 01:32 PM, Steven Clark wrote:
On Thu, Nov 11, 2010 at 4:27 PM, Jason Abelejason@ettus.com wrote:
On Thu, Nov 11, 2010 at 04:13:03PM -0500, Steven Clark wrote:
Pardon the noobness, but how do you build the UHD examples?
The examples are built into<BUILD_DIR>/examples ... but they are not
installed
Jason
if you installed UHD its in <prefix>/share/uhd/examples
Ah. Thanks!
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com