Evrytania / LTE-Cell-Scanner

LTE SDR cell scanner optimized to work with very low performance RF front ends (8bit A/D, 20dB noise figure)
GNU Affero General Public License v3.0
584 stars 356 forks source link

Issue installing LTE-CELL-SCANNER #15

Open indiggg opened 9 years ago

indiggg commented 9 years ago

Hi, I can't install LTE-CELL-SCANNER, so, could you help me? this is the log and I've already installed the itpp library...

root@CloudNav-PC:/home/LTE-Cell-Scanner/build# cmake .. -- Boost version: 1.55.0 -- Found the following Boost libraries: -- thread -- system CMake Error at cmake/Modules/FindITPP.cmake:62 (MESSAGE): Could not find ITPP library Call Stack (most recent call first): CMakeLists.txt:27 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred! See also "/home/LTE-Cell-Scanner/build/CMakeFiles/CMakeOutput.log". root@CloudNav-PC:/home/LTE-Cell-Scanner/build# aptitude search itpp i libitpp-dev - C++ library of signal processing and communication routines: Headers
pi libitpp-doc - C++ library of signal processing and communication routines: Documentation
i A libitpp8 - C++ library of signal processing and communication routines
pi libitpp8-dbg - C++ library of signal processing and communication routines: Debug symbols
root@CloudNav-PC:/home/LTE-Cell-Scanner/build#

Could anyone help me? Thanks,

seahorse41 commented 8 years ago

I'm probably late to the game, but others will have the same error message. The problem with not finding ITPP even though it is installed, can be fixed thusly:

  1. Searching the package manager sometimes fails to find it because it is also known as it++
  2. The default location for installing in debian,ubuntu,mint etc for 32 bit systems is not listed in the cmake files in this project. Easy fix: edit the following 3 files, and add the next line to the FIND_LIBRARY section,

cmake/Modules/FindITPP.cmake /usr/lib/i386-linux-gnu

cmake/Modules/FindFFTW.cmake /usr/lib/i386-linux-gnu

cmake/Modules/FindRTLSDR.cmake /usr/lib/i386-linux-gnu

I put the added line right before the x86_64 line. Editing the 2nd and 3rd files also fixes the errors finding FFTW and RTLSDR, since the problem is the same cause.

lucasduffey commented 8 years ago

find directory to include.....

cd /usr/lib && find. | grep -i itpp

files to modify

cmake/Modules/FindITPP.cmake /usr/lib/x86_64-linux-gnu/ # what I had to add

cmake/Modules/FindRTLSDR.cmake /usr/lib/x86_64-linux-gnu

dependencies

sudo apt install libblas-dev librtlsdr-dev libncurses5-dev libitpp-dev -y