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 <berndwit...@hotmail.com> 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 <sam.rei...@ettus.com> > *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 +0000, 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=<path-to-python> > > Python runtime interpreter: C:/Python27/python.exe > > Override with: -DRUNTIME_PYTHON_EXECUTABLE=<path-to-python> > > 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 MPMD support... > > Dependency ENABLE_LIBUHD = ON > > Enabling MPMD support. > > Override with -DENABLE_MPMD=ON/OFF > > > > Configuring N300 support... > > Dependency ENABLE_LIBUHD = ON > > Dependency ENABLE_MPMD = ON > > Enabling N300 support. > > Override with -DENABLE_N300=ON/OFF > > > > Configuring E320 support... > > Dependency ENABLE_LIBUHD = ON > > Dependency ENABLE_MPMD = ON > > Enabling E320 support. > > Override with -DENABLE_E320=ON/OFF > > > > Configuring OctoClock support... > > Dependency ENABLE_LIBUHD = ON > > Enabling OctoClock support. > > Override with -DENABLE_OCTOCLOCK=ON/OFF > > > > Configuring DPDK support... > > Dependency ENABLE_MPMD = ON > > Dependency DPDK_FOUND = FALSE > > Disabling DPDK support. > > Override with -DENABLE_DPDK=ON/OFF > > > > > > Could NOT find UDev (missing: UDEV_INCLUDE_DIR UDEV_LIBS) > > > > Configuring priority scheduling... > > Priority scheduling supported through windows SetThreadPriority. > > Setting thread names is not supported. > > > > Configuring high resolution timing... > > High resolution timing supported through QueryPerformanceCounter. > > > > Configuring module loading... > > Module loading supported through LoadLibrary. > > > > Processing NI-RIO FPGA LVBITX Bitstreams... > > Using x300.lvbitx_base for codegen > > Using x310.lvbitx_base for codegen > > > > Configuring interface address discovery... > > Interface address discovery supported through SIO_GET_INTERFACE_LIST. > > > > Loading build info. > > CMake Warning (dev) at lib/deps/rpclib/CMakeLists.txt:22 (elseif): > > Policy CMP0054 is not set: Only interpret if() arguments as variables > > or > > keywords when unquoted. Run "cmake --help-policy CMP0054" for policy > > details. Use the cmake_policy command to set the policy and suppress > > this > > warning. > > > > Quoted variables like "MSVC" will no longer be dereferenced when the > > policy > > is set to NEW. Since the policy is not set the OLD behavior will be > > used. > > This warning is for project developers. Use -Wno-dev to suppress it. > > Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) > > > > Adding X3x0 device test target > > Adding N3XX device test target > > CMake Warning (dev) in tests/devtest/CMakeLists.txt: > > A logical block opening on the line > > > > C:/Users/Bernd 2/uhd-master/host/tests/devtest/CMakeLists.txt:49 (if) > > > > closes on the line > > > > C:/Users/Bernd 2/uhd-master/host/tests/devtest/CMakeLists.txt:51 > > (endif) > > > > with mis-matching arguments. > > This warning is for project developers. Use -Wno-dev to suppress it. > > Adding E32x device test target > > > > Could NOT find UDev (missing: UDEV_INCLUDE_DIR UDEV_LIBS) > > CMake Warning at utils/CMakeLists.txt:123 (message): > > Python module `requests' not found -- uhd_images_downloader.py will > > not > > work without it. > > > > CMake Warning at utils/CMakeLists.txt:124 (message): > > You may be able to install this by running 'pip install requests' > > > > Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) > > > > Configuring Manual support... > > Dependency DOXYGEN_FOUND = YES > > Disabling Manual support. > > Override with -DENABLE_MANUAL=ON/OFF > > > > Configuring API/Doxygen support... > > Dependency DOXYGEN_FOUND = YES > > Disabling API/Doxygen support. > > Override with -DENABLE_DOXYGEN=ON/OFF > > Could NOT find GZip (missing: GZIP_EXECUTABLE) > > > > Configuring Man Pages support... > > Dependency GZIP_FOUND = FALSE > > Dependency NOT_WIN32 = > > Disabling Man Pages support. > > Override with -DENABLE_MAN_PAGES=ON/OFF > > > > ###################################################### > > # UHD enabled components > > ###################################################### > > * LibUHD > > * LibUHD - C API > > * Examples > > * Utils > > * Tests > > * USRP2 > > * X300 > > * N230 > > * MPMD > > * N300 > > * E320 > > * OctoClock > > > > ###################################################### > > # UHD disabled components > > ###################################################### > > * LibUHD - Python API > > * LIBERIO > > * USB > > * GPSD > > * B100 > > * B200 > > * E300 > > * USRP1 > > * DPDK > > * Manual > > * API/Doxygen > > * Man Pages > > > > ****************************************************** > > * You are building a development branch of UHD. > > * These branches are designed to provide early access > > * to UHD and USRP features, but should be considered > > * unstable and/or experimental! > > ****************************************************** > > Building version: 3.14.0.0-0-unknown > > Using install prefix: C:/Program Files/UHD > > Configuring done > > Generating done > > > > _______________________________________________ > > USRP-users mailing list > > USRP-users@lists.ettus.com > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > >
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com