-
Notifications
You must be signed in to change notification settings - Fork 61
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
Fix GNU Radio detection #72
Comments
… This also only adds the gr windows path for OS specific builds. Fixes #72 Signed-off-by: Travis F. Collins <[email protected]>
Thanks, |
Due to the existence of the ubuntu ppa's, development builds of gnuradio are becoming more common with the version 3.9. This updates cmake to handle 3.8 and 3.9 with some minor changes for windows includes. Fixes #72 Signed-off-by: Travis F. Collins <[email protected]>
Due to the existence of the ubuntu ppa's, development builds of gnuradio are becoming more common with the version 3.9. This updates cmake to handle 3.8 and 3.9 with some minor changes for windows includes. Fixes #72 Signed-off-by: Travis F. Collins <[email protected]>
Do you have boost chrono? |
Yes. It was installed at that time, but is neither checked for by cmake nor used for linking. In openSUSE, gnuradio 3.8 checks for those boost modules: date_time program_options filesystem system regex thread unit_test_framework. |
Let me load up a SUSE vm and check this out |
Try docker. |
Due to the existence of the ubuntu ppa's, development builds of gnuradio are becoming more common with the version 3.9. This updates cmake to handle 3.8 and 3.9 with some minor changes for windows includes. Fixes #72 Signed-off-by: Travis F. Collins <[email protected]>
Due to the existence of the ubuntu ppa's, development builds of gnuradio are becoming more common with the version 3.9. This updates cmake to handle 3.8 and 3.9 with some minor changes for windows includes. Fixes #72 Signed-off-by: Travis F. Collins <[email protected]>
In branch upgrade-3.8 (and fixes-3.8) the GNU Radio is searched twice, first time in line 86:
find_package(Gnuradio "3.8" REQUIRED)
and then in line 113:
find_package(Gnuradio COMPONENTS blocks analog volk pmt filter fft)
This triggers an error while building on openSUSE:
CMake Error at /usr/lib64/cmake/gnuradio/FindLOG4CPP.cmake:52 (add_library): add_library cannot create imported target "Log4Cpp::log4cpp" because another target with the same name already exists. Call Stack (most recent call first): /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/lib64/cmake/gnuradio/GnuradioConfig.cmake:25 (find_dependency) CMakeLists.txt:113 (find_package)
Please merge both lines to one (line 86):
find_package(Gnuradio "3.8" REQUIRED COMPONENTS blocks analog volk pmt filter fft)
Also, the line 114:
find_package(Gnuradio PATHS "c:/Program Files/gnuradio/lib/cmake/gnuradio" REQUIRED)
is Windows specific and does not help in Linux or Mac.
The text was updated successfully, but these errors were encountered: