Comments (8)
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.
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.
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.
I'm using Erlang 19.0 and Elixir 1.3.1 on Windows 10. Both were installed via Chocolatey.
from circuits_uart.
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.
@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.
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.
Right. That was the idea. Thanks!
from circuits_uart.
Related Issues (20)
- Bad Match in `find_pids/0`
- Possible option to set timeout on Open ? HOT 2
- Circuits.UART.enumerate no work on Ubuntu 20.04 HOT 3
- Connection opens without errors, but I can't neither read or write HOT 2
- Circuits.UART.enumerate returns nothing %{"ttyAMA0" => %{}, "ttyS0" => %{}} HOT 9
- Fix kIOMasterPortDefault deprecation on macOS 12 and later
- Should we monitor/link to the `controlling_process`? HOT 1
- Error compiling with BeagleBone based target HOT 7
- `:enotty` when attempting to open a port with RS485 options on Linux HOT 1
- Compile error in Fedora 38 HOT 6
- HOWTO: connect to 2 or more Serial Ports at the same time HOT 2
- Cannot compile for windows (have the windows driver SDK and mingw installed with chocolatey
- Latency HOT 3
- Can't close connection to unopened device HOT 1
- Cannot set parity to :mark HOT 2
- ENOTTY error setting custom speed on linux HOT 4
- UART.read timeout clarifications HOT 3
- Mingw 10.2 compilation is failing HOT 2
- [Question] Is it possible to read a specific but dynamic amount of bytes? HOT 3
- Issues with Fona 808 on Raspberry Pi Zero W HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circuits_uart.