Skip to content

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

Open
@TheDSparrow

Description

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 ......

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions