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 build on Windows #60

Closed
Wicpar opened this issue Apr 6, 2023 · 1 comment
Closed

Cannot build on Windows #60

Wicpar opened this issue Apr 6, 2023 · 1 comment

Comments

@Wicpar
Copy link

Wicpar commented Apr 6, 2023

Hi,
I'm trying to use this crate in a windows environment, however the build fails due to the missing commands like "cp"

@ifraixedes
Copy link
Collaborator

Hi @Wicpar.

It's expected, the uplink-sys crate build script only targets UNIX systems and the uplink crate requires building the uplink-sys.

The uplink-sys README mentions how to build in Linux and OSX, hence, I think that we should clarify it in the README that other platforms may not work and platforms that aren't of the UNIX family don't work.

There is a discussion about if we should include the compiled uplink-c library objects of several operative systems and not require Go to be installed for the most used Operative systems (Linux, OSX, and Windows). In my comment, I mentioned that we should change the build.rs script of the uplink-sys crate to make it work.

I opened an issue to track the build.rs enhancement and closed this one to favor it.

Thank you for your interest in this crate.

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

2 participants