I'd suggest starting over with modtool. There are a number of directories in your code that should not be there (e.g., gnuradio-runtime, gr-fec, gr-fft, gr-blocks, ...). Something went wrong in the process of getting all this set up.
On Thu, Apr 22, 2021 at 7:45 PM Alvaro Pendas Recondo <apr...@gmail.com> wrote: > I've tried with no result. The full output is > > -- The CXX compiler identification is GNU 9.3.0 > -- The C compiler identification is GNU 9.3.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 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 > -- Checking for module 'mpir >= 3.0' > -- No package 'mpir' found > -- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY > MPIR_INCLUDE_DIR) > -- 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 > -- Found Volk: Volk::volk > -- User set python executable /usr/bin/python3 > -- Found PythonInterp: /usr/bin/python3 (found version "3.8.5") > -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found > suitable exact version "3.8.5") > -- Found Git: /usr/bin/git > -- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found > components: doxygen missing components: dot > -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so > -- Using install prefix: /usr/local > -- Building for version: v1.0-compat-xxx-xunknown / 1.0.0git > -- No C++ unit tests... skipping > -- PYTHON and GRC components are enabled > -- Python checking for pygccxml - found > -- Performing Test HAS_FLTO > -- Performing Test HAS_FLTO - Success > -- LTO enabled > -- Checking for module 'mpir >= 3.0' > -- No package 'mpir' found > -- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY > MPIR_INCLUDE_DIR) > -- Checking for module 'sndfile' > -- Found sndfile, version 1.0.28 > -- Found SNDFILE: /usr/lib/x86_64-linux-gnu/libsndfile.so > -- Checking for module 'fftw3f >= 3.0' > -- Found fftw3f , version 3.3.8 > -- Found FFTW3f: /usr/lib/x86_64-linux-gnu/libfftw3f.so > -- Configuring done > CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:131 > (add_library): > Target "TFMv3_python" links to target "gnuradio::gnuradio-digital" 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/local/lib/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module) > python/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT) > > > CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:131 > (add_library): > Target "TFMv3_python" links to target "gnuradio::gnuradio-analog" 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/local/lib/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module) > python/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT) > > > CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:131 > (add_library): > Target "TFMv3_python" links to target "gnuradio::gnuradio-blocks" 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/local/lib/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module) > python/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT) > > > CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:131 > (add_library): > Target "TFMv3_python" links to target "gnuradio::gnuradio-fft" 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/local/lib/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module) > python/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT) > > > CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:131 > (add_library): > Target "TFMv3_python" links to target "gnuradio::gnuradio-filter" 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/local/lib/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module) > python/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT) > > > CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:131 > (add_library): > Target "TFMv3_python" links to target "gnuradio::gnuradio-digital" 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/local/lib/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module) > python/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT) > > > CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:131 > (add_library): > Target "TFMv3_python" links to target "gnuradio::gnuradio-analog" 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/local/lib/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module) > python/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT) > > > CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:131 > (add_library): > Target "TFMv3_python" links to target "gnuradio::gnuradio-blocks" 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/local/lib/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module) > python/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT) > > > CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:131 > (add_library): > Target "TFMv3_python" links to target "gnuradio::gnuradio-fft" 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/local/lib/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module) > python/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT) > > > CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:131 > (add_library): > Target "TFMv3_python" links to target "gnuradio::gnuradio-filter" 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/local/lib/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module) > python/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT) > > > CMake Error at lib/CMakeLists.txt:26 (add_library): > Target "gnuradio-TFMv3" links to target "gnuradio::gnuradio-digital" 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:26 (add_library): > Target "gnuradio-TFMv3" links to target "gnuradio::gnuradio-analog" 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:26 (add_library): > Target "gnuradio-TFMv3" links to target "gnuradio::gnuradio-blocks" 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:26 (add_library): > Target "gnuradio-TFMv3" links to target "gnuradio::gnuradio-fft" 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:26 (add_library): > Target "gnuradio-TFMv3" links to target "gnuradio::gnuradio-filter" 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:26 (add_library): > Target "gnuradio-TFMv3" links to target "gnuradio::gnuradio-digital" 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:26 (add_library): > Target "gnuradio-TFMv3" links to target "gnuradio::gnuradio-analog" 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:26 (add_library): > Target "gnuradio-TFMv3" links to target "gnuradio::gnuradio-blocks" 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:26 (add_library): > Target "gnuradio-TFMv3" links to target "gnuradio::gnuradio-fft" 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:26 (add_library): > Target "gnuradio-TFMv3" links to target "gnuradio::gnuradio-filter" but > the > target was not found. Perhaps a find_package() call is missing for an > IMPORTED target, or an ALIAS target is missing? > > The source code is available here https://github.com/apruhd/gr-TFMv3 > > Thank you for your time, > > Álvaro > > El jue, 22 abr 2021 a las 18:30, Vasil Velichkov (<vvvelich...@gmail.com>) > escribió: > >> Hi Alvaro, >> >> On 22/04/2021 19.02, Alvaro Pendas Recondo wrote: >> > Thank you for your answer. Should not be Gnuradio "3.9" instead of >> "3.9"?. >> >> Yes, use the version you are developing for. >> >> > Anyway, I tried with both options and I got the same error: >> > >> > Target "TFMv3_python" links to target "gnuradio::gnuradio-digital" but >> the >> > target was not found. Perhaps a find_package() call is missing for an >> > IMPORTED target, or an ALIAS target is missing? >> >> Try deleting the build directory (or at least delete CMakeCache.txt >> file), re-run cmake again and provide the full output. >> >> Can you share the whole source code? As a github repo for example. >> >> Regards, >> Vasil >> >