-
Notifications
You must be signed in to change notification settings - Fork 84
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
Building on Cygwin fails #136
Comments
I not recommend use cygwin for building library. For windows better try vcpkg. And also in cygwin really outdated packages. libusb 1.0.21 it's released around 2016 year. |
whilst I agree that some cygwin packages are old, I don't really want yet another package manager to install, maintain and update on all the projects development machines. Also, the prerequisites for vcpkg list Visual Studio 2015 or newer, I don't fancy having to install and maintain another IDE either, the project already uses CLion and Eclipse. I'm also not sure about compatibility between vcpkg compiled packages and the rest of the tools and ecosystem. This is why I don't build on WSL which is binary incompatible. I'll look at vcpkg, I'd never heard of it before, but if you have other suggestions or solutions that would be preferred, keep me posted. |
If you setup rust fro windows for use msvc then you have less problems. The msvc compiler is free for use. P.S. cygwin it's crutch try avoid it in all place where it's possible. For use rusb they not need entirely. |
If you want build with gcc staff a suggest use MSYS2. |
Building on Cygwin fails:
however I have
pkg-config
and other crates are able to be installed that use it, e.g,gcov
Note that the cygwin path
C:\Cygwin\bin
is NOT, and should not, be in the windows System PATH environment. This is normal for cygwin installations. pkg-config however IS in the Cygwin path, as above.Windows path:
Cygwin path:
Cygwin packages installed:
Windows 10 x64 + Cygwin x86_64.
I'm here because I'm trying to build
probe-run
which uses libusb 0.5 as a dependency which also fails to build for a different, but relatedlibusb
reason, see knurling-rs/probe-run#325The text was updated successfully, but these errors were encountered: