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

still not working on windows for me #216

Closed
dsisnero opened this issue May 24, 2023 · 12 comments
Closed

still not working on windows for me #216

dsisnero opened this issue May 24, 2023 · 12 comments

Comments

@dsisnero
Copy link

I tried gem install polars-df which uses rb-sys by directly calling it (no ridk enable).
gem install polars-df 2>&1

After ridk enable
ridk enable - gem install polars-df 2>1

gem env (after ridk enable)

@ianks
Copy link
Collaborator

ianks commented May 24, 2023

Can you try the latest version? v0.9.77 had fixes for clang16

@tisonkun
Copy link

Can you try the latest version? v0.9.77 had fixes for clang16

At least it seems to fix an issue on Apple M1. See apache/opendal#2451.

@ianks
Copy link
Collaborator

ianks commented Jun 13, 2023

Thank you for addressing that issue @tisonkun

@Speak2Erase
Copy link

Speak2Erase commented Jul 17, 2023

This is still an issue for me when compiling any of my projects using ruby 3.2.2 on windows.

Is there an easy fix for this?
compile.txt

@Speak2Erase
Copy link

This seems to be related: rust-lang/rust-bindgen#2500

@ianks
Copy link
Collaborator

ianks commented Jul 17, 2023

what version of libclang are you using?

@Speak2Erase
Copy link

16

@ianks
Copy link
Collaborator

ianks commented Jul 18, 2023

Currently clang-16 seems to be buggy for windows users with rb-sys, and we only test against clang-15 right now. Hopefully that will change when we upgrade bindgen next, but hands are a bit tied because that affects our MSRV policy.

Can you try out clang-15?

@Speak2Erase
Copy link

Yup, after some messing around with msys2 packages, that worked!

@dsisnero
Copy link
Author

how did you try this with clang-15 ? did you install with pacman?

@Speak2Erase
Copy link

I had to downgrade the package with pacman yeah

@ianks
Copy link
Collaborator

ianks commented Dec 10, 2023

Closing in favor of #286

@ianks ianks closed this as completed Dec 10, 2023
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

4 participants