-
Notifications
You must be signed in to change notification settings - Fork 7
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
Problem building gr_sdrplay3 #22
Comments
@sksail92 I think it might be helpful to show you my steps (more or less) so perhaps you can give it a try too:
I hope this helps, |
Hello Franco, In the end I needed to add a lot of information in the cmake call to make it work. cmake -DENABLE_PYTHON=1 -DCMAKE_BUILD_TYPE=Release Thanks again for Your help. My goal using gr-sdrplay3 with an sdrplay RspDx is to receive Navetx, Weatherfax and weather reports via RTTY on a boat. |
@sksail92 - I honestly am surprised that you had to add cmake options like To decode NAVTEX in GNU Radio you might find useful the GNU Radio OOT module Best of luck with your interesting project! |
Hello Franco,
I am trying to build gr_sdrplay3 on a Raspberry pi. It seems to be tricky as I do have to build almost everything from srcatch as the
packages I can download via APT are quite old.
Nevertheless afte a while I managed to build gnuradio (and a lot of dependencies boost gnuradio gr-osmosdr gr-sdrplay3 pybind11 pygccxml SoapySDR SoapySDRPlay spdlog volk) from the git repos.
Only gr-sdrplay3 throws errors during Cmake and I have no idea why. The build process seems to be quite complicated and
I have no Idea where to start.
Maybe You are able to give some hints.
Kind regards
Harald
I do get the following error messages running "cmake .." from the build directory:
...
-- Configuring done
CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:165 (add_library):
Target "sdrplay3_python" links to target "Python::Module" 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:260 (pybind11_add_module)
python/bindings/CMakeLists.txt:32 (GR_PYBIND_MAKE_OOT)
CMake Error at /usr/local/share/cmake/pybind11/pybind11Tools.cmake:165 (add_library):
Target "sdrplay3_python" links to target "Python::Module" 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:260 (pybind11_add_module)
python/bindings/CMakeLists.txt:32 (GR_PYBIND_MAKE_OOT)
CMake Error at lib/CMakeLists.txt:42 (add_library):
Target "gnuradio-sdrplay3" links to target "Python::Module" 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:42 (add_library):
Target "gnuradio-sdrplay3" links to target "Python::Module" 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._
The text was updated successfully, but these errors were encountered: