Skip to content

Fix boost173 - #87

Open
trabucayre wants to merge 21 commits into
analogdevicesinc:masterfrom
trabucayre:fix_boost173
Open

Fix boost173#87
trabucayre wants to merge 21 commits into
analogdevicesinc:masterfrom
trabucayre:fix_boost173

Conversation

@trabucayre

Copy link
Copy Markdown

with boost 1.7.3, build fails with:

../../lib/attr_sink_impl.cc: In constructor 'gr::iio::attr_sink_impl::attr_sink_impl(const string&, const string&, const string&, int, bool, bool)':
../../lib/attr_sink_impl.cc:92:92: error: '_1' was not declared in this scope
   92 |       set_msg_handler(pmt::mp("attr"), boost::bind(&attr_sink_impl::write_attribute, this, _1));

This PR change _1 by the fully qualified namespace : boost::placeholders::_1

tfcollins and others added 21 commits May 17, 2019 17:51
Signed-off-by: Travis Collins <travis.collins@analog.com>
Signed-off-by: Travis F. Collins <travis.collins@analog.com>
Signed-off-by: Travis F. Collins <travis.collins@analog.com>
Fix grc install destination because GRC_BLOCKS_DIR is no longer
defined in the top-level CMakeLists.txt.

Signed-off-by: En Shih <seanstone5923@gmail.com>
When including gr-iio headers in an external app, you have to
#include <iio/iio/device_sync.h> while internal includes
refer to the same file using #include <iio/device_sync.h>
This commit changes the destination of the include files on make install
so the external app includes just <iio/device_sync.h>

Signed-off-by: Adrian Suciu <adrian.suciu@analog.com>
CMakeLists.txt: Changed the destination directory of the include files
Signed-off-by: Håkon Vågsether <haakonsv@gmail.com>
Remove extraneous parameters from Pluto sink/source callbacks
Signed-off-by: Travis F. Collins <travis.collins@analog.com>
…ttle

Add throttle flags for grc hardware based blocks
which this port is connected to only accepts type long in 3.8+. This fixes issue analogdevicesinc#70.

Signed-off-by: Travis F. Collins <travis.collins@analog.com>
runtime errors when properties were tuned. This was a typo introduced
when migrated xml blocks to yml.

Signed-off-by: Travis F. Collins <travis.collins@analog.com>
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 analogdevicesinc#72

Signed-off-by: Travis F. Collins <travis.collins@analog.com>
…date-3.8

Update cmake to handle gr3.8 and gr3.9
Update new yml install path for 3.8+

Signed-off-by: Travis F. Collins <travis.collins@analog.com>
On Arch Linux (python 3.8.0 + gnuradio 3.8.0.0-5) running gr-iio based flowgraph result in following error:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/iio/__init__.py", line 30, in <module>
    from .iio_swig import *
  File "/usr/lib/python3.8/site-packages/iio/iio_swig.py", line 13, in <module>
    from . import _iio_swig
ImportError: /usr/lib/libgnuradio-iio.so...: undefined symbol: _ZN5boost6chrono12steady_clock3nowEv

This pull request drops boost::chrono in favor of using std::chrono, which fixed the error.
Tested on desktop archlinux (x86_64) + on ADRV9361-Z7035.

Signed-off-by: Grzegorz Gajoch <gajoch@gmail.com>
The GR_LIBRARY_FOO function sets the target properties to LIBVER and
VERSION which are not defined inside gr-iio. Those versions represent the
GNURadio version (3.8.0). This leads to wrong library suffixes.

Signed-off-by: AlexandraTrifan <Alexandra.Trifan@analog.com>
@kerrynwood kerrynwood mentioned this pull request Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants