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

macOS 14 libiio support #1219

Closed
alikarb opened this issue Dec 7, 2024 · 7 comments
Closed

macOS 14 libiio support #1219

alikarb opened this issue Dec 7, 2024 · 7 comments

Comments

@alikarb
Copy link

alikarb commented Dec 7, 2024

Hi, is libiio supported on macOS 14? I'm trying to get libiio installed so I can talk to PLUTO sdr through python. I'm getting errors about symbol not found. I think it is related to libiio installation

@tfcollins
Copy link
Contributor

Existing Pkg's should work on 14. If you have an issue please post the full error and versions of library used

@alikarb
Copy link
Author

alikarb commented Dec 8, 2024

which pkg file should I be downloading? I'm referencing the release page in the git repo linked below but dont see macos 14 listed? I've also tried to build and install libiio from the source but regardless of what I do, I get an error
that libiio package is not found. I've attached an odt file with my terminal output

https://github.com/analogdevicesinc/libiio/releases/tag/v0.26

libiio_install.odt

@tfcollins
Copy link
Contributor

Try the macos13 for your systems architecture. Your attached file or link to it is broken

@alikarb
Copy link
Author

alikarb commented Dec 11, 2024

Here is the attached file again from the original response.
libiio.txt

I've tried installing macos13 arm pkg file (chip on macbook is m3 pro which I believe is ARM64). I dont think this worked and the reason being is once the installation is complete, I opened a new terminal session and typed 'iio_info' to see if anything shows up. I get the same error that the command is not found. Exact error message is "zsh: command not found: iio_info".

Do I need to add the install path to ~/.zshrc? if so, how can I find the install path?

@tfcollins
Copy link
Contributor

CLI Tools are available in /Library/Frameworks/iio.framework/Tools . That needs to be on your path or you need to run the tools from their.

For your build disable the python bindings and restart. I would also assume you want libiio v1 based on your build and have read the README.

@alikarb
Copy link
Author

alikarb commented Dec 12, 2024

I dont have a Frameworks folder under /Library. At what point should that show up?

I'm not attached to a specific version. My end goal is to be able to communicate with my ADALM Pluto via python (specifically python 3.12) so whichever version is easiest to achieve that end goal is easiest for me.

@alikarb
Copy link
Author

alikarb commented Dec 14, 2024

so fortunately my macbook is relatively new and I did not have much installed on here. I decided to do a factory reset and start this install from scratch by directly downloading the .pkg instead of building from source files. I am now able to see devices using CLI tools and communicate with them via python library. Thanks for the help!

@alikarb alikarb closed this as completed Dec 14, 2024
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

2 participants