Skip to content
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

Outdated windows libraries? #23

Open
aahaselgrove opened this issue Apr 27, 2016 · 4 comments
Open

Outdated windows libraries? #23

aahaselgrove opened this issue Apr 27, 2016 · 4 comments

Comments

@aahaselgrove
Copy link

I tried to compile on windows, and am receiving an error that 'ddk/hidsdi.h' does not exist. (I do, however have 'ddk/hidclass.h'). Is this file outdated? I tried to download missing files (and dependencies) here, but more errors ensued, which I'm guessing is due to file incompatibility.

@PaulStoffregen
Copy link
Owner

Those are part of the WDK. Why Microsoft doesn't include them with their normal tools is beyond me.

FWIW, I have never compiled this using Visual Studio or any other Microsoft tool. I do all my building on Linux using mingw as a cross compiler.

If you use Ubuntu Linux and install the mingw tools with apt-get, it will "just work" and produce a good .exe file, which runs when copied to a Windows computer. That's how I do it. So I really can't help with how to do it actually on Windows. I pretty much never use Windows, other than to test the Windows versions of programs I publish.

@tlfisher
Copy link

Paul, I think perhaps many Windows users who would like to use teensy-loader-cli are stymied because we cannot compile the .c file. I cannot find the required include files even after installing Visual Studio 2015. Could you possibly post the loader in the form we could use on the command line? Sorry to bother you, but I don't know another way to obtain this file. Thank you.

@ctadlock
Copy link

@bohaoy
Copy link

bohaoy commented Dec 28, 2024

If one doesn't trust downloading an exe from the internet. I was able to get it to compile here: #82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants