Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Benson Muite
On 2/2/22 7:40 PM, Li Jin wrote: David - Will give it a try. I am using Apple clang 12 on MacOS. Related issue https://issues.apache.org/jira/browse/ARROW-15531

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
David - Will give it a try. I am using Apple clang 12 on MacOS.

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread David Li
Glad to hear it. A PR would be much appreciated, but I think we just need to declare the function static inline, or move its body to a .cc file (since it is used). Which compiler/version are you using? (Presumably some variant of Clang on MacOS?) On Wed, Feb 2, 2022, at 11:24, Li Jin wrote: >

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
David Li - Thanks! -DBUILD_WARNING_LEVEL=PRODUCTION does the trick! I am happy to submit a PR to remove the used function if that's the proper way to fix this. Benson - I think I got this on fresh build too with -DARROW_COMPUTE=ON (I am using the preset ninja-debug-basic) On Wed, Feb 2, 2022 at

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Benson Muite
Perhaps try a fresh build in a clean build directory. Most testing has been on Clang 11. Also check your other options, is -DARROW_COMPUTE=ON set? On 2/2/22 6:46 PM, Li Jin wrote: Thanks! -DARROW_DEPENDENCY_SOURCE=BUNDLED seems to do the trick - I can build without adding find_package! Altho

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread David Li
- skipped >> > >> > -- Detecting CXX compile features >> > >> > -- Detecting CXX compile features - done >> > >> > -- Found Boost: /usr/local/lib/cmake/Boost-1.76.0/BoostConfig.cmake >> (found >> > version "1.76.0&quo

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
> > On Wed, Feb 2, 2022 at 9:32 AM Li Jin wrote: > > > >> Yep, Here it is! > >> > >> https://gist.github.com/icexelloss/db0e5df214addd63dc4ab0570ca7ee30 > >> > >> On Tue, Feb 1, 2022 at 6:28 PM Sutou Kouhei wrote: > >> > >>> Hi, &

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Benson Muite
8 PM Sutou Kouhei wrote: Hi, Could you upload the log to something such as https://gist.github.com/ and share the URL? Thanks, -- kou In "Re: Building Arrow Cpp: Cannot find Boost on MacOS" on Tue, 1 Feb 2022 16:47:45 -0500, Li Jin wrote: Hi! I ran "cmake

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
-- Found Boost: /usr/local/lib/cmake/Boost-1.76.0/BoostConfig.cmake (found > version "1.76.0") found components: program_options > > " > > On Wed, Feb 2, 2022 at 9:32 AM Li Jin wrote: > >> Yep, Here it is! >> >> https://gist.github.com/icexelloss/db0e5df214addd63dc4ab

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
t is! > > https://gist.github.com/icexelloss/db0e5df214addd63dc4ab0570ca7ee30 > > On Tue, Feb 1, 2022 at 6:28 PM Sutou Kouhei wrote: > >> Hi, >> >> Could you upload the log to something such as >> https://gist.github.com/ and share the URL? >> >> >&g

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
s://github.com/apache/arrow/runs/5017148285?check_suite_focus=true#step:7:183 > >> > >> -- Found Boost: /usr/local/lib/cmake/Boost-1.76.0/BoostConfig.cmake > >> (found suitable version "1.76.0", minimum required is "1.64") found > >> components: syst

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-01 Thread Sutou Kouhei
Hi, Could you upload the log to something such as https://gist.github.com/ and share the URL? Thanks, -- kou In "Re: Building Arrow Cpp: Cannot find Boost on MacOS" on Tue, 1 Feb 2022 16:47:45 -0500, Li Jin wrote: > Hi! > > I ran > > "cmake .. -DARROW_

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-01 Thread Li Jin
Found Boost: /usr/local/lib/cmake/Boost-1.76.0/BoostConfig.cmake > (found suitable version "1.76.0", minimum required is "1.64") found > components: system filesystem > -- Boost include dir: /usr/local/include > -- Boost libraries: Boost::system;Boost::filesystem > &

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-01 Thread Sutou Kouhei
version "1.76.0", minimum required is "1.64") found components: system filesystem -- Boost include dir: /usr/local/include -- Boost libraries: Boost::system;Boost::filesystem Thanks, -- kou In "Building Arrow Cpp: Cannot find Boost on MacOS" on Tue, 1 Feb 2022 16

Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-01 Thread Li Jin
Hello! I am new to the Arrow cpp code and play with it a little. Unfortunately I hit this error when trying to cmake with preset "ninja-debug-basic". I wonder if anyone else has hit an similar issue? cmake .. --preset ninja-debug-basic ... -- ARROW_ZSTD_BUILD_VERSION: v1.5.1 -- ARROW_ZSTD_BUIL