Skip to content
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

Cmake failure, sndfile missing, maint-3.9 (Ubuntu 20.04) #333

Closed
LightningBolt216 opened this issue Apr 6, 2022 · 0 comments
Closed

Cmake failure, sndfile missing, maint-3.9 (Ubuntu 20.04) #333

LightningBolt216 opened this issue Apr 6, 2022 · 0 comments

Comments

@LightningBolt216
Copy link

LightningBolt216 commented Apr 6, 2022

Having trouble getting the maint-3.9 version to work with GNU Radio 3.9.5. Need this version for to get the CSI information. GNU Radio was installed through apt-get (PPA). Seems like it is having trouble locating a library called sndfile. See output below.

Specifics:
OS: Ubuntu 20.04.1
Kernal: 5.13
GNURadio Version: 3.9.5.0 (Python 3.8.10)
CMake version: 3.16.3
gr-ieee802-11 version: maint-3.9

Cmake output:

    `Workstation:~/gr-ieee802-11$ git branch
      maint-3.8
    * maint-3.9
    Workstation:~/gr-ieee802-11$ mkdir build && cd build
    Workstation:~/gr-ieee802-11/build$ cmake ..
    -- The CXX compiler identification is GNU 9.4.0
    -- The C compiler identification is GNU 9.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
    -- 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
    -- Build type not specified: defaulting to release.
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
    -- Found Volk: Volk::volk  
    -- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so
    -- Checking for module 'gmp'
    --   Found gmp, version 6.2.0
    -- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so  
    -- Using GMP.
    -- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so  
    -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.71.0") found components: date_time program_options filesystem system regex thread unit_test_framework 
    -- User set python executable /usr/bin/python3
    -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") 
    -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable exact version "3.8.10") 
    -- Checking for module 'sndfile'
    --   No package 'sndfile' found
    -- Could NOT find SNDFILE (missing: SNDFILE_LIBRARIES SNDFILE_INCLUDE_DIRS) 
    -- Checking for module 'fftw3f >= 3.0'
    --   Found fftw3f , version 3.3.8
    -- Found FFTW3f: /usr/lib/x86_64-linux-gnu/libfftw3f.so  
    -- Found Git: /usr/bin/git  
    -- Extracting version information from git describe...
    -- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found components: doxygen missing components: dot
    -- Looking for xmmintrin.h
    -- Looking for xmmintrin.h - found
    -- Using install prefix: /usr/local
    -- Building for version: 0c0fca8e / 1.1.0git
    -- PYTHON and GRC components are enabled
    -- Python checking for pygccxml - found
    -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so
    -- Performing Test HAS_FLTO
    -- Performing Test HAS_FLTO - Success
    -- LTO enabled
    -- Configuring done
    CMake Error at /usr/lib/cmake/pybind11/pybind11Tools.cmake:131 (add_library):
      Target "ieee802_11_python" links to target "sndfile::sndfile" but the
      target was not found.  Perhaps a find_package() call is missing for an
      IMPORTED target, or an ALIAS target is missing?
    Call Stack (most recent call first):
      /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GrPybind.cmake:241 (pybind11_add_module)
      python/bindings/CMakeLists.txt:46 (GR_PYBIND_MAKE_OOT)
    
    
    CMake Error at /usr/lib/cmake/pybind11/pybind11Tools.cmake:131 (add_library):
      Target "ieee802_11_python" links to target "sndfile::sndfile" but the
      target was not found.  Perhaps a find_package() call is missing for an
      IMPORTED target, or an ALIAS target is missing?
    Call Stack (most recent call first):
      /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GrPybind.cmake:241 (pybind11_add_module)
      python/bindings/CMakeLists.txt:46 (GR_PYBIND_MAKE_OOT)
    
    
    CMake Error at lib/CMakeLists.txt:62 (add_library):
      Target "gnuradio-ieee802_11" links to target "sndfile::sndfile" but the
      target was not found.  Perhaps a find_package() call is missing for an
      IMPORTED target, or an ALIAS target is missing?
    
    
    CMake Error at lib/CMakeLists.txt:62 (add_library):
      Target "gnuradio-ieee802_11" links to target "sndfile::sndfile" but the
      target was not found.  Perhaps a find_package() call is missing for an
      IMPORTED target, or an ALIAS target is missing?
    
    
    -- Generating done
    CMake Generate step failed.  Build files cannot be regenerated correctly.`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant