Report How to build SDK CLI on M1 mac in How To Posted June 19, 2022 I am trying to build the SDK on an M1 MacMini 2020 adn here is the results I am getting: xx@tvs-Mac-mini cli % make flirc_util [BUILDING] flirc_util.debug [CC] src/main.c [CC] src/prepost.c [CC] lib/logging.c [CC] lib/getline.c [CC] lib/dict.c [CC] lib/cmds.c [CC] lib/cmds_script.c [CC] lib/cmds_shell.c [CC] src/cmds/version.c [CC] src/cmds/flirc_cmds.c [CC] src/cmds/ir_transmit.c [LINK] buildresults/Darwin_arm64/cc/flirc_util/debug/flirc_util ld: warning: directory not found for option '-L../libs/Darwin_arm64/' ld: library not found for -lflirc clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [buildresults/Darwin_arm64/cc/flirc_util/debug/flirc_util] Error 1 make[1]: *** [debug] Error 2 make: *** [flirc_util] Error 2 I guess the Darwin_arm64 version of the library doesn't exist. I was wondering if there are any work arounds for this.
How to build SDK CLI on M1 mac
in How To
Posted
I am trying to build the SDK on an M1 MacMini 2020 adn here is the results I am getting:
xx@tvs-Mac-mini cli % make flirc_util
[BUILDING] flirc_util.debug
[CC] src/main.c
[CC] src/prepost.c
[CC] lib/logging.c
[CC] lib/getline.c
[CC] lib/dict.c
[CC] lib/cmds.c
[CC] lib/cmds_script.c
[CC] lib/cmds_shell.c
[CC] src/cmds/version.c
[CC] src/cmds/flirc_cmds.c
[CC] src/cmds/ir_transmit.c
[LINK] buildresults/Darwin_arm64/cc/flirc_util/debug/flirc_util
ld: warning: directory not found for option '-L../libs/Darwin_arm64/'
ld: library not found for -lflirc
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [buildresults/Darwin_arm64/cc/flirc_util/debug/flirc_util] Error 1
make[1]: *** [debug] Error 2
make: *** [flirc_util] Error 2
I guess the Darwin_arm64 version of the library doesn't exist. I was wondering if there are any work arounds for this.