Post Go back to editing

iio-oscilloscope cmake error

Category: Software
Software Version: Raspian 64 bit

I am having difficulty building iio-oscilloscope from source on a raspberry pi 4 with the 64 bit OS.  Other builds on the 32 bit OS and Ubuntu have always worked fine. The closing stdout message is:

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

cmake seems to find all the required dependencies (configuration done). Then has trouble finding the AD9166 plugin.  Searching the repository, there is no sign of files for this device, so I cannot see how to correct this .

I enclose the full stdout information to help.

TIA Richard

pi@sdr11:~/iio-oscilloscope-master/build $ cmake ../
-- The C compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Git: /usr/bin/git (found version "2.30.2") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.66.8
-- Checking for module 'gtk+-2.0'
--   Found gtk+-2.0, version 2.24.33
-- Checking for module 'gthread-2.0'
--   Found gthread-2.0, version 2.66.8
-- Checking for module 'gtkdatabox'
--   Found gtkdatabox, version 0.9.3.1
-- Checking for module 'fftw3'
--   Found fftw3, version 3.3.8
-- Checking for module 'libxml-2.0'
--   Found libxml-2.0, version 2.9.10
-- Checking for module 'libcurl'
--   Found libcurl, version 7.74.0
-- Checking for module 'jansson'
--   Found jansson, version 2.13.1
-- Checking for module 'matio'
--   Found matio, version 1.5.19
-- 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:
/home/pi/iio-oscilloscope-master/LIBAD9166_INCLUDE_DIRS
   used as include directory in directory /home/pi/iio-oscilloscope-master
/home/pi/iio-oscilloscope-master/plugins/LIBAD9166_INCLUDE_DIRS
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
   used as include directory in directory /home/pi/iio-oscilloscope-master/plugins
LIBAD9166_LIBRARIES
    linked by target "osc" in directory /home/pi/iio-oscilloscope-master
    linked by target "cf_axi_tdd" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "adrv9002" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "fmcadc3" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "fmcomms6" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "ad6676" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "ad9371_adv" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "xmw" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "adrv9009_adv" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "lidar" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "fmcomms2_adv" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "fmcomms11" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "pr_config" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "fmcomms1" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "adrv9009" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "fmcomms5" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "cn0540" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "generic_dac" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "ad9371" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "scpi" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "ad9739a" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "AD5628_1" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "fmcomms2" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "spectrum_analyzer" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "daq2" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "dmm" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "AD7303" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "cn0357" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "cn0508" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "ad9081" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "cn0511" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "motor_control" in directory /home/pi/iio-oscilloscope-master/plugins
    linked by target "debug" in directory /home/pi/iio-oscilloscope-master/plugins

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
pi@sdr11:~/iio-oscilloscope-master/build $