Closed TKONIY closed 2 years ago
You're getting undefined references to GTest symbols. I believe you need to also link against Google Test like we do in our test configuration: https://github.com/rapidsai/cudf/blob/28813d74ba9bf4bb5750eb7b368139be418e9ece/cpp/tests/CMakeLists.txt#L34
Oh, I think the problem is that you're linking against the .so
and .a
directly instead of linking against the cudf
and cudftestutil
cmake targets.
Checkout the basic
libcudf example and it's CMake file using CPM to fetch libcudf and linking against the exported cmake targets. https://github.com/rapidsai/cudf/blob/28813d74ba9bf4bb5750eb7b368139be418e9ece/cpp/examples/basic/CMakeLists.txt#L29
Thanks a lot. I'm not familiar with CMake and CPM. Now I use the CMakeLists.txt
in basic
libcudf example, but got the error.
CMake Error at cmake-build-debug-dbgroup-v100s/_deps/cudf-src/cpp/cmake/thirdparty/get_arrow.cmake:144 (find_package):
By not providing "FindArrowCUDA.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ArrowCUDA", but CMake did not find one.
Could not find a package configuration file provided by "ArrowCUDA" with
any of the following names:
ArrowCUDAConfig.cmake
arrowcuda-config.cmake
Add the installation prefix of "ArrowCUDA" to CMAKE_PREFIX_PATH or set
"ArrowCUDA_DIR" to a directory containing one of the above files. If
"ArrowCUDA" provides a separate development package or SDK, be sure it has
been installed.
I have installed Apache Arrow using following script from the official cite. What else should I do?
This issue has been labeled inactive-30d
due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d
if there is no activity in the next 60 days.
This issue has been labeled inactive-90d
due to no recent activity in the past 90 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed.
I want to use some utilities in libcudftestutil.a but got some problems. Here's my program.
Here's my CMakeLists.txt.
Here's part of the log.