-
Notifications
You must be signed in to change notification settings - Fork 53
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
Linking fails on Windows #277
Comments
Hey, you will need to use +crt-static: Line 2 in e0bda6e
|
Oh, thanks a lot, that really helped! 🚀 |
daniel-abramov
added a commit
to daniel-abramov/rust-sdks
that referenced
this issue
Dec 31, 2023
Related to livekit#277 and livekit#249.
Merged
theomonnom
pushed a commit
that referenced
this issue
Dec 31, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After suggestions in #249, I was able to
cargo check
andcargo build
the repository, so as a next stage, I addedlivekit
dependency to my project and noticed that altthoughcargo check
worked fine,cargo build
failed (presumably during linking phase).I created a simple self-contained example to demonstrate the issue. I've created an empty project:
cargo new --bin test-lk
, then I modifiedCargo.toml
to use the latest LiveKit Rust SDK:The
main.rs
looks like this:Executing
cargo check
ends without any errors. However, trying tocargo build
fails with:The text was updated successfully, but these errors were encountered: