Jump to content
Flirc Forums

Recommended Posts

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.

  • 2 years later...
Posted

building an SDK CLI on an M1 Mac can be a bit tricky. Make sure you’ve got Homebrew set up for ARM and install all the dependencies like Xcode Command Line Tools. If things still don’t work, try running your terminal in Rosetta mode—that usually help with x86 compatibility. Always worth checking the SDK docs for macOS-specific steps too!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...