Open gonzzzales opened 1 year ago
it it working great for me. You just need to install gcc, make and git bash
lambe@XXXXXX MINGW64 ~/work/repository/xxxxxxx/teensy_loader_cli (master) $ make OS=WINDOWS CC=gcc gcc -O2 -Wall -s -DUSE_WIN32 -o teensy_loader_cli.exe teensy_loader_cli.c -lhid -lsetupapi -lwinmm
I would like to revisit this issue, as nobody has provided a satisfactory guide to set up Windows to allow for using the Make feature to create the teensy_loader_cli.exe
I have installed cygwin64 and installed packages for make and gcc but I am still presented with errors relating to missing header files the c file expects to find:
$ make
cc -O2 -Wall -s -DUSE_WIN32 -o teensy_loader_cli.exe teensy_loader_cli.c -lhid -lsetupapi -lwinmm
teensy_loader_cli.c:373:10: fatal error: ddk/hidsdi.h: No such file or directory
#include <ddk/hidsdi.h>
^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:4: teensy_loader_cli.exe] Error 1
Having some simple direction/steps to follow to complete the Make build process would be great but I have yet to find any.
@Evanok you seem to have it working great for you, any chance you can elaborate on your setup and what you are using as your make interface?
Did you check this: https://github.com/PaulStoffregen/teensy_loader_cli/issues/55
i installed MSYS2 then used ucrt64 to create the exe.
Can get it from PlatformIO.
Does anyone have a file teensy_loader_cli.exe with support Teensy 4.1? I cant use Makefile for Windows, compilation goes wrong(((