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

Does not seem to work on windows? #1

Open
eseidel opened this issue Jul 9, 2021 · 2 comments
Open

Does not seem to work on windows? #1

eseidel opened this issue Jul 9, 2021 · 2 comments

Comments

@eseidel
Copy link

eseidel commented Jul 9, 2021

Attempting to compile:

{
	"message": "extern location for gpoint does not exist: target\\rls\\debug\\deps\\libgpoint-8a0a5ba3c49d42ea.rmeta",
	"source": "rustc",
	"startLineNumber": 2,
	"startColumn": 5,
	"endLineNumber": 2,
	"endColumn": 11
}

error[E0425]: cannot find function `snprintf` in crate `libc`
  --> C:\Users\micro\.cargo\registry\src\github.com-1ecc6299db9ec823\gpoint-0.1.1\src\lib.rs:66:15
   |
66 |         libc::snprintf(
   |               ^^^^^^^^ not found in `libc`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0425`.
error: could not compile `gpoint`
@bestouff
Copy link
Owner

bestouff commented Jul 9, 2021

Eww, no snprintf on Windows ? I don't have such a machine, do you know where snprintf comes from when you write a C program ?

@bestouff
Copy link
Owner

bestouff commented Jul 9, 2021

Apparently using the latest MSVC toolchain should help. Is that a proper solution for you ?

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