Hi,
I just installed a new Ubuntu 22.04 LTS system and tried to build UHD from
source.  I successfully built UHD and installed (to a different install
prefix in my home folder, ~/uhd/UHD-4.2/). But, when I tried to build my
own OOT stuff, I got lots of cmake errors related to INCLUDE dirs
NOTFOUND.  Then, I tried to build the un-modified Etttus rfnoc-example by
adding a build folder (in-tree) and running cmake. I encountered the same
errors. Any ideas?
Rob


rkossler@rkossler-Precision-3561:~/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/build$
cmake ../ -DUHD_FPGA_DIR=~/uhd/UHD-4.2/uhd/fpga
-DUHD_DIR=~/uhd/UHD-4.2/lib/cmake/uhd
-- Found bash interpreter: /usr/bin/bash
-- Found UHD:
--  * INCLUDES = UHD_INCLUDE_DIRS-NOTFOUND
--  * LIBS = UHD_LIBRARIES-NOTFOUND
-- Checking FPGA source directory...
-- Using FPGA source directory: /home/rkossler/uhd/UHD-4.2/uhd/fpga
-- Registering RFNoC block: rfnoc_block_gain
-- Adding testbench target: rfnoc_block_gain_tb
-- Found Boost:
/usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found
suitable version "1.74.0", minimum required is "1.65") found components:
program_options system
-- Configuring done
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:
UHD_INCLUDE_DIRS
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/blocks
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/blocks
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/blocks
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/blocks
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/blocks
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/blocks
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga/rfnoc_block_gain
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga/rfnoc_block_gain
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga/rfnoc_block_gain
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga/rfnoc_block_gain
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga/rfnoc_block_gain
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga/rfnoc_block_gain
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/fpga/rfnoc_block_gain
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/icores
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/icores
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/icores
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/icores
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/icores
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/icores
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/include/rfnoc/example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/include/rfnoc/example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/include/rfnoc/example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/include/rfnoc/example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/include/rfnoc/example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/include/rfnoc/example
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/apps
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/apps
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/apps
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/apps
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/apps
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/apps
   used as include directory in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/apps
UHD_LIBRARIES
    linked by target "rfnoc-example" in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/lib
    linked by target "init_gain_block" in directory
/home/rkossler/uhd/UHD-4.2/uhd/host/examples/rfnoc-example/apps

CMake Error in lib/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "rfnoc-example":

    "UHD_INCLUDE_DIRS-NOTFOUND"



CMake Error in apps/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "init_gain_block":

    "UHD_INCLUDE_DIRS-NOTFOUND"



-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to