-
Notifications
You must be signed in to change notification settings - Fork 3
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
Windows build is broken again #18
Comments
Hi Bruno, Thank you, |
Try to compile it? Something about the linker prevents it from building on windows. Rtools had significant changes from the last time I used it on windows and it does not compile anymore. I did not dig far to resolve it. |
The error is
I created a Makevars.win file that emulates the compiler flag and options used in Linux, where compilation works:
Compared to Linux's Makevars, I've just deleted Using this Makevars.win, the errors are
while it is not in Linux. Hope that it makes any sense. My knowledge about C/C++ and their R integration is very limited. |
Might be related : protocolbuffers/protobuf#12746 |
@emanuele-depaoli-sdg I've added the build flag -DPROTOBUF_USE_DLLS, and it now compiles. Let me know, if this solved it for you too. thanks |
I think it can be related to this |
All right, I'm giving up for now. You can manually install previous version of grpc along with matching module 1.51 should still build. Currently, 1.55.1 in the repo, protobuf 23.4, abseil 20230125 will not work. |
Unfortunately I couldn't install grcp 1.51.0. I retrieved its PKGBUILD from old commits in msys2 repo but compilation fails with error: |
I found the packages already built here: https://repo.msys2.org/mingw/x86_64/
It's weird, my paths are set correctly and I dont have any issues with other packages |
what do you get when you run ldd on the the bigrquerystorage.dll? |
I tried to run |
So I spent the last 10 hours trying to figure out what goes wrong on Windows. I can get it to compile, I can create a client and authenticate. But I fail creating a read session. There is a segmentation fault happening here: Line 115 in 913a549
gdb gives me this, which is not super useful. The protoc compiler might be the problem? I'll wait for msys2 to update it and try again next year.
|
I believe that this is fixed now, at least for R 4.3.x and current R-devel. You need the latest version of Rtools32. (Notably, winget and choco do not install the latest version, and GHA also does not have the latest.) We'll improve it some time next week, to work on earlier Rtools43, and possibly earlier R versions as well. In particular, we'll use this approach: main...jeroen:bigrquerystorage:main instead of my current one. |
I have no intention of fixing it for the moment.
The text was updated successfully, but these errors were encountered: