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

BOOST_FOREACH compilation error within ~/lib/source_impl.cc and ~/lib/sink_impl.cc #5

Open
stevenlkinney opened this issue Jun 16, 2021 · 0 comments

Comments

@stevenlkinney
Copy link

Hello,

    I cloned the Nuand gr-osmosdr repo and followed the build steps, typical cmake, make -jx, make install... and the ~/lib/source_impl.cc and ~/lib/sink_impl.cc failed to compile when hitting the BOOST_FOREACH call, complained about an undefined function.  I noticed that neither file includes the <boost/foreach.hpp> file, editing these files to include boost/foreach.hpp corrected the compilation error and, after installation, the Nuand forked osmosdr library worked within gnuradio-companion; BTW, I am syncing two bladeRFs (A4 and A9) and capturing four RX channels for coherency testing. 

Not sure if there is another, more graceful workaround in cmake, but the following the README.md build procedure does not produce a successful compilation without making above described changes.

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