msdk icon indicating copy to clipboard operation
msdk copied to clipboard

Makefile example projects don't build with latest Xcode make on macOS Ventura

Open andrewmclachlanadi opened this issue 2 years ago • 5 comments

make -r -j 8 --output-sync=target --no-print-directory 
/Applications/Xcode.app/Contents/Developer/usr/bin/make: unrecognized option `--output-sync=target'
Usage: make [options] [target] ...

Workaround is to tweak the Makefile Eclipse settings to remove --output-sync=target

andrewmclachlanadi avatar Jul 16 '23 07:07 andrewmclachlanadi

See https://analog-devices-msdk.github.io/msdk/USERGUIDE/#completing-the-installation-on-macos

Jake-Carter avatar Jul 17 '23 17:07 Jake-Carter

Thanks @Jake-Carter .

Is there something specific other than option which requires Make 4.x. If not, then it might be a nicer out-of-the box experience to not have to install the dependent tools or to also include a Make 4.x build in the macOS installation.

andrewmclachlanadi avatar Jul 17 '23 18:07 andrewmclachlanadi

output-sync=target prevents parallel builds from mangling the terminal output, which is a good feature that makes parallel builds actually usable.

I'm in favor of including the Make 4.x binaries in the macOS installation. We have been limited in our ability to package specific to macOS, but with your help we can address that!

Jake-Carter avatar Jul 17 '23 19:07 Jake-Carter

Closing as we move towards an installer that packages make for all platforms

Jake-Carter avatar Jul 18 '23 23:07 Jake-Carter

The link https://analog-devices-msdk.github.io/msdk/USERGUIDE/#completing-the-installation-on-macos is invalid now. And the problem seems still be there.

yc-adi avatar Nov 30 '24 19:11 yc-adi