You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On NixOS (linked issue: NixOS/nixpkgs#82263 (comment) ) we are having problems with how GR (3.8 and 3.9) detects Codec2.
With both GR3.8 and GR3.9, cmake seems to not find codec2 by it's own:
Configuring gr-vocoder support...
Dependency Boost_FOUND = TRUE
Dependency ENABLE_GNURADIO_RUNTIME = ON
Dependency ENABLE_GR_FFT = ON
Dependency ENABLE_GR_BLOCKS = ON
Dependency ENABLE_GR_FILTER = ON
Dependency ENABLE_GR_ANALOG = ON
Enabling gr-vocoder support.
Override with -DENABLE_GR_VOCODER=ON/OFF
Could NOT find Codec2 (missing: LIBCODEC2_INCLUDE_DIRS)
Could NOT find GSM (missing: LIBGSM_INCLUDE_DIRS)
Where codec2 has the following files in it's installation directory:
Could NOT find Codec2 (missing: LIBCODEC2_INCLUDE_DIRS)
Could NOT find GSM (missing: LIBGSM_INCLUDE_DIRS)
And GR 3.8 builds fine and reverse dependencies of GR 3.8 that need these features are compiled correctly and work fine - qradiolink for instance (see: qradiolink/qradiolink#67 ).
But, now with GR 3.9 Specifying or not specifying the cmake flags results in the same behavior, but in either case cmake fails after configuring everything else and it's errors are:
gnuradio> CMake Error at /nix/store/5d7dgha0nl6hixhszb9x5pfczpblch1a-python3.8-pybind11-2.6.1/share/cmake/pybind11/pybind11Tools.cmake:151 (add_library):
gnuradio> Target "vocoder_python" links to target "CODEC2::CODEC2" but the target was
gnuradio> not found. Perhaps a find_package() call is missing for an IMPORTED
gnuradio> target, or an ALIAS target is missing?
gnuradio> Call Stack (most recent call first):
gnuradio> cmake/Modules/GrPybind.cmake:120 (pybind11_add_module)
gnuradio> gr-vocoder/python/vocoder/bindings/CMakeLists.txt:44 (GR_PYBIND_MAKE_CHECK_HASH)
gnuradio> CMake Error at /nix/store/5d7dgha0nl6hixhszb9x5pfczpblch1a-python3.8-pybind11-2.6.1/share/cmake/pybind11/pybind11Tools.cmake:151 (add_library):
gnuradio> Target "vocoder_python" links to target "GSM::GSM" but the target was not
gnuradio> found. Perhaps a find_package() call is missing for an IMPORTED target, or
gnuradio> an ALIAS target is missing?
gnuradio> Call Stack (most recent call first):
gnuradio> cmake/Modules/GrPybind.cmake:120 (pybind11_add_module)
gnuradio> gr-vocoder/python/vocoder/bindings/CMakeLists.txt:44 (GR_PYBIND_MAKE_CHECK_HASH)
gnuradio> CMake Error at gr-vocoder/lib/CMakeLists.txt:11 (add_library):
gnuradio> Target "gnuradio-vocoder" links to target "CODEC2::CODEC2" but the target
gnuradio> was not found. Perhaps a find_package() call is missing for an IMPORTED
gnuradio> target, or an ALIAS target is missing?
gnuradio> CMake Error at gr-vocoder/lib/CMakeLists.txt:11 (add_library):
gnuradio> Target "gnuradio-vocoder" links to target "GSM::GSM" but the target was not
gnuradio> found. Perhaps a find_package() call is missing for an IMPORTED target, or
gnuradio> an ALIAS target is missing?
gnuradio> -- Generating done
It seems like the something with the switch to pybind from swig broke something.
The text was updated successfully, but these errors were encountered:
gnuradio> CMake Error at /nix/store/yikabla1qm5n1gmgak9hzqy7sbagl6cq-python3.8-pybind11-2.6.1/share/cma
e/pybind11/pybind11Tools.cmake:151 (add_library):
gnuradio> Target "vocoder_python" links to target "GSM::GSM" but the target was not
gnuradio> found. Perhaps a find_package() call is missing for an IMPORTED target, or
gnuradio> an ALIAS target is missing?
gnuradio> Call Stack (most recent call first):
gnuradio> cmake/Modules/GrPybind.cmake:120 (pybind11_add_module)
gnuradio> gr-vocoder/python/vocoder/bindings/CMakeLists.txt:44 (GR_PYBIND_MAKE_CHECK_HASH)
gnuradio> CMake Error at gr-vocoder/lib/CMakeLists.txt:11 (add_library):
gnuradio> Target "gnuradio-vocoder" links to target "GSM::GSM" but the target was not
gnuradio> found. Perhaps a find_package() call is missing for an IMPORTED target, or
gnuradio> an ALIAS target is missing?
gnuradio> -- Generating done
On NixOS (linked issue: NixOS/nixpkgs#82263 (comment) ) we are having problems with how GR (3.8 and 3.9) detects Codec2.
With both GR3.8 and GR3.9, cmake seems to not find codec2 by it's own:
Where codec2 has the following files in it's installation directory:
I.e it has the freedv api files, and indeed with 3.8 if I specify some Cmake files:
I don't see the lines:
And GR 3.8 builds fine and reverse dependencies of GR 3.8 that need these features are compiled correctly and work fine - qradiolink for instance (see: qradiolink/qradiolink#67 ).
But, now with GR 3.9 Specifying or not specifying the cmake flags results in the same behavior, but in either case cmake fails after configuring everything else and it's errors are:
It seems like the something with the switch to pybind from swig broke something.
The text was updated successfully, but these errors were encountered: