-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Makefile:59: recipe for target 'clean' failed #69
Comments
any luck on this? I get the same error |
Maybe you're missing the "rm" command. I believe in Windows a similar command is "del", though it might use different syntax than "-f". Probably easier to install a rm command somehow. |
yeah, i figured that out - so i tried on ubuntu but i can't seem to install MXE - MXE build fails and the binary install says the certificate is invalid - when i try to build without MXE - of course it can't find |
Can you point to the specific "just works" claim? Maybe that info needs to be edited.... Personally, I have always compiled the Windows EXE using a Linux system with cross compiler. I don't really use Windows, so I can't help with how to set up compiler toolchains on Windows. On Ubuntu Linux, you can just use apt-get to install the cross compiler, and then it does compile using the Makefile as-is. |
here is the source for the claim Which cross-compiler do you use? It is not mentioned in the README. I tried to use MXE, with no luck. |
Thanks for the above info, and FYI I still haven't managed to get this to work. @PaulStoffregen I find your suggestion of cross compilation an interesting one. Considering that quite a few windows users are facing issues with this, it would be much appreciated if you could maybe write a short explanation of how to cross-compile for windows? Many thanks! |
If you still are doing this to get remote development working for the tyeensy 4.0 - i got it working. The newest platformio update has auto-reset and remote development support for the Teensy boards. I didn't need to cross-compile or replace the current teensy-cli. Just start a remote agent on your Host, setup the remote agent to allow a certain email to connect, on your remote dev machine login to Platformio IDE with the email/account associated with the remote agent and simply open the project. In the |
@ZanzyTHEbar , thanks for that tip :) My use case is somewhat different however. I want to be able to compile an Arduino file for a teensy board from a python file (hence why I thought using the command line tool would be useful). |
Well, you can't compile an If you want to generate code for a teensy from a python file, i would simply create a python script that could auto-generate the needed lines of code, use the python to create a new file with You will need to ensure that your header files are also correctly generated (should you need any). At the end of the day, you will be compiling your text files into a |
That seems to make sense, thanks :) so that means I still need teensy cli right? I.e. there is no way to do this without having teensy cli? |
Using Windows 10, installed MinGW
I get the following error when doing this command:
(base) PS C:\XXXX\teensy_loader_cli-master> mingw32-make
Error:
rm -f teensy_loader_cli teensy_loader_cli.exe* process_begin: CreateProcess(NULL, rm -f teensy_loader_cli teensy_loader_cli.exe*, ...) failed. make (e=2): The system cannot find the file specified. Makefile:59: recipe for target 'clean' failed mingw32-make: *** [clean] Error 2
When I then do:
(base) PS C:\XXXteensy_loader_cli-master> teensy-loader-cli
I get:
Any help would be much appreciated!
The text was updated successfully, but these errors were encountered: