GithubHelp home page GithubHelp logo

Comments (8)

jmerriweather avatar jmerriweather commented on May 27, 2024 1

I'm also on Windows 10 and for me this went away after doing the following from an admin command prompt:

choco install mingw

from circuits_uart.

fhunleth avatar fhunleth commented on May 27, 2024

I just wanted to post some thoughts from asking around on this issue. None of us currently have a Windows 10 machine accessible, but we're thinking that this is either a mix or elixir_make issue. We're not sure why you're seeing it. I haven't run into it. I do see that you're running slighly newer Erlang and Elixir than I am, but I don't know why that would cause the problem. If you get impatient waiting for us, I might try asking around on the elixir-lang slack in case other Windows users have seen this.

from circuits_uart.

Gyllsdorff avatar Gyllsdorff commented on May 27, 2024

There is no rush, I have access to other Linux machines. :)

I can try to install older Elixir/Erlang combinations tomorrow to test if you think that could help? Is there any particular version of Erlang/Elixir/Mix that you know have worked for other people?

Frankly, it almost feels like this is a bug in hex/mix or something since the actual error message is from mix. I can't figure out why it complains about the dependency is not locked (run "mix deps.get" to generate "mix.lock" file).

When I tried using {:nerves_uart, "0.1.0"} I at least got a real mingw32-make not found error.

from circuits_uart.

fhunleth avatar fhunleth commented on May 27, 2024

I'm using Erlang 19.0 and Elixir 1.3.1 on Windows 10. Both were installed via Chocolatey.

from circuits_uart.

Gyllsdorff avatar Gyllsdorff commented on May 27, 2024

I'm also on Windows 10 and for me this went away after doing the following from an admin command prompt:

choco install mingw

That solved it. It seems like On Windows, if you're obtaining nerves_uart from hex.pm, you'll get a precompiled version of the C code. This will be used if the proper build tools aren't detected. is not always correct.

from circuits_uart.

fhunleth avatar fhunleth commented on May 27, 2024

@Gyllsdorff or @jmerriweather Thanks for following up with the solution! If either of you have hints to why the precompiled binary didn't work, could you open up a new issue? If nothing else, the error message you get when it doesn't work is surprisingly unhelpful and I'd like to see if I can get it to figure out what's happening.

from circuits_uart.

Gyllsdorff avatar Gyllsdorff commented on May 27, 2024

I can probably take a look at it this weekend.

One question: if I did not have mingw installed I was supposed to get a "Copying prebuilt port binary" in the cmd window when it tried to copy the pre-compiles files, right? I will try adding a few debug statements and see which path the code follows in nerves_uart/mix.env.

from circuits_uart.

fhunleth avatar fhunleth commented on May 27, 2024

Right. That was the idea. Thanks!

from circuits_uart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.