Re: Windows build of Arrow Flight and Flight SQL

2022-03-06 Thread Weston Pace
Thanks, sorry I missed that. I agree, my interpretation of that error is that it seems to be pulling in the release version of re2.lib. Do you know how your build is resolving re2.lib? Is it coming from vcpkg or is it perhaps coming from a system installed location somewhere? Or is it falling

Re: Windows build of Arrow Flight and Flight SQL

2022-03-06 Thread James Duong
Hi Weston, The build log is attached in the email Alex sent out originally. Just had a glance and saw errors such as: re2.lib(regexp.cc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in array_base.obj Which usually

Re: Windows build of Arrow Flight and Flight SQL

2022-03-06 Thread Weston Pace
You may need to share some specific error messages or a build log. Or, ideally, setup some kind of CI environment that mirrors your environment and reproduce your failure. Github has runners that have support for visual studio 2022 and I believe there are actions to install vcpkg. You could

Re: Windows build of Arrow Flight and Flight SQL

2022-03-04 Thread David Li
Not too sure but perhaps try a Release build, Debug builds have been a problem for others, e.g. see ARROW-15298 [1] I've personally not gotten a debug build to work before. [1]: https://issues.apache.org/jira/browse/ARROW-15298 -David On Fri, Mar 4, 2022, at 17:55, Alex McRae (CW) wrote: > Hi

Windows build of Arrow Flight and Flight SQL

2022-03-04 Thread Alex McRae (CW)
Hi all, happy friday! I am having issues building arrow with flight and flightsql on a fresh install of windows. My configuration uses VCPKG, static build, and visual studio 2022 generation. The generation is successful however running cmake --build ./build --config Debug fails. With a bunch of