Re: PlutoSDR & Mac - iio block issues??

2019-11-15 Thread Michael Dickens
Hi Glen - Yes, all of this can be fixed in the "cmake .." step. That's what we do in MacPorts to get all of the files installed in the correct locations (using CMAKE_INSTALL_PREFIX=/opt/local by default; but also using other cmake variables to set other install locations to be not the default too,

Re: PlutoSDR & Mac - iio block issues??

2019-11-15 Thread Glen I Langston
Thanks I’ll try that in the future. However I’m not sure why this is an issue in the first place. It should be fixable at the cmake step. Looking at the link provided in an earlier email, it seems like part of the problem is the different uses of site-packages and dist-packages. Can that be

Re: PlutoSDR & Mac - iio block issues??

2019-11-15 Thread Michael Dickens
One final reply: You used MacPorts to install GNU Radio ... so why not use it to install all of the IIO stuff? "port search iio" should come back with: {{{ gr-iio @20190725-9088ac79_1 (science, comms) Provides augmented functionality for GNU Radio: IIO device source libad9361-iio @20190910

Re: PlutoSDR & Mac - iio block issues??

2019-11-15 Thread Michael Dickens
I -strongly- recommend against setting the CMAKE_INSTALL_PREFIX to a system directory such as /usr when you are building from source (not using a package manager)! You never know what you're going to overwrite from the system itself, which can cause library loading breakage. When installing

Re: PlutoSDR & Mac - iio block issues??

2019-11-15 Thread Michael Dickens
You need to set {{{ PYTHONPATH=/usr/local/lib/python2.7/site-packages/:$PYTHONPATH }}} to get access to gr-iio. On Fri, Nov 15, 2019 at 8:17 AM Kevin Wheatley wrote: > New here and new to gnuRadio... > > I'm attempting to get plutoSDR up and running on a Mac, I've installed > gunradio and

Re: PlutoSDR & Mac - iio block issues??

2019-11-15 Thread Emmanuel Blot
Hi Kevin, See also https://github.com/gnuradio/gnuradio/pull/2781 Emmanuel On 15 Nov 2019, at 14:41, Glen I Langston wrote: Hi Kevin, I’ve run into this too. The instructions tell you the solution after the build commands change the “cmake” line to cmake -DCMAKE_INSTALL_PREFIX=/usr . and

Re: PlutoSDR & Mac - iio block issues??

2019-11-15 Thread Glen I Langston
Hi Kevin, I’ve run into this too. The instructions tell you the solution after the build commands change the “cmake” line to cmake -DCMAKE_INSTALL_PREFIX=/usr . and rebuild all and do the copy step they suggest on site

PlutoSDR & Mac - iio block issues??

2019-11-15 Thread Kevin Wheatley
New here and new to gnuRadio... I'm attempting to get plutoSDR up and running on a Mac, I've installed gunradio and dependencies, I've also downloaded and built libiio, ibad9361-iio and gr-iio. Following this I've moved the block files across to the working directory. Running gnuradio-companion I