Re: [USRP-users] UHD still errors after build installation

2018-12-17 Thread Sam Reiter via USRP-users
Bernd,

I'm adding the usrp-users mailing list back to this conversation as someone
may have more insight on this than I do.

I was able to reproduce your CMake output by removing the Entry Values for
*LIBUSB_INCLUDE_DIRS *and *LIBUSB_LIBRARIES. *If, in your CMake Entries,
these have a big NOTFOUND in their value field, you need to manually locate
them. Here's the Windows Guide
<https://kb.ettus.com/Building_and_Installing_the_USRP_Open_Source_Toolchain_(UHD_and_GNU_Radio)_on_Windows#Configuring_the_Building>
that lays this out.

The guide above also mentions installing the USB driver on Windows machines
to ensure you can interface with USB Devices. Give that a shot as well.

Sam Reiter
SDR Support Engineer
Ettus Research


On Mon, Dec 17, 2018 at 2:56 AM Bernd Witzel 
wrote:

> Dear Sam Reiter,
>
> I am now able to build and build install without errors (but a lot of
> warnings) when I run Visual Studio as an Administrator. The
> problem is that I see in the cmade output that some features are disabled.
> How can I enable them, because I want to use The B210 for my project.
>
>
>
> ##
>
> # UHD disabled components
>
> ##
>
> * LibUHD - Python API
>
> * LIBERIO
>
> * USB
>
> * GPSD
>
> * B100
>
> * B200
>
> * E300
>
> * USRP1
>
> * DPDK
>
> * Man Pages
>
> Wen I use uhd_find_devices I got :
>
> C:\Users\Bernd 2\uhd-master\host\build\utils\Release>uhd_find_devices
> [INFO] [UHD] Win32; Microsoft Visual C++ version 14.1; Boost_106800;
> UHD_3.14.0.0-0-unknown
> [INFO] [NIRIO] rpc_client stopping...
> [INFO] [NIRIO] rpc_client stopped.
> No UHD Devices Found[
> ERROR] [
>
> When I use  uhd_find_device from the binary files I download directly I
> got :
>
>
>
> UHD Error:
> Device discovery error: input stream error
> --
> -- UHD Device 0
> --
> Device Address:
> type: b200
> name: MyB210
> serial: 30BC5F1
> product: B210
>
>
> So the device is in principle working but the program I compiled does not
> work.
> How to go on ?
>
> Thanks for your help
> Bernd Witzel
>
> ------
> *Von:* Sam Reiter 
> *Gesendet:* Sonntag, 16. Dezember 2018 20:33
> *An:* Marcus Müller
> *Cc:* Bernd Witzel; usrp-users@lists.ettus.com
> *Betreff:* Re: [USRP-users] UHD still errors after build installation
>
> I agree with Marcus as I ran into this recently myself. Make sure you're
> running Visual Studio as an Administrator before attempting to install.
>
> Sam Reiter
> SDR Support Engineer
> Ettus Research
>
>
> On Sun, Dec 16, 2018 at 2:13 PM Marcus Müller via USRP-users <
> usrp-users@lists.ettus.com> wrote:
>
> Hi Bernd,
>
> I'm really not versed in the ways of Windows, but might it simply be
> the case that the user you're currently running as simply has no
> permissions to create files in C:\Program Files\?
>
> Best regards,
> Marcus
>
> On Sun, 2018-12-16 at 16:12 +, Bernd Witzel via USRP-users wrote:
> > To Sam Reiter  (I did not get the answer via email, i just saw it in
> > the net.)
> >
> >
> > I did not install now the Doxygen, but I get following errors now
> >
> > in cmake I got this,
> >
> > when I compile it it is without error, when I install it with Build
> > install I got one error, see file I have attached to the
> > email
> >
> > Configuring the python interpreter...
> > Python interpreter: C:/Python27/python.exe
> > Override with: -DPYTHON_EXECUTABLE=
> > Python runtime interpreter: C:/Python27/python.exe
> > Override with: -DRUNTIME_PYTHON_EXECUTABLE=
> > CMake Warning at cmake/Modules/UHDVersion.cmake:65 (message):
> > Could not detect git executable! Could not determine exact version of
> > UHD!
> > Call Stack (most recent call first):
> > cmake/Modules/UHDPackage.cmake:9 (include)
> > CMakeLists.txt:110 (include)
> >
> > Using UHD Images Directory: C:\Program Files\UHD\share\uhd\images
> >
> > Configuring Boost C++ Libraries...
> > Looking for optional Boost components...
> > Boost version: 1.68.0
> > Found the following Boost libraries:
> > Looking for required Boost components...
> > Boost version: 1.68.0
> > Boost include directories: C:/local/boost_1_68_0
> > Boost library directories: C:/local/boost_1_68_0/lib64-msvc-14.1
> > Boost libraries:
> >
> > Python checking for Python version 2.7 or greater
> > Python checking

Re: [USRP-users] UHD still errors after build installation

2018-12-16 Thread Sam Reiter via USRP-users
I agree with Marcus as I ran into this recently myself. Make sure you're
running Visual Studio as an Administrator before attempting to install.

Sam Reiter
SDR Support Engineer
Ettus Research


On Sun, Dec 16, 2018 at 2:13 PM Marcus Müller via USRP-users <
usrp-users@lists.ettus.com> wrote:

> Hi Bernd,
>
> I'm really not versed in the ways of Windows, but might it simply be
> the case that the user you're currently running as simply has no
> permissions to create files in C:\Program Files\?
>
> Best regards,
> Marcus
>
> On Sun, 2018-12-16 at 16:12 +, Bernd Witzel via USRP-users wrote:
> > To Sam Reiter  (I did not get the answer via email, i just saw it in
> > the net.)
> >
> >
> > I did not install now the Doxygen, but I get following errors now
> >
> > in cmake I got this,
> >
> > when I compile it it is without error, when I install it with Build
> > install I got one error, see file I have attached to the
> > email
> >
> > Configuring the python interpreter...
> > Python interpreter: C:/Python27/python.exe
> > Override with: -DPYTHON_EXECUTABLE=
> > Python runtime interpreter: C:/Python27/python.exe
> > Override with: -DRUNTIME_PYTHON_EXECUTABLE=
> > CMake Warning at cmake/Modules/UHDVersion.cmake:65 (message):
> > Could not detect git executable! Could not determine exact version of
> > UHD!
> > Call Stack (most recent call first):
> > cmake/Modules/UHDPackage.cmake:9 (include)
> > CMakeLists.txt:110 (include)
> >
> > Using UHD Images Directory: C:\Program Files\UHD\share\uhd\images
> >
> > Configuring Boost C++ Libraries...
> > Looking for optional Boost components...
> > Boost version: 1.68.0
> > Found the following Boost libraries:
> > Looking for required Boost components...
> > Boost version: 1.68.0
> > Boost include directories: C:/local/boost_1_68_0
> > Boost library directories: C:/local/boost_1_68_0/lib64-msvc-14.1
> > Boost libraries:
> >
> > Python checking for Python version 2.7 or greater
> > Python checking for Python version 2.7 or greater - found
> >
> > Python checking for Mako templates 0.4.2 or greater
> > Python checking for Mako templates 0.4.2 or greater - found
> >
> > Python checking for requests 2.0 or greater
> > Python checking for requests 2.0 or greater - "import requests"
> > failed
> >
> > Python checking for numpy 1.7 or greater
> > Python checking for numpy 1.7 or greater - found
> >
> > Configuring LibUHD support...
> > Dependency Boost_FOUND = 1
> > Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
> > Dependency HAVE_PYTHON_MODULE_MAKO = TRUE
> > Enabling LibUHD support.
> > Override with -DENABLE_LIBUHD=ON/OFF
> >
> > Configuring LibUHD - C API support...
> > Dependency ENABLE_LIBUHD = ON
> > Enabling LibUHD - C API support.
> > Override with -DENABLE_C_API=ON/OFF
> >
> > Configuring LibUHD - Python API support...
> > Dependency ENABLE_LIBUHD = ON
> > Dependency BOOST_PYTHON_FOUND =
> > Dependency HAVE_PYTHON_MODULE_NUMPY = TRUE
> > Dependency PythonLibs_FOUND = TRUE
> > Disabling LibUHD - Python API support.
> > Override with -DENABLE_PYTHON_API=ON/OFF
> >
> > Configuring Examples support...
> > Dependency ENABLE_LIBUHD = ON
> > Enabling Examples support.
> > Override with -DENABLE_EXAMPLES=ON/OFF
> >
> > Configuring Utils support...
> > Dependency ENABLE_LIBUHD = ON
> > Enabling Utils support.
> > Override with -DENABLE_UTILS=ON/OFF
> >
> > Configuring Tests support...
> > Dependency ENABLE_LIBUHD = ON
> > Enabling Tests support.
> > Override with -DENABLE_TESTS=ON/OFF
> >
> > Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
> > Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIRS)
> > Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
> > Could NOT find LIBGPS (missing: LIBGPS_LIBRARY LIBGPS_INCLUDE_DIR)
> > Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
> > Could NOT find LIBERIO (missing: LIBERIO_LIBRARY LIBERIO_INCLUDE_DIR)
> > Could NOT find dpdk (missing: DPDK_INCLUDE_DIR)
> >
> > Configuring LIBERIO support...
> > Dependency ENABLE_LIBUHD = ON
> > Dependency LIBERIO_FOUND = FALSE
> > Disabling LIBERIO support.
> > Override with -DENABLE_LIBERIO=ON/OFF
> >
> > Configuring USB support...
> > Dependency ENABLE_LIBUHD = ON
> > Dependency LIBUSB_FOUND = FALSE
> > Disabling USB support.
> > Override with -DENABLE_USB=ON/OFF
> >
> > Configuring GPSD support...
> > Dependency ENABLE_LIBUHD = ON
> > Dependency ENABLE_GPSD =
> > Dependency LIBGPS_FOUND = FALSE
> > Disabling GPSD support.
> > Override with -DENABLE_GPSD=ON/OFF
> >
> > Configuring B100 support...
> > Dependency ENABLE_LIBUHD = ON
> > Dependency ENABLE_USB = OFF
> > Disabling B100 support.
> > Override with -DENABLE_B100=ON/OFF
> >
> > Configuring B200 support...
> > Dependency ENABLE_LIBUHD = ON
> > Dependency ENABLE_USB = OFF
> > Disabling B200 support.
> > Override with -DENABLE_B200=ON/OFF
> >
> > Configuring E300 support...
> > Dependency ENABLE_LIBUHD = ON
> > Disabling E300 support.
> > Override with -DENABLE_E300=ON/OFF
> >
> > Configuring USRP1 

Re: [USRP-users] UHD still errors after build installation

2018-12-16 Thread Marcus Müller via USRP-users
Hi Bernd,

I'm really not versed in the ways of Windows, but might it simply be
the case that the user you're currently running as simply has no
permissions to create files in C:\Program Files\?

Best regards,
Marcus

On Sun, 2018-12-16 at 16:12 +, Bernd Witzel via USRP-users wrote:
> To Sam Reiter  (I did not get the answer via email, i just saw it in
> the net.)
> 
> 
> I did not install now the Doxygen, but I get following errors now 
> 
> in cmake I got this,
> 
> when I compile it it is without error, when I install it with Build
> install I got one error, see file I have attached to the 
> email 
> 
> Configuring the python interpreter...
> Python interpreter: C:/Python27/python.exe
> Override with: -DPYTHON_EXECUTABLE=
> Python runtime interpreter: C:/Python27/python.exe
> Override with: -DRUNTIME_PYTHON_EXECUTABLE=
> CMake Warning at cmake/Modules/UHDVersion.cmake:65 (message):
> Could not detect git executable! Could not determine exact version of
> UHD!
> Call Stack (most recent call first):
> cmake/Modules/UHDPackage.cmake:9 (include)
> CMakeLists.txt:110 (include)
> 
> Using UHD Images Directory: C:\Program Files\UHD\share\uhd\images
> 
> Configuring Boost C++ Libraries...
> Looking for optional Boost components...
> Boost version: 1.68.0
> Found the following Boost libraries:
> Looking for required Boost components...
> Boost version: 1.68.0
> Boost include directories: C:/local/boost_1_68_0
> Boost library directories: C:/local/boost_1_68_0/lib64-msvc-14.1
> Boost libraries:
> 
> Python checking for Python version 2.7 or greater
> Python checking for Python version 2.7 or greater - found
> 
> Python checking for Mako templates 0.4.2 or greater
> Python checking for Mako templates 0.4.2 or greater - found
> 
> Python checking for requests 2.0 or greater
> Python checking for requests 2.0 or greater - "import requests"
> failed
> 
> Python checking for numpy 1.7 or greater
> Python checking for numpy 1.7 or greater - found
> 
> Configuring LibUHD support...
> Dependency Boost_FOUND = 1
> Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
> Dependency HAVE_PYTHON_MODULE_MAKO = TRUE
> Enabling LibUHD support.
> Override with -DENABLE_LIBUHD=ON/OFF
> 
> Configuring LibUHD - C API support...
> Dependency ENABLE_LIBUHD = ON
> Enabling LibUHD - C API support.
> Override with -DENABLE_C_API=ON/OFF
> 
> Configuring LibUHD - Python API support...
> Dependency ENABLE_LIBUHD = ON
> Dependency BOOST_PYTHON_FOUND =
> Dependency HAVE_PYTHON_MODULE_NUMPY = TRUE
> Dependency PythonLibs_FOUND = TRUE
> Disabling LibUHD - Python API support.
> Override with -DENABLE_PYTHON_API=ON/OFF
> 
> Configuring Examples support...
> Dependency ENABLE_LIBUHD = ON
> Enabling Examples support.
> Override with -DENABLE_EXAMPLES=ON/OFF
> 
> Configuring Utils support...
> Dependency ENABLE_LIBUHD = ON
> Enabling Utils support.
> Override with -DENABLE_UTILS=ON/OFF
> 
> Configuring Tests support...
> Dependency ENABLE_LIBUHD = ON
> Enabling Tests support.
> Override with -DENABLE_TESTS=ON/OFF
> 
> Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
> Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIRS)
> Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
> Could NOT find LIBGPS (missing: LIBGPS_LIBRARY LIBGPS_INCLUDE_DIR)
> Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
> Could NOT find LIBERIO (missing: LIBERIO_LIBRARY LIBERIO_INCLUDE_DIR)
> Could NOT find dpdk (missing: DPDK_INCLUDE_DIR)
> 
> Configuring LIBERIO support...
> Dependency ENABLE_LIBUHD = ON
> Dependency LIBERIO_FOUND = FALSE
> Disabling LIBERIO support.
> Override with -DENABLE_LIBERIO=ON/OFF
> 
> Configuring USB support...
> Dependency ENABLE_LIBUHD = ON
> Dependency LIBUSB_FOUND = FALSE
> Disabling USB support.
> Override with -DENABLE_USB=ON/OFF
> 
> Configuring GPSD support...
> Dependency ENABLE_LIBUHD = ON
> Dependency ENABLE_GPSD =
> Dependency LIBGPS_FOUND = FALSE
> Disabling GPSD support.
> Override with -DENABLE_GPSD=ON/OFF
> 
> Configuring B100 support...
> Dependency ENABLE_LIBUHD = ON
> Dependency ENABLE_USB = OFF
> Disabling B100 support.
> Override with -DENABLE_B100=ON/OFF
> 
> Configuring B200 support...
> Dependency ENABLE_LIBUHD = ON
> Dependency ENABLE_USB = OFF
> Disabling B200 support.
> Override with -DENABLE_B200=ON/OFF
> 
> Configuring E300 support...
> Dependency ENABLE_LIBUHD = ON
> Disabling E300 support.
> Override with -DENABLE_E300=ON/OFF
> 
> Configuring USRP1 support...
> Dependency ENABLE_LIBUHD = ON
> Dependency ENABLE_USB = OFF
> Disabling USRP1 support.
> Override with -DENABLE_USRP1=ON/OFF
> 
> Configuring USRP2 support...
> Dependency ENABLE_LIBUHD = ON
> Enabling USRP2 support.
> Override with -DENABLE_USRP2=ON/OFF
> 
> Configuring X300 support...
> Dependency ENABLE_LIBUHD = ON
> Enabling X300 support.
> Override with -DENABLE_X300=ON/OFF
> 
> Configuring N230 support...
> Dependency ENABLE_LIBUHD = ON
> Enabling N230 support.
> Override with -DENABLE_N230=ON/OFF
> 
> Configuring