Closed shreejithshanker closed 2 years ago
I think you are using the upstream gkdatabox which does not function with the current IIO-Scope.
Can you build as follows:
git clone -b fix-gtk-upgrade https://github.com/tfcollins/homebrew-formulae.git
cd homebrew-formulae
brew install --verbose --build-from-source ./gtkdatabox-prev1.rb
# if necessary: brew link --overwrite gtkdatabox-prev1
brew install --verbose --build-from-source ./iio-oscilloscope.rb
Thanks, Travis. That makes sense, let me try this and get back to you.
Hi Travis,
It worked! Had to add HOMEBREW_NO_AUTO_UPDATE=1
as a prefix since otherwise, brew automatically overwrites the formulae with the latest one. Also had to link it explicitly using the brew link
.
On a side note, it does issue an error right at the start
Cask 'iio-oscilloscope' is unreadable: wrong constant name #<Class:0x00007fa8bb132c78>
I hope this is not something to be worries about.
Thanks for the help! .
I haven't seen this error. Are you just typing "osc" or some other command to launch IIO-Scope?
Hi Travis, This was while using brew install, but despite the error, it builds fine. I was wondering if it points to something.
Best, Shreejith
How would I do the same steps but for linux? I'm getting the same gtkdatabox error and I'm trying to rebuild from the old gtk file.
I think you are using the upstream gkdatabox which does not function with the current IIO-Scope.
Can you build as follows:
git clone -b fix-gtk-upgrade https://github.com/tfcollins/homebrew-formulae.git cd homebrew-formulae brew install --verbose --build-from-source ./gtkdatabox-prev1.rb # if necessary: brew link --overwrite gtkdatabox-prev1 brew install --verbose --build-from-source ./iio-oscilloscope.rb
@JoeyGlasserCS Linux isn't really supported. I would just build libgtkdatabox0_0.9.3.1-2 and libgtkdatabox-dev_0.9.3.1-2 from source or find pre-built packages for your OS
Hi, I have been trying to build iio on my macOS big Sur (11.6.2). I was following thread #5 to work around the gtkdatabox issue. I have manually installed gtkdatabox 0.9.3.1 and tried the 'fix-gtk-upgrade' branch. I am stuck at the following error.