-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to fix CMake Error at cmake/Modules/FindITPP.cmake:62 (MESSAGE): Could not find ITPP library #28
Comments
Hey, I'm not sure if I should really write this here, but took me ages to figure out how to fix a similar problem with LAPACK missing - even after adding my own FindLAPACK.cmake file from: https://raw.githubusercontent.com/libigl/eigen/master/cmake/FindLAPACK.cmake and adding /lib/usr/x86_64-linux-gnu to the find path (and after having the same problems with ITPP) My fix was to run: Sorry if that seems obvious, but couldn't find it anywhere! |
It's just because you don't have the Itpp library, you can download it from and install itpp then it can work |
You need to patch cmake modules, at least on ubuntu 18.10
|
Or use "/usr/lib/arm-linux-gnueabihf" as a search path for use on Raspbian 👍 |
Worked for me. |
How? |
@solsticedhiver |
On ubuntu, the ittp and rtlsdr library are installed in the unusual place So the custom made cmake module provided by LTE-Cell-Scanner to find the previously mentionned library, fails, because it does not look in the right place (aka By applying a patch (this is the text displayed in my previous post), you fix that, by adding that directory so that cmake look there too. If you don't know about patch or how to patch, you can simply edit with an editor the files I am wondering why I was never notified of your comment. It is pure luck that I found it, because I came back here by chance. |
if compiling for linux VM in apple silicon you need to add the following: in the FIND_LIBRARY function of these files:
|
root@kali:
# git clone https://github.com/Evrytania/LTE-Cell-Scanner.git# cd LTE-Cell-ScannerCloning into 'LTE-Cell-Scanner'...
remote: Counting objects: 475, done.
remote: Total 475 (delta 0), reused 0 (delta 0), pack-reused 475
Receiving objects: 100% (475/475), 33.98 MiB | 2.36 MiB/s, done.
Resolving deltas: 100% (324/324), done.
root@kali:
root@kali:
/LTE-Cell-Scanner# mkdir build/LTE-Cell-Scanner# cd buildroot@kali:
root@kali:~/LTE-Cell-Scanner/build# cmake ..
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- 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 OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- thread
-- system
-- chrono
-- date_time
-- atomic
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 "/root/LTE-Cell-Scanner/build/CMakeFiles/CMakeOutput.log".
The text was updated successfully, but these errors were encountered: