usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Fwd: First time UHD build

KW
Kalen Williams
Fri, Oct 3, 2014 5:20 PM

I'm trying to build UHD for the first time to use with the Ettus USRP X310,
but I'm having issues with the Boost find function. Not sure what to do. I
found a forum comment online somewhere that recommended manually overriding
that function but I'd rather not do that.

Configuring the python interpreter...

Python interpreter: C:/Python26/python.exe

Override with: -DPYTHON_EXECUTABLE=<path-to-python>

Configuring Boost C++ Libraries...

CMake Error at C:/Program Files
(x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:683 (file):
file STRINGS file
"C:/Users/Matt/Desktop/UHD-Clone/uhd/host/Boost_INCLUDE_DIR=c:\local\boost_1_56_0/boost/version.hpp"
cannot be read.
Call Stack (most recent call first):
CMakeLists.txt:161 (FIND_PACKAGE)

Could NOT find Boost

Boost include directories: Boost_INCLUDE_DIR=c:\local\boost_1_56_0

Boost library directories:

Boost libraries:

Python checking for Python version 2.6 or greater

Python checking for Python version 2.6 or greater - found

Python checking for Cheetah templates 2.0.0 or greater

Python checking for Cheetah templates 2.0.0 or greater - found

Configuring LibUHD support...

Dependency Boost_FOUND = 0

Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE

Dependency HAVE_PYTHON_MODULE_CHEETAH = TRUE

Disabling LibUHD support.

Override with -DENABLE_LIBUHD=ON/OFF

Configuring Examples support...

Dependency ENABLE_LIBUHD = OFF

Disabling Examples support.

Override with -DENABLE_EXAMPLES=ON/OFF

Configuring Utils support...

Dependency ENABLE_LIBUHD = OFF

Disabling Utils support.

Override with -DENABLE_UTILS=ON/OFF

Configuring Tests support...

Dependency ENABLE_LIBUHD = OFF

Disabling Tests support.

Override with -DENABLE_TESTS=ON/OFF

Configuring Manual support...

Dependency DOXYGEN_FOUND = YES

Enabling Manual support.

Override with -DENABLE_MANUAL=ON/OFF

Configuring API/Doxygen support...

Dependency DOXYGEN_FOUND = YES

Enabling 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

######################################################

  • Manual

  • API/Doxygen

######################################################

UHD disabled components

######################################################

  • LibUHD

  • Examples

  • Utils

  • Tests

  • Man Pages

Building version: 003.007.002-87-gc3acbb87

Using install prefix: C:/Program Files/UHD

Compatible images can be downloaded from:
http://files.ettus.com/binaries/master_images/archive/uhd-images_003.007.002-440-gb290682b.zip

Configuring incomplete, errors occurred!

See also "C:/Users/Matt/Desktop/UHD-build/CMakeFiles/CMakeOutput.log".

I'm trying to build UHD for the first time to use with the Ettus USRP X310, but I'm having issues with the Boost find function. Not sure what to do. I found a forum comment online somewhere that recommended manually overriding that function but I'd rather not do that. Configuring the python interpreter... Python interpreter: C:/Python26/python.exe Override with: -DPYTHON_EXECUTABLE=<path-to-python> Configuring Boost C++ Libraries... CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:683 (file): file STRINGS file "C:/Users/Matt/Desktop/UHD-Clone/uhd/host/Boost_INCLUDE_DIR=c:\local\boost_1_56_0/boost/version.hpp" cannot be read. Call Stack (most recent call first): CMakeLists.txt:161 (FIND_PACKAGE) Could NOT find Boost Boost include directories: Boost_INCLUDE_DIR=c:\local\boost_1_56_0 Boost library directories: Boost libraries: Python checking for Python version 2.6 or greater Python checking for Python version 2.6 or greater - found Python checking for Cheetah templates 2.0.0 or greater Python checking for Cheetah templates 2.0.0 or greater - found Configuring LibUHD support... Dependency Boost_FOUND = 0 Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE Dependency HAVE_PYTHON_MODULE_CHEETAH = TRUE Disabling LibUHD support. Override with -DENABLE_LIBUHD=ON/OFF Configuring Examples support... Dependency ENABLE_LIBUHD = OFF Disabling Examples support. Override with -DENABLE_EXAMPLES=ON/OFF Configuring Utils support... Dependency ENABLE_LIBUHD = OFF Disabling Utils support. Override with -DENABLE_UTILS=ON/OFF Configuring Tests support... Dependency ENABLE_LIBUHD = OFF Disabling Tests support. Override with -DENABLE_TESTS=ON/OFF Configuring Manual support... Dependency DOXYGEN_FOUND = YES Enabling Manual support. Override with -DENABLE_MANUAL=ON/OFF Configuring API/Doxygen support... Dependency DOXYGEN_FOUND = YES Enabling 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 ###################################################### * Manual * API/Doxygen ###################################################### # UHD disabled components ###################################################### * LibUHD * Examples * Utils * Tests * Man Pages Building version: 003.007.002-87-gc3acbb87 Using install prefix: C:/Program Files/UHD Compatible images can be downloaded from: http://files.ettus.com/binaries/master_images/archive/uhd-images_003.007.002-440-gb290682b.zip Configuring incomplete, errors occurred! See also "C:/Users/Matt/Desktop/UHD-build/CMakeFiles/CMakeOutput.log".
MM
Marcus Müller
Wed, Oct 8, 2014 4:25 PM

Hi Kalen,

just an idea:
your Boost_INCLUDE_DIR uses backslashes, whereas the rest of the output
uses forward slashes; maybe that's what confuses CMake.
Could you share your complete Cmake call?

Greetings,
Marcus

On 03.10.2014 19:20, Kalen Williams via USRP-users wrote:

I'm trying to build UHD for the first time to use with the Ettus USRP X310,
but I'm having issues with the Boost find function. Not sure what to do. I
found a forum comment online somewhere that recommended manually overriding
that function but I'd rather not do that.

Configuring the python interpreter...

Python interpreter: C:/Python26/python.exe

Override with: -DPYTHON_EXECUTABLE=<path-to-python>

Configuring Boost C++ Libraries...

CMake Error at C:/Program Files
(x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:683 (file):
file STRINGS file
"C:/Users/Matt/Desktop/UHD-Clone/uhd/host/Boost_INCLUDE_DIR=c:\local\boost_1_56_0/boost/version.hpp"
cannot be read.
Call Stack (most recent call first):
CMakeLists.txt:161 (FIND_PACKAGE)

Could NOT find Boost

Boost include directories: Boost_INCLUDE_DIR=c:\local\boost_1_56_0

Boost library directories:

Boost libraries:

Python checking for Python version 2.6 or greater

Python checking for Python version 2.6 or greater - found

Python checking for Cheetah templates 2.0.0 or greater

Python checking for Cheetah templates 2.0.0 or greater - found

Configuring LibUHD support...

Dependency Boost_FOUND = 0

Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE

Dependency HAVE_PYTHON_MODULE_CHEETAH = TRUE

Disabling LibUHD support.

Override with -DENABLE_LIBUHD=ON/OFF

Configuring Examples support...

Dependency ENABLE_LIBUHD = OFF

Disabling Examples support.

Override with -DENABLE_EXAMPLES=ON/OFF

Configuring Utils support...

Dependency ENABLE_LIBUHD = OFF

Disabling Utils support.

Override with -DENABLE_UTILS=ON/OFF

Configuring Tests support...

Dependency ENABLE_LIBUHD = OFF

Disabling Tests support.

Override with -DENABLE_TESTS=ON/OFF

Configuring Manual support...

Dependency DOXYGEN_FOUND = YES

Enabling Manual support.

Override with -DENABLE_MANUAL=ON/OFF

Configuring API/Doxygen support...

Dependency DOXYGEN_FOUND = YES

Enabling 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

######################################################

  • Manual

  • API/Doxygen

######################################################

UHD disabled components

######################################################

  • LibUHD

  • Examples

  • Utils

  • Tests

  • Man Pages

Building version: 003.007.002-87-gc3acbb87

Using install prefix: C:/Program Files/UHD

Compatible images can be downloaded from:
http://files.ettus.com/binaries/master_images/archive/uhd-images_003.007.002-440-gb290682b.zip

Configuring incomplete, errors occurred!

See also "C:/Users/Matt/Desktop/UHD-build/CMakeFiles/CMakeOutput.log".


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hi Kalen, just an idea: your Boost_INCLUDE_DIR uses backslashes, whereas the rest of the output uses forward slashes; maybe that's what confuses CMake. Could you share your complete Cmake call? Greetings, Marcus On 03.10.2014 19:20, Kalen Williams via USRP-users wrote: > I'm trying to build UHD for the first time to use with the Ettus USRP X310, > but I'm having issues with the Boost find function. Not sure what to do. I > found a forum comment online somewhere that recommended manually overriding > that function but I'd rather not do that. > > Configuring the python interpreter... > > Python interpreter: C:/Python26/python.exe > > Override with: -DPYTHON_EXECUTABLE=<path-to-python> > > Configuring Boost C++ Libraries... > > CMake Error at C:/Program Files > (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:683 (file): > file STRINGS file > "C:/Users/Matt/Desktop/UHD-Clone/uhd/host/Boost_INCLUDE_DIR=c:\local\boost_1_56_0/boost/version.hpp" > cannot be read. > Call Stack (most recent call first): > CMakeLists.txt:161 (FIND_PACKAGE) > > Could NOT find Boost > > Boost include directories: Boost_INCLUDE_DIR=c:\local\boost_1_56_0 > > Boost library directories: > > Boost libraries: > > Python checking for Python version 2.6 or greater > > Python checking for Python version 2.6 or greater - found > > Python checking for Cheetah templates 2.0.0 or greater > > Python checking for Cheetah templates 2.0.0 or greater - found > > Configuring LibUHD support... > > Dependency Boost_FOUND = 0 > > Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE > > Dependency HAVE_PYTHON_MODULE_CHEETAH = TRUE > > Disabling LibUHD support. > > Override with -DENABLE_LIBUHD=ON/OFF > > Configuring Examples support... > > Dependency ENABLE_LIBUHD = OFF > > Disabling Examples support. > > Override with -DENABLE_EXAMPLES=ON/OFF > > Configuring Utils support... > > Dependency ENABLE_LIBUHD = OFF > > Disabling Utils support. > > Override with -DENABLE_UTILS=ON/OFF > > Configuring Tests support... > > Dependency ENABLE_LIBUHD = OFF > > Disabling Tests support. > > Override with -DENABLE_TESTS=ON/OFF > > Configuring Manual support... > > Dependency DOXYGEN_FOUND = YES > > Enabling Manual support. > > Override with -DENABLE_MANUAL=ON/OFF > > Configuring API/Doxygen support... > > Dependency DOXYGEN_FOUND = YES > > Enabling 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 > > ###################################################### > > * Manual > > * API/Doxygen > > ###################################################### > > # UHD disabled components > > ###################################################### > > * LibUHD > > * Examples > > * Utils > > * Tests > > * Man Pages > > Building version: 003.007.002-87-gc3acbb87 > > Using install prefix: C:/Program Files/UHD > > Compatible images can be downloaded from: > http://files.ettus.com/binaries/master_images/archive/uhd-images_003.007.002-440-gb290682b.zip > > Configuring incomplete, errors occurred! > > See also "C:/Users/Matt/Desktop/UHD-build/CMakeFiles/CMakeOutput.log". > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com