discuss-gnuradio
[Top][All Lists]
Advanced

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

C++ OOT module porting from 3.8 to 3.10 cmake error


From: Guillermo Lena
Subject: C++ OOT module porting from 3.8 to 3.10 cmake error
Date: Thu, 16 Feb 2023 10:39:05 +0000

Hello,

I have a OOT module in GNU Radio 3.8 I need to port to 3.10. In order to do that I thought I would just create a new module from my Ubuntu 22.04, where I have successfully installed GNU Radio 3.10 using gr-modtool. I have followed the C++ OOT module tutorial from the GNURadio wiki (https://wiki.gnuradio.org/index.php?title=Creating_C%2B%2B_OOT_with_gr-modtool). That way I created a new module with all the new folders and files where I copied the corresponding code from the block.h, block_impl.cc, block_impl.h and block.yml from 3.8 module. Then when I jump into the building step, after I do the cmake .. inside the build folder, I get the following output error:

-- The CXX compiler identification is GNU 11.3.0
-- The C compiler identification is GNU 11.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-11 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-11 - skipped
-- 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 - Success
-- Found Threads: TRUE  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'gmp'
--   Found gmp, version 6.2.1
-- 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.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.74.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.10.6")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so (found suitable exact version "3.10.6")
-- 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: /usr/bin/git  
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Using install prefix: /usr/local
-- Building for version: 1.0.0.0 / 1.0.0
-- No C++ unit tests... skipping
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- PYTHON and GRC components are enabled
-- Python checking for pygccxml - found
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found pybind11: /usr/include (found version "2.9.1")
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GrPybind.cmake:238 (message):
  Python bindings for csp_zmqhub_pdu.h are out of sync
Call Stack (most recent call first):
  python/satmisc/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT)


-- Configuring incomplete, errors occurred!
See also "/home/gnuradio/persistent-folder/gr-satmisc/build/CMakeFiles/CMakeOutput.log".

I belive this has nothing to do with the actual code that goes inside the block itself (at least not yet), but of course I could be wrong.

Any tips on how to approach this?

Thanks.

Guillermo

reply via email to

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