安装inspectrum:
git clone https://github.com/miek/inspectrum.git
sudo apt-get install qt5-default libfftw3-dev cmake pkg-config
cd inspectrum
mkdir build
cd build
cmake ..
make
sudo make install
若cmake时出错:
-- The CXX compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'fftw3f'
-- Found fftw3f,version 3.3.4
-- Could NOT find LIQUID (missing: LIQUID_LIBRARIES LIQUID_INCLUDES)
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:
LIQUID_INCLUDES
used as include directory in directory /home/ph/prefix/inspectrum
used as include directory in directory /home/ph/prefix/inspectrum
used as include directory in directory /home/ph/prefix/inspectrum
used as include directory in directory /home/ph/prefix/inspectrum
used as include directory in directory /home/ph/prefix/inspectrum
used as include directory in directory /home/ph/prefix/inspectrum
used as include directory in directory /home/ph/prefix/inspectrum
used as include directory in directory /home/ph/prefix/inspectrum
used as include directory in directory /home/ph/prefix/inspectrum
LIQUID_LIBRARIES
linked by target "inspectrum" in directory /home/ph/prefix/inspectrum
-- Configuring incomplete,errors occurred!
See also "/home/ph/prefix/inspectrum/build/CMakeFiles/CMakeOutput.log".
解决方法:需要先编译安装liquid-dsp
git clone git://github.com/jgaeddert/liquid-dsp.git
cd liquid-dsp
./bootstrap.sh
./configure
make
sudo make install