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

Porting on macos? #117

Open
kkkaktusss opened this issue Nov 1, 2024 · 0 comments
Open

Porting on macos? #117

kkkaktusss opened this issue Nov 1, 2024 · 0 comments

Comments

@kkkaktusss
Copy link

kkkaktusss commented Nov 1, 2024

I get started usbrelay-1.2.1. As I knew, problem of making file is absence option of "ln -sr libusbrelay.so.$(USBLIBVER) libusbrelay.so" "r"(recursive symlink) in macos ln. And because next task "usbrelay" is doesn't work. Output: cc -I/opt/homebrew/opt/lzo/include -I/opt/homebrew/opt/hidapi/include -I/opt/homebrew/opt/argp-standalone/include -O2 -Wall -I/opt/homebrew/opt/argp-standalone/include usbrelay.c -l:libusbrelay.so.1.1 -L/opt/homebrew/opt/lzo/lib -o usbrelay -L/opt/homebrew/opt/hidapi/lib -lhidapi -L/opt/homebrew/opt/argp-standalone/lib -largp
ld: library not found for -l:libusbrelay.so.1.1
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [usbrelay] Error 1
This is my Makefile:
Makefile.txt

Can you help me?

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

1 participant