analogdevicesinc / gr-iio

IIO blocks for GNU Radio
GNU General Public License v3.0
95 stars 62 forks source link

cmake not working #117

Open donatomolino opened 1 year ago

donatomolino commented 1 year ago

When I do cmake I ecounter an error

dtr@DTR:~/Documents/gr-iio$ cmake .
-- Build type not specified: defaulting to release.
-- Using GMP.
-- User set python executable /usr/bin/python3
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable exact version "3.8.10") 
-- Python checking for Thrift - found
-- Extracting version information from git describe...
-- 
-- Checking for module SWIG
-- Found SWIG version 4.0.1.
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found version "3.8.10") 
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:
AD9361_INCLUDE_DIRS
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
AD9361_LIBRARIES
    linked by target "gnuradio-iio" in directory /home/dtr/Documents/gr-iio/lib
IIO_INCLUDE_DIRS
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib
   used as include directory in directory /home/dtr/Documents/gr-iio/lib

-- Configuring incomplete, errors occurred!
See also "/home/dtr/Documents/gr-iio/CMakeFiles/CMakeOutput.log".
See also "/home/dtr/Documents/gr-iio/CMakeFiles/CMakeError.log".
tfcollins commented 1 year ago

You can see from CMake you are missing dependent libraries libad9361 and libiio. They need to be installed first