Local compile after Windows update to 2004 not working: make: command not found

I reported the issue on September 11th, it stopped working for me exactly this day. Very likely the PlatformIO update got installed after starting VSCode on this day.
I also installed the Windows update on the same day, but this seems to be just coincidence.

Thank you @m_m for troubleshooting this and making the PlatformIO team aware of the issue!

1 Like

is there a fix yet? I use both and don’t want to have to disable platformio all the time! :frowning:

you can track progress over here:

1 Like

When I try to compile my project I get this error:

The terminal process “C:\Users\lawson.particle\toolchains\buildtools\1.1.1\bin\bash.exe ‘-c’, ‘make -f ‘C:\Users\lawson.particle\toolchains\buildscripts\1.9.2\Makefile’ compile-user’” failed to launch (exit code: 3221225781).

when I try this suggestion Particle: Launch Compiler Shell command, I get the same message

The terminal process “C:\Users\lawson.particle\toolchains\buildtools\1.1.1\bin\bash.exe ‘–noprofile’, ‘–norc’” failed to launch (exit code: 3221225781).

I started first with the editing of the PATH, but nothing has worked. It has been a few week since I used the IDE, so I uninstalled & re-installed it also.

Open to suggestions, thanks

The most telling part of that output looks like (exit code: 3221225781). Luckily, many people have encountered this issue. Apparently, it is due to a missing DLL.

Could you try running vc_redist.x64.exe as this user did?

1 Like

Nathan,

Thanks for th eponter, but I can’t seem to apply this fix.

image001.png

Here is the tail of the log file

5FA8:6554][2020-12-13T08:21:52]e000: Error 0x80070666: Cannot install a product when a newer version is installed.

And my list of Visual Studio components

image002.png

I tried to just run bash.exe from the directory & got an error about not finding cygwin1.dll
OK’ing that dialog got me another error cygiconv-2.dll not found.

Are you sure you had your "Programs and Features" sorted by name?
If it is complaining about "Microsoft Visual C++ 2015 Redistributable (x64)" (not "Studio" in this name) being installed already we should be able to see it in your list somewhere above "Microsoft Visual Studio ..."

However, with the current version of VS Code you should try to install `Microsoft Visual C++ 2017 Redistributable (x64)" (providing you are running a 64 bit Windows - otherwise you may want to opt for 32 bit across the board.

But to get official help for Particle Workbench can you follow the steps in this thread

@m_m and team will then have the data they need to properly assist.

1 Like

I have a slew of MS Visual C++ Redistributions. 2005 , 2008, 2010, 2012, 2013, 2015-2019, and 2017. The 2015-2019 and 2017 have todays install date, and the rest are over a year old.

I also have MS Visual Studio 2005 Remote Debugger, Visual Studio 2005 Tools for Applications, Visual Studio 2010 Service Pack 1, Visual Studio Tools for Office Runtime, Visual Studio Code(User), and Visual Studio Tools for Applications.

I’ve been trying several fixes, and I always get the same error inside Particle’s Visual Studio

The terminal process “C:\Users\lawson.particle\toolchains\buildtools\1.1.1\bin\bash.exe ‘-c’, ‘make -f ‘C:\Users\lawson.particle\toolchains\buildscripts\1.9.2\Makefile’ compile-user’” failed to launch (exit code: 3221225781).

If I open a terminal and cd to *C:\Users\lawson.particle\toolchains\buildtools\1.1.1\bin* and run bash I get “code execution cannot proceed because cygwin1.dll was not found.” Followed by “cygreadline7.dll was not found.” Followed by “cygiconv-2.dll was not found.” Then back to “cygwin1.dll was not found.” Finally the dialogs stop

However, if I am not in the C**:\Users\lawson.particle\toolchains\buildtools\1.1.1\bin** directory, bash runs fine.

Thanks

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.