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

dyld[4469]: Library not loaded: /usr/local/opt/hidapi/lib/libhidapi.0.dylib #21

Open
marcocrio opened this issue Jan 11, 2024 · 1 comment
Assignees

Comments

@marcocrio
Copy link

** Visual Studio Code version**

  • 1.85.1 (Universal)

** C/C++ Extension version**

  • 1.19.1

** Target microcontroller and evaluation platform**

  • [e.g. MAX32666]

Describe the bug

  • In macOS 14.2.1 hidapi is not installed on /usr/local/opt/hidapi/ but instead on /opt/homebrew/Cellar/hidapi
  • A symbolic link was able to solve the problem

To Reproduce
Steps to reproduce the behavior:

  1. Open a MaximSDK template for VS Code (or example folder)
  2. Setup target board
  3. run 'flash and run' task
  4. See error

Desktop (please complete the following information):

  • OS: macOS
  • Version 14.2.1
  • Chip M2
@Jake-Carter
Copy link
Collaborator

@marcocrio my understanding is that Homebrew should symlink into /usr/local/opt by default.

Does brew link hidapi have the same effect as your manual symlink?

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