Hi kou,

Thanks for the quick reply, that seems to have worked & I can build fine
now!   I have run into other issues, but at least I can progress now.

Just wondering if you know when arrow-cpp v10.0.0 packages will be
available via conda mechanism?

Regards
Prasad


On Fri, Nov 4, 2022 at 3:43 PM Sutou Kouhei <[email protected]> wrote:

> Hi,
>
> Could you use "arrow_shared" instead of
> "Arrow::arrow_shared" instead? "Arrow::arrow_shared" is
> available since Apache Arrow 10.0.0.
>
> FYI: "arrow_shared" is still available with Apache Arrow
> 10.0.0 to keep backward compatibility.
>
>
> Thanks,
> --
> kou
>
> In <ca+203qvpmgltghzz9jrusb3hng81gabnz_52-6_8s48satn...@mail.gmail.com>
>   "[C++] [Windows] Building arrow minimal build sample on Windows" on Fri,
> 4 Nov 2022 09:03:44 +1100,
>   Raghavendra Prasad <[email protected]> wrote:
>
> > Hello everyone,
> >
> > I am exploring usage of Apache Arrow specifically usage form Visual
> Studio
> > (VS2019) compiled C++ programs on my Windows 10 machine.
> >
> > I have Visual Studio 2019 installed already.   I wanted to simply use
> pre-build
> > binaries, so I installed Arrow 9.0.0 using miniconda:  conda install
> > arrow-cpp=9.0.* -c conda-forge.  (9.0.0 was the latest package I can find
> > there).   The install was successful.
> >
> > I now wanted to build the arrow minimal_build example & am failing at
> multiple
> > attempts.  Will gratefully accept any guidance to get this working!
> >
> > C:\Repos\arrow\cpp\examples\minimal_build> cmake CMakeLists.txt
> > which immediately failed with:
> >
> > C:\Repos\arrow\cpp\examples\minimal_build>cmake CMakeLists.txt
> > -- Selecting Windows SDK version 10.0.19041.0 to target Windows
> 10.0.19044.
> > -- Arrow version: 9.0.0
> > -- Arrow SO version: 900.0.0
> > -- Configuring done
> > CMake Error at CMakeLists.txt:40 (add_executable):
> >   Target "arrow-example" links to target "Arrow::arrow_shared" but the
> target
> >   was not found.  Perhaps a find_package() call is missing for an
> IMPORTED
> >   target, or an ALIAS target is missing?
> >
> > I next activated arrow-dev as per Developing on Windows & ran the same
> command.
> >
> > conda create -y -n arrow-dev --file=ci\conda_env_cpp.txt  ==> successful
> > conda activate arrow-dev ==> successful
> > (arrow-dev) C:\Repos\arrow\cpp\examples\minimal_build>cmake
> cmakelists.txt  ==>
> > failed
> > -- Selecting Windows SDK version 10.0.19041.0 to target Windows
> 10.0.19044.
> > -- The C compiler identification is MSVC 19.29.30143.0
> > -- The CXX compiler identification is MSVC 19.29.30143.0
> > -- Detecting C compiler ABI info
> > -- Detecting C compiler ABI info - done
> > -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
> >
> Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe -
> > skipped
> > -- Detecting C compile features
> > -- Detecting C compile features - done
> > -- Detecting CXX compiler ABI info
> > -- Detecting CXX compiler ABI info - done
> > -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft
> Visual
> >
> Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe -
> > skipped
> > -- Detecting CXX compile features
> > -- Detecting CXX compile features - done
> > -- Arrow version: 9.0.0
> > -- Arrow SO version: 900.0.0
> > -- Configuring done
> > CMake Error at CMakeLists.txt:43 (target_link_libraries):
> >   Target "arrow-example" links to:
> >
> >     Arrow::arrow_shared
> >
> >   but the target was not found.  Possible reasons include:
> >
> >     * There is a typo in the target name.
> >     * A find_package call is missing for an IMPORTED target.
> >     * An ALIAS target is missing.
> >
> > Regards
> > Prasad
>

Reply via email to