We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-DARROW_CSV=ON
cd cpp mkdir build-release cd build-release cmake .. \ -DARROW_BUILD_EXAMPLES=ON \ -DARROW_DATASET=ON \ -DARROW_PARQUET=ON make -j
[ 95%] Linking CXX executable ../../release/join-example /usr/bin/ld: CMakeFiles/join-example.dir/join_example.cc.o: in function `CreateDataSetFromCSVData(bool)': join_example.cc:(.text+0x2fd): undefined reference to `arrow::csv::ReadOptions::Defaults()' /usr/bin/ld: join_example.cc:(.text+0x30d): undefined reference to `arrow::csv::ParseOptions::Defaults()' /usr/bin/ld: join_example.cc:(.text+0x322): undefined reference to `arrow::csv::ConvertOptions::Defaults()' /usr/bin/ld: join_example.cc:(.text+0x3bf): undefined reference to `arrow::csv::TableReader::Make(arrow::io::IOContext, std::shared_ptr<arrow::io::InputStream>, arrow::csv::ReadOptions const&, arrow::csv::ParseOptions const&, arrow::csv::ConvertOptions const&)' collect2: error: ld returned 1 exit status make[2]: *** [examples/arrow/CMakeFiles/join-example.dir/build.make:90: release/join-example] Error 1 make[1]: *** [CMakeFiles/Makefile2:1909: examples/arrow/CMakeFiles/join-example.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
Add -DARROW_CSV=ON option.
cmake .. \ -DARROW_BUILD_EXAMPLES=ON \ -DARROW_DATASET=ON \ -DARROW_PARQUET=ON \ -DARROW_CSV=ON make -j
Put these lines in an additional condition.
arrow/cpp/examples/arrow/CMakeLists.txt
Lines 140 to 141 in 1ae666c
if(ARROW_CSV) add_arrow_example(join_example EXTRA_LINK_LIBS ${DATASET_EXAMPLES_LINK_LIBS}) add_dependencies(join-example parquet) endif()
Environment: % uname -a Linux XXX 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Reporter: Sho Nakatani Assignee: Sho Nakatani
Note: This issue was originally created as ARROW-18149. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered:
Sho Nakatani: Created a pull-request: #14490
Sorry, something went wrong.
Yibo Cai / @cyb70289: Issue resolved by pull request 14490 #14490
No branches or pull requests
Reproducing the bug
Workaround
Add
-DARROW_CSV=ON
option.How to fix
Put these lines in an additional condition.
arrow/cpp/examples/arrow/CMakeLists.txt
Lines 140 to 141 in 1ae666c
Environment: % uname -a
Linux XXX 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Reporter: Sho Nakatani
Assignee: Sho Nakatani
PRs and other links:
Note: This issue was originally created as ARROW-18149. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: