Interesting. Even if I use the latest cmake from conda-forge I get the same error though. (temp) PS C:\temp\build> where.exe cmake C:\Users\niran\miniconda3\envs\temp\Library\bin\cmake.exe C:\Program Files\CMake\bin\cmake.exe (temp) PS C:\temp\build> cmake --version cmake version 3.24.1
CMake suite maintained and supported by Kitware (kitware.com/cmake). (temp) PS C:\temp\build> where.exe cmake C:\Users\niran\miniconda3\envs\temp\Library\bin\cmake.exe C:\Program Files\CMake\bin\cmake.exe (temp) PS C:\temp\build> conda list | findstr "cmake" cmake 3.24.1 h39d44d4_0 conda-forge CMake suite maintained and supported by Kitware (kitware.com/cmake). On Fri, Aug 19, 2022 at 3:31 PM Keith Kraus <ke...@voltrondata.com.invalid> wrote: > The package you're using is from the `defaults` channels as opposed to > conda-forge in which the community doesn't control the recipe. > > Only other thought is that if you're using a system `cmake` instead of a > conda supplied `cmake` then it won't properly search the conda prefix for > packages and will instead search the system prefix. > > -Keith > > On Fri, Aug 19, 2022 at 3:26 PM Niranda Perera <niranda.per...@gmail.com> > wrote: > > > This is what I got as the output. > > > > (temp) PS C:\temp\build> cmake .. > > -- Building for: Visual Studio 17 2022 > > -- Selecting Windows SDK version 10.0.19041.0 to target Windows > 10.0.19043. > > -- The CXX compiler identification is MSVC 19.31.31107.0 > > -- Detecting CXX compiler ABI info > > -- Detecting CXX compiler ABI info - done > > -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft > Visual > > Studio/2022/BuildTools/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe - > > skipped > > -- Detecting CXX compile features > > -- Detecting CXX compile features - done > > CMake Error at CMakeLists.txt:5 (find_package): > > By not providing "FindArrow.cmake" in CMAKE_MODULE_PATH this project > has > > asked CMake to find a package configuration file provided by "Arrow", > but > > CMake did not find one. > > > > Could not find a package configuration file provided by "Arrow" with > any > > of > > the following names: > > > > ArrowConfig.cmake > > arrow-config.cmake > > > > Add the installation prefix of "Arrow" to CMAKE_PREFIX_PATH or set > > "Arrow_DIR" to a directory containing one of the above files. If > "Arrow" > > provides a separate development package or SDK, be sure it has been > > installed. > > > > > > -- Configuring incomplete, errors occurred! > > See also "C:/temp/build/CMakeFiles/CMakeOutput.log". > > (temp) PS C:\temp\build> conda list | findstr "arrow" > > arrow-cpp 8.0.0 py310h38b8b19_0 > > pyarrow 8.0.0 py310h26aae1b_0 > > > > On Fri, Aug 19, 2022 at 3:21 PM Keith Kraus <keith.j.kr...@gmail.com> > > wrote: > > > > > All recent patches and updates have only been made to 8.0.1, but if you > > > share the package version you're using I was planning to poke around > and > > > see if it turns out there's a broken package. That being said, I don't > > see > > > any changes in the commit history for the conda-forge package that > should > > > have changed CMake handling between 8.0.0 and 8.0.1. > > > > > > -Keith > > > > > > On Fri, Aug 19, 2022 at 1:31 PM Niranda Perera < > niranda.per...@gmail.com > > > > > > wrote: > > > > > > > Hi Keith, > > > > Interestingly it was working with 8.0.1. So, I am guessing 8.0.0 > > Windows > > > > artifacts have been overridden by the point release? > > > > > > > > On Fri, Aug 19, 2022 at 12:00 PM Keith Kraus < > keith.j.kr...@gmail.com> > > > > wrote: > > > > > > > > > Hey Niranda, > > > > > > > > > > Could you share exactly which 8.0.0 package you have installed? The > > > > output > > > > > of `conda list arrow-cpp` should show it. > > > > > > > > > > On Thu, Aug 18, 2022 at 9:37 PM Niranda Perera < > > > niranda.per...@gmail.com > > > > > > > > > > wrote: > > > > > > > > > > > This issue is not there in v9.0.0 as well. > > > > > > > > > > > > On Thu, Aug 18, 2022 at 9:34 PM Niranda Perera < > > > > niranda.per...@gmail.com > > > > > > > > > > > > wrote: > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > I have Arrow v8.0.0 installed in my conda environment. Cmake > > > > (v3.24.0) > > > > > is > > > > > > > unable to find Arrow in Windows OS. I have no trouble running > it > > in > > > > > Linux > > > > > > > though. We have been previously using arrow v5.0.0 and haven't > > had > > > > any > > > > > > > trouble (I have verified it in a new conda env). > > > > > > > > > > > > > > CMakeLists.txt > > > > > > > > > > > > > > cmake_minimum_required(VERSION 3.22) > > > > > > > project(temp VERSION 1.0 LANGUAGES CXX) > > > > > > > > > > > > > > find_package(Arrow REQUIRED) > > > > > > > message("Arrow_Found ${ARROW_FOUND}") > > > > > > > message("Arrow_VERSION ${ARROW_VERSION}") > > > > > > > message("Arrow_FULL_SO_VERION ${ARROW_FULL_SO_VERSION}") > > > > > > > > > > > > > > > > > > > > > Error in windows: > > > > > > > > > > > > > > CMake Error at CMakeLists.txt:5 (find_package): > > > > > > > By not providing "FindArrow.cmake" in CMAKE_MODULE_PATH this > > > > project > > > > > > has > > > > > > > asked CMake to find a package configuration file provided by > > > > "Arrow", > > > > > > but > > > > > > > CMake did not find one. > > > > > > > > > > > > > > Could not find a package configuration file provided by > "Arrow" > > > > with > > > > > > any > > > > > > > of > > > > > > > the following names: > > > > > > > > > > > > > > ArrowConfig.cmake > > > > > > > arrow-config.cmake > > > > > > > > > > > > > > Add the installation prefix of "Arrow" to CMAKE_PREFIX_PATH > or > > > set > > > > > > > "Arrow_DIR" to a directory containing one of the above files. > > If > > > > > > "Arrow" > > > > > > > provides a separate development package or SDK, be sure it > has > > > been > > > > > > > installed. > > > > > > > > > > > > > > What could be the issue here? > > > > > > > > > > > > > > Best > > > > > > > -- > > > > > > > Niranda Perera > > > > > > > https://niranda.dev/ > > > > > > > @n1r44 <https://twitter.com/N1R44> > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Niranda Perera > > > > > > https://niranda.dev/ > > > > > > @n1r44 <https://twitter.com/N1R44> > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Niranda Perera > > > > https://niranda.dev/ > > > > @n1r44 <https://twitter.com/N1R44> > > > > > > > > > > > > > -- > > Niranda Perera > > https://niranda.dev/ > > @n1r44 <https://twitter.com/N1R44> > > > -- Niranda Perera https://niranda.dev/ @n1r44 <https://twitter.com/N1R44>