Closed marcocrio closed 8 months ago
Thanks @marcocrio
I wrote some instructions for the MacOS setup at https://analog-devices-msdk.github.io/msdk/USERGUIDE/#completing-the-installation-on-macos
Can you confirm they work on your machine? Brew should give you a symlink that you can pre-pend to your path to make gmake v4+ available as make
Should be fixed as of the Feb 2024 release. We now distribute a Make v4.4.1 binary on MacOS as well, and prepend it to the PATH. The setup instructions for MacOS now just involve running the brew command for installing OpenOCD dependencies.
Thanks @marcocrio
I wrote some instructions for the MacOS setup at https://analog-devices-msdk.github.io/msdk/USERGUIDE/#completing-the-installation-on-macos
Can you confirm they work on your machine? Brew should give you a symlink that you can pre-pend to your path to make gmake v4+ available as
make
Hello @Jake-Carter , it appears that the link you pointed out is dead. Can you confirm? Thanks.
Thanks @marcocrio I wrote some instructions for the MacOS setup at https://analog-devices-msdk.github.io/msdk/USERGUIDE/#completing-the-installation-on-macos Can you confirm they work on your machine? Brew should give you a symlink that you can pre-pend to your path to make gmake v4+ available as
make
Hello @Jake-Carter , it appears that the link you pointed out is dead. Can you confirm? Thanks.
Check this one https://analogdevicesinc.github.io/msdk//USERGUIDE/#completing-the-installation-on-macos
Thanks @ttmut , I struggle to find the instructions for the documentation note: "There are also some manual setup steps required to retrieve make version 4. The instructions in this section are critical."
My system make
(make -v
) gives me GNU Make 4.4.1.
But, when I run the same command on MS Code it returns GNU Make 3.81. Which is probably the source of the error in the title of this thread.
Any suggestion on how to update the make
my VS code is using?
Thanks in advance.
On system terminal, what is the output of brew info make
?
On system terminal, what is the output of
brew info make
?
❯ brew info make
==> make: stable 4.4.1 (bottled), HEAD
Utility for directing compilation
https://www.gnu.org/software/make/
Installed
/usr/local/Cellar/make/4.4.1 (17 files, 1.2MB) *
Poured from bottle using the formulae.brew.sh API on 2024-08-24 at 12:05:22
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/m/make.rb
License: GPL-3.0-only
==> Dependencies
Build: lzip ✘
==> Options
--HEAD
Install HEAD version
==> Caveats
GNU "make" has been installed as "gmake".
If you need to use it as "make", you can add a "gnubin" directory
to your PATH from your bashrc like:
PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
==> Analytics
install: 11,006 (30 days), 33,209 (90 days), 133,402 (365 days)
install-on-request: 3,946 (30 days), 13,137 (90 days), 54,915 (365 days)
build-error: 11 (30 days)
But I think it is solved now. Probably by adding the system variables to my .zshrc
(?)
Thanks a lot for the help!
@barmak we should be distributing make v4+ binaries now for MacOS. The binary should be located at $MAXIM_PATH/Tools/GNUTools/Make/make
, and this location gets pre-pended to VS Code's terminal PATH.
What does the command $MAXIM_PATH/Tools/GNUTools/Make/make --version
return?
Also, are you running Intel or ARM silicon? Maybe there is some mistake for the Intel silicon in our installer packaging.
@Jake-Carter , thanks for the update!
Here is what the command returns:
❯ $MAXIM_PATH/Tools/GNUTools/Make/make --version
GNU Make 4.4.1
Built for x86_64-apple-darwin19.6.0. # <-- Intel silicon
...
Probably the changes on my .zshrc
kicked in and now all my makes
are v4.
Thanks again!
Visual Studio Code version -1 .85.1 (Universal)
C/C++ Extension version
Target microcontroller and evaluation platform
Describe the bug
To Reproduce Steps to reproduce the behavior:
Desktop (please complete the following information):