Skip to content
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 boost173 #87

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Conversation

trabucayre
Copy link

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 F. Collins <[email protected]>
Fix grc install destination because GRC_BLOCKS_DIR is no longer
defined in the top-level CMakeLists.txt.

Signed-off-by: En Shih <[email protected]>
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 <[email protected]>
CMakeLists.txt: Changed the destination directory of the include files
Remove extraneous parameters from Pluto sink/source callbacks
…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 <[email protected]>
runtime errors when properties were tuned. This was a typo introduced
when migrated xml blocks to yml.

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 analogdevicesinc#72

Signed-off-by: Travis F. Collins <[email protected]>
…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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
@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