On Wed, 14 Aug 2019 08:44:31 -0400
"Michael Dickens" <michael.dick...@ettus.com> wrote:
> Hi Jean Pierre & Kyeong - gr-osmosdr does not have an official port to GR3.8 
> as of yet. There are 3rd-party ports that might work, such as those from the 
> issue noted: https://osmocom.org/issues/3855 . See also:
> 
> https://github.com/igorauad/gr-osmosdr/tree/gr3.8
> https://github.com/mvaenskae/gr-osmosdr/tree/gr3.8
> https://github.com/igorauad/gr-osmosdr/tree/gr3.8
> 
> Hope this is useful! - MLD

To get the igograud's repository to link cleanly with boost-1.70.0 and
gnuradio-3.8.0.0, I had to add this patch to gr-osmosdr's cmake build
system, as gr-osmosdr links to functions in boost::chrono.  I have not
yet verified that gr-osmosdr actually works with gnuradio-3.8, but it
does at least compile and link.

There may well be a better way to do it in cmake: I neither like cmake,
nor know it especially well.

------------------------------------------------

diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 2171df2..9ba4592 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -52,6 +52,7 @@ endif()
 GR_OSMOSDR_APPEND_LIBS(
     ${Boost_LIBRARIES}
     gnuradio::gnuradio-blocks
+    boost_chrono
     ${GNURADIO_ALL_LIBRARIES}
 )
 

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to