You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by Micah Kornfield <em...@gmail.com> on 2019/03/02 04:49:07 UTC
Re: [C++] Help with windows build failure
Just to finish off this thread. Antoine's advice was spot on (need to pass
Debug and Static to b2). There was still another build issue with doube
precision but I was able to bypass it my making the specific test that was
failing.
On Tue, Feb 26, 2019 at 3:49 AM Antoine Pitrou <an...@python.org> wrote:
>
> Le 26/02/2019 à 05:42, Micah Kornfield a écrit :
> > The issue I'm blocked on is getting boost installed properly. I've
> > included all of the steps I've run below, if anyone has some thoughts or
> > the magical script to build and install the appropriate boost libraries
> > appropriate for the Static_Crt_Build i would greatly appreciate it.
> >
> > With a Windows 10 MSVC 2017 VM:
> > Download and install cmake and Anaconda3 via visual installers.
> > Download Boost 1.67 and extract it.
> > Run "Developer Command Prompt for MSVC 2017" from the start menu.
> > 1. CD to the boost directory
> > 2. Run: .\bootstrap.bat
> > 3. Run: .\b2.exe
> > 4. run: .\b2.exe install
>
> Does this also build the libraries in debug mode?
> According to
> https://www.boost.org/doc/libs/1_69_0/more/getting_started/windows.html,
> you can "choose a specific build variant by adding release or debug to
> the command line".
>
> Regards
>
> Antoine.
>
Re: [C++] Help with windows build failure
Posted by Micah Kornfield <em...@gmail.com>.
Yeah, I can do that (or at least a close approximation to help the next
person). Created ARROW-4745 [1] to track it.
[1] https://issues.apache.org/jira/browse/ARROW-4745
On Sat, Mar 2, 2019 at 2:38 PM Wes McKinney <we...@gmail.com> wrote:
> Would it be possible to round up this information and put it in the
> wiki or under https://github.com/apache/arrow/tree/master/docs/source/cpp
> somewhere for the next person who needs to debug the static CRT build
> on Windows? I haven't had to do this personally yet and I can imagine
> similarly losing a bunch of time to it =)
>
> On Fri, Mar 1, 2019 at 10:49 PM Micah Kornfield <em...@gmail.com>
> wrote:
> >
> > Just to finish off this thread. Antoine's advice was spot on (need to
> pass
> > Debug and Static to b2). There was still another build issue with doube
> > precision but I was able to bypass it my making the specific test that
> was
> > failing.
> >
> >
> >
> > On Tue, Feb 26, 2019 at 3:49 AM Antoine Pitrou <an...@python.org>
> wrote:
> >
> > >
> > > Le 26/02/2019 à 05:42, Micah Kornfield a écrit :
> > > > The issue I'm blocked on is getting boost installed properly. I've
> > > > included all of the steps I've run below, if anyone has some
> thoughts or
> > > > the magical script to build and install the appropriate boost
> libraries
> > > > appropriate for the Static_Crt_Build i would greatly appreciate it.
> > > >
> > > > With a Windows 10 MSVC 2017 VM:
> > > > Download and install cmake and Anaconda3 via visual installers.
> > > > Download Boost 1.67 and extract it.
> > > > Run "Developer Command Prompt for MSVC 2017" from the start menu.
> > > > 1. CD to the boost directory
> > > > 2. Run: .\bootstrap.bat
> > > > 3. Run: .\b2.exe
> > > > 4. run: .\b2.exe install
> > >
> > > Does this also build the libraries in debug mode?
> > > According to
> > >
> https://www.boost.org/doc/libs/1_69_0/more/getting_started/windows.html,
> > > you can "choose a specific build variant by adding release or debug to
> > > the command line".
> > >
> > > Regards
> > >
> > > Antoine.
> > >
>
Re: [C++] Help with windows build failure
Posted by Wes McKinney <we...@gmail.com>.
Would it be possible to round up this information and put it in the
wiki or under https://github.com/apache/arrow/tree/master/docs/source/cpp
somewhere for the next person who needs to debug the static CRT build
on Windows? I haven't had to do this personally yet and I can imagine
similarly losing a bunch of time to it =)
On Fri, Mar 1, 2019 at 10:49 PM Micah Kornfield <em...@gmail.com> wrote:
>
> Just to finish off this thread. Antoine's advice was spot on (need to pass
> Debug and Static to b2). There was still another build issue with doube
> precision but I was able to bypass it my making the specific test that was
> failing.
>
>
>
> On Tue, Feb 26, 2019 at 3:49 AM Antoine Pitrou <an...@python.org> wrote:
>
> >
> > Le 26/02/2019 à 05:42, Micah Kornfield a écrit :
> > > The issue I'm blocked on is getting boost installed properly. I've
> > > included all of the steps I've run below, if anyone has some thoughts or
> > > the magical script to build and install the appropriate boost libraries
> > > appropriate for the Static_Crt_Build i would greatly appreciate it.
> > >
> > > With a Windows 10 MSVC 2017 VM:
> > > Download and install cmake and Anaconda3 via visual installers.
> > > Download Boost 1.67 and extract it.
> > > Run "Developer Command Prompt for MSVC 2017" from the start menu.
> > > 1. CD to the boost directory
> > > 2. Run: .\bootstrap.bat
> > > 3. Run: .\b2.exe
> > > 4. run: .\b2.exe install
> >
> > Does this also build the libraries in debug mode?
> > According to
> > https://www.boost.org/doc/libs/1_69_0/more/getting_started/windows.html,
> > you can "choose a specific build variant by adding release or debug to
> > the command line".
> >
> > Regards
> >
> > Antoine.
> >