Skip to content

Porting on macos? #117

@kkkaktusss

Description

@kkkaktusss

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions