-
Notifications
You must be signed in to change notification settings - Fork 145
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
cmake build fails on OSX #360
Comments
The recommended way is to use homebrew: https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope?rev=1643067915#macos |
Okay,
that fails too - I have two versions of libiio installed - and the fomula, even if I modify the dependency to specify the tfcollins/formulae/libiio fails
—
$ brew install --build-from-source ./iio-oscilloscope.rb
Error: Failed to load cask: ./iio-oscilloscope.rb
Cask 'iio-oscilloscope' is unreadable: wrong constant name #<Class:0x00007fc760134b68>
Warning: Treating ./iio-oscilloscope.rb as a formula.
Error: Formulae found in multiple taps:
* tfcollins/formulae/libiio
* pothosware/pothos/libiio
Please use the fully-qualified name (e.g. tfcollins/formulae/libiio) to refer to the formula.
$ brew info tfcollins/formulae/libiio
tfcollins/formulae/libiio: stable 0.21, HEAD
Library for interfacing with local and remote Linux IIO devices
https://analogdevicesinc.github.io/libiio/
/usr/local/Cellar/libiio/0.15 (138 files, 1.9MB) *
Built from source on 2022-01-23 at 22:22:46
/usr/local/Cellar/libiio/0.21 (25 files, 670.5KB)
Built from source on 2022-01-23 at 22:21:35
From: https://github.com/tfcollins/homebrew-formulae/blob/HEAD/libiio.rb
License: LGPL-2.1
==> Dependencies
Build: cmake ✔
Required: libserialport ✔, libusb ✔
==> Options
--HEAD
Install HEAD version
$ brew info pothosware/pothos/libiio
pothosware/pothos/libiio: stable 0.15, HEAD
Library for interfacing with IIO devices.
https://wiki.analog.com/software/linux/docs/iio/iio
/usr/local/Cellar/libiio/0.15 (138 files, 1.9MB) *
Built from source on 2022-01-23 at 22:22:46
/usr/local/Cellar/libiio/0.21 (25 files, 670.5KB)
Built from source on 2022-01-23 at 22:21:35
From: https://github.com/pothosware/homebrew-pothos/blob/HEAD/libiio.rb
==> Dependencies
Build: cmake ✔, ninja ✔
==> Options
--HEAD
Install HEAD version
… On Jan 24, 2022, at 6:46 PM, Travis F. Collins ***@***.***> wrote:
The recommended way is to use homebrew: https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope?rev=1643067915#macos <https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope?rev=1643067915#macos>
—
Reply to this email directly, view it on GitHub <#360 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABB2J6BNJZAVANWC6PRV3ODUXXQENANCNFSM5MWNFBUA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.
|
Remove the pothos variant and retry. |
removed - however, that too fails as the tap shows the availability of a libiio formula. you can’t remove every formula on the pothos tap…
… On Jan 24, 2022, at 7:32 PM, Travis F. Collins ***@***.***> wrote:
Remove the pothos variant and retry.
—
Reply to this email directly, view it on GitHub <#360 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABB2J6G2FOKDC5VYSAVW3YLUXXVRFANCNFSM5MWNFBUA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.
|
Please provide the error. |
It’s the same error with or without the libiio installed:
$ brew install --build-from-source ./iio-oscilloscope.rb
Error: Failed to load cask: ./iio-oscilloscope.rb
Cask 'iio-oscilloscope' is unreadable: wrong constant name #<Class:0x00007fc760134b68>
Warning: Treating ./iio-oscilloscope.rb as a formula.
Error: Formulae found in multiple taps:
* tfcollins/formulae/libiio
* pothosware/pothos/libiio
Please use the fully-qualified name (e.g. tfcollins/formulae/libiio) to refer to the formula.
… On Jan 24, 2022, at 8:09 PM, Travis F. Collins ***@***.***> wrote:
Please provide the error.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.
|
In fact, this issue persists for other brews - I can’t install gr-iio for the same reason
you need to disambiguate the conflict so one can use the soapysdr pluto driver concurrently with the taps from tfcollins
… On Jan 24, 2022, at 8:09 PM, Travis F. Collins ***@***.***> wrote:
Please provide the error.
—
Reply to this email directly, view it on GitHub <#360 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABB2J6D22ZJBY53VQECIKW3UXXZ5BANCNFSM5MWNFBUA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.
|
In the mean time, I removed the tap, installed iio-oscilloscope, and ran it: there are issue with GTK version on OSX:
$ /usr/local/Cellar/iio-oscilloscope/0.11/bin/osc
objc[29523]: Class GdkQuartzView is implemented in both /usr/local/Cellar/gtk+3/3.24.30_1/lib/libgdk-3.0.dylib (0x10f9db128) and /usr/local/Cellar/gtk+/2.24.33/lib/libgdk-quartz-2.0.0.dylib (0x10cc57340). One of the two will be used. Which one is undefined.
objc[29523]: Class GtkQuartzStatusIcon is implemented in both /usr/local/Cellar/gtk+3/3.24.30_1/lib/libgtk-3.0.dylib (0x1106a8db0) and /usr/local/Cellar/gtk+/2.24.33/lib/libgtk-quartz-2.0.0.dylib (0x10d2b5b00). One of the two will be used. Which one is undefined.
objc[29523]: Class GtkClipboardOwner is implemented in both /usr/local/Cellar/gtk+3/3.24.30_1/lib/libgtk-3.0.dylib (0x1106a8d10) and /usr/local/Cellar/gtk+/2.24.33/lib/libgtk-quartz-2.0.0.dylib (0x10d2b5b50). One of the two will be used. Which one is undefined.
objc[29523]: Class GtkDragSourceOwner is implemented in both /usr/local/Cellar/gtk+3/3.24.30_1/lib/libgtk-3.0.dylib (0x1106a8d60) and /usr/local/Cellar/gtk+/2.24.33/lib/libgtk-quartz-2.0.0.dylib (0x10d2b5ba0). One of the two will be used. Which one is undefined.
objc[29523]: Class ResultReceiver is implemented in both /usr/local/Cellar/gtk+3/3.24.30_1/lib/libgtk-3.0.dylib (0x1106a8e28) and /usr/local/Cellar/gtk+/2.24.33/lib/libgtk-quartz-2.0.0.dylib (0x10d2b5c18). One of the two will be used. Which one is undefined.
(osc:29523): Gtk-ERROR **: 12:45:59.482: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
… On Jan 25, 2022, at 12:32 PM, Robert Baruch ***@***.***> wrote:
In fact, this issue persists for other brews - I can’t install gr-iio for the same reason
you need to disambiguate the conflict so one can use the soapysdr pluto driver concurrently with the taps from tfcollins
> On Jan 24, 2022, at 8:09 PM, Travis F. Collins ***@***.*** ***@***.***>> wrote:
>
>
> Please provide the error.
>
> —
> Reply to this email directly, view it on GitHub <#360 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABB2J6D22ZJBY53VQECIKW3UXXZ5BANCNFSM5MWNFBUA>.
> Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
> You are receiving this because you authored the thread.
>
|
also, is there any timeline on supporting gr-iio an gnuradio 3.9?
… On Jan 24, 2022, at 8:09 PM, Travis F. Collins ***@***.***> wrote:
Please provide the error.
—
Reply to this email directly, view it on GitHub <#360 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABB2J6D22ZJBY53VQECIKW3UXXZ5BANCNFSM5MWNFBUA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.
|
Based on how brew works if taps share the same formula name it will break all dependent packages that perform installs. You can only remove a tap to proceed. So the only option IMHO is to untap pothos and then reinstall with the tfcollins tap. v0.15 of libiio in the pothos repo is not really recommended since its missing certain features that may break IIO-Scope. |
Please ask that in a different thread as its unrelated to IIO-Scope development |
This is why there is a special gtk recipe in the IIO-Scope formulae. You cannot use the standard gtk2 databox package. |
Has anyone attempted to build this on OSX?
a few thoughts:
The text was updated successfully, but these errors were encountered: