discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with gr-modtool on Ubuntu 20.04 (gnuradio 3.10.4)


From: Cinaed Simson
Subject: Re: Problems with gr-modtool on Ubuntu 20.04 (gnuradio 3.10.4)
Date: Sat, 8 Oct 2022 16:28:55 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

Hi Michael - you really need to show where and how you're invoking cmake.

The first time you invoke cmake in the ./build directory it should be as
 
  cmake ..

so it can create the

   lib/CMakeLists.txt

which incidentally, it can't find.

Also, you should NOT be seeing this entry

   -- Using install prefix: /usr/local

the first time you invoke cmake.

Otherwise, my guess is you're just invoking cmake incorrectly.

If you have an alias for cmake try using

  \cmake ..

the first time you run cmake which will override the alias.

-- Cinaed


On 10/2/22 22:21, Michael Matthews wrote:

Hello,

 

I am new to gnuradio and have been going through the tutorials. I have been specifically interested in Creating C++  OOT with gr-modtool but I seem to be getting errors when trying to use cmake to create the make files.

 

My cmake errors are:

 

-- The CXX compiler identification is GNU 9.4.0

-- The C compiler identification is GNU 9.4.0

-- Check for working CXX compiler: /bin/c++

-- Check for working CXX compiler: /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: /bin/cc

-- Check for working C compiler: /bin/cc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Looking for pthread.h

-- Looking for pthread.h - found

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed

-- Looking for pthread_create in pthreads

-- Looking for pthread_create in pthreads - not found

-- Looking for pthread_create in pthread

-- Looking for pthread_create in pthread - found

-- Found Threads: TRUE 

-- Found PkgConfig: /bin/pkg-config (found version "0.29.1")

-- 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: /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 system regex thread unit_test_framework

-- Found Volk: Volk::volk 

-- 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")

-- Check if the system is big endian

-- Searching 16 bit integer

-- Looking for sys/types.h

-- Looking for sys/types.h - found

-- Looking for stdint.h

-- Looking for stdint.h - found

-- Looking for stddef.h

-- Looking for stddef.h - found

-- Check size of unsigned short

-- Check size of unsigned short - done

-- Using unsigned short

-- Check if the system is big endian - little endian

-- Performing Test HAVE_VISIBILITY_HIDDEN

-- Performing Test HAVE_VISIBILITY_HIDDEN - Success

-- Performing Test HAVE_WARN_SIGN_COMPARE

-- Performing Test HAVE_WARN_SIGN_COMPARE - Success

-- Performing Test HAVE_WARN_ALL

-- Performing Test HAVE_WARN_ALL - Success

-- Performing Test HAVE_WARN_NO_UNINITIALIZED

-- Performing Test HAVE_WARN_NO_UNINITIALIZED - Success

-- Found Git: /bin/git 

-- Found Doxygen: /usr/local/bin/doxygen (found version "1.9.5 (2f6875a5ca481a69a6f32650c77a667f87d25e88)") found components: doxygen missing components: dot

-- Using install prefix: /usr/local

-- Building for version: 1.0.0.0 / 1.0.0

-- No C++ unit tests... skipping

-- 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 in lib/CMakeLists.txt:

  Imported target "gnuradio::gnuradio-runtime" includes non-existent path

 

    "/include"

 

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

 

  * The path was deleted, renamed, or moved to another location.

 

  * An install or uninstall procedure did not complete successfully.

 

  * The installation package was faulty and references files it does not

  provide.

 

 

 

CMake Error in lib/CMakeLists.txt:

  Imported target "gnuradio::gnuradio-runtime" includes non-existent path

 

    "/include"

 

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

 

  * The path was deleted, renamed, or moved to another location.

 

  * An install or uninstall procedure did not complete successfully.

 

  * The installation package was faulty and references files it does not

  provide.

 

 

 

CMake Error in python/customModule/bindings/CMakeLists.txt:

  Imported target "Boost::date_time" includes non-existent path

 

    "/include"

 

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

 

  * The path was deleted, renamed, or moved to another location.

 

  * An install or uninstall procedure did not complete successfully.

 

  * The installation package was faulty and references files it does not

  provide.

 

 

 

CMake Error in python/customModule/bindings/CMakeLists.txt:

  Imported target "Boost::date_time" includes non-existent path

 

    "/include"

 

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

 

  * The path was deleted, renamed, or moved to another location.

 

  * An install or uninstall procedure did not complete successfully.

 

  * The installation package was faulty and references files it does not

  provide.

 

 

 

-- Generating done

CMake Generate step failed.  Build files cannot be regenerated correctly.

 

Has anyone else had this issue before? I have tried uninstalling and reinstalling using apt, following the instructions from the wiki, but I am unsure where to go from there.  Any help solving this would be greatly appreciated!

 

Thank you,

Michael Matthews
Graduate Software Engineer
Mobile: +1 847 714 4809


Micro-X

855 South 192nd St, Suite 600
SeaTac, WA, 98148, United States
www.micro-x.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]