discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] [UHD] CMake Error: The following variables are used i


From: Sangho Oh
Subject: [Discuss-gnuradio] [UHD] CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Date: Wed, 22 Dec 2010 19:10:06 -0500

I have compiled and run UHD code that was downloaded one day in last week.
One problem was that "tx_timed_samples.cpp" does not work. 
The timing control didn't work.
Even I give 10 secs delay, the code just promptly send samples without any delay.
Whereas receiver properly wait for the specified time before starting the reception process.

Therefore, I have updated UHD code today by

- "git pull" in /root/git/uhd/
- "cmake ../" in /root/git/uhd/build

got following error


-------------------------------------------------------------------------------------
--   Interface address discovery supported through getifaddrs.
-- 
-- Configuring USRP1 support...
-- USRP1 support configured automatically
--   Enabling USRP1 support.
-- 
-- Configuring USRP2 support...
-- USRP2 support configured automatically
--   Enabling USRP2 support.
-- 
-- Configuring USRP-E100 support...
-- USRP-E100 support configured automatically
--   Disabling USRP-E100 support.
-- 
-- Configuring priority scheduling...
-- Performing Test HAVE_PTHREAD_SETSCHEDPARAM
-- Performing Test HAVE_PTHREAD_SETSCHEDPARAM - Success
-- Performing Test HAVE_WIN_SETTHREADPRIORITY
-- Performing Test HAVE_WIN_SETTHREADPRIORITY - Failed
--   Priority scheduling supported through pthread_setschedparam.
-- 
-- Configuring module loading...
-- Looking for C++ include dlfcn.h
-- Looking for C++ include dlfcn.h - found
-- Looking for C++ include windows.h
-- Looking for C++ include windows.h - not found
--   Module loading supported through dlopen.
-- Local package data directory: /usr/local/share/uhd
-- Installer package data directory: /usr/share/uhd
-- 
-- ######################################################
-- # LibUHD enabled components                           
-- ######################################################
--   * Examples
--   * Utils
--   * Tests
--   * Doxygen
--   * USB
--   * USRP1
--   * USRP2
-- 
-- ######################################################
-- # LibUHD disabled components                          
-- ######################################################
--   * Manual
--   * USRP-E100
-- 
-- Using install prefix: /usr/local
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBUSB_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /root/git/uhd/host/lib
LIBUSB_LIBRARIES (ADVANCED)
    linked by target "uhd" in directory /root/git/uhd/host/lib


--
From: Sangho Oh
Voice mail: (609) 759-1552


reply via email to

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