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

Cannot compile for windows (have the windows driver SDK and mingw installed with chocolatey #159

Open
TheDSparrow opened this issue Dec 13, 2023 · 0 comments

Comments

@TheDSparrow
Copy link

Hi Everyone, I am unsure what I'm doing wrong here to compile the circuits_uart project

I have included both mingw32-make and mingw-w64 in the PATH as well as created an environment variable for the windows driver SDK INCLUDE paths.

I don't feel like copying and throwing the dependent include files into the ei_copy is the best solution, but tell me if I should try.

Setup

  • Version: Elixir for OTP25
  • OS: Windows 10

Expected Behavior

I run mix compile and it gives the following compilation error

==> circuits_uart
" CC uart_enum.o"
" CC circuits_uart.o"
" CC debug_tests.o"
" CC uart_enum_win.o"
src/uart_enum_win.c:24:22: fatal error: ntddmodm.h: No such file or directory
#include <ntddmodm.h>
^
compilation terminated.
src/Makefile:106: recipe for target ......

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

1 participant