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

Include missing in bladerf_common.h #8

Open
catkira opened this issue Apr 29, 2022 · 0 comments
Open

Include missing in bladerf_common.h #8

catkira opened this issue Apr 29, 2022 · 0 comments

Comments

@catkira
Copy link

catkira commented Apr 29, 2022

I got this error message when compiling

/mnt/d/git/gr-bladeRF/lib/bladerf/bladerf_common.h: In member function ‘T bladerf_common::get_pmic(bladerf_pmic_register)’:
/mnt/d/git/gr-bladeRF/lib/bladerf/bladerf_common.h:73:26: error: ‘str’ is not a member of ‘boost’
   73 |     BLADERF_THROW(boost::str(boost::format("%s: %s (%d)") % message

adding #include <boost/format.hpp> in bladerf_common.h fixed it. My boost version is 1.71.

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

No branches or pull requests

1 participant