Skip to content
New issue

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

PCL CUDA build issues #3650

Closed
chrispduck opened this issue Feb 16, 2020 · 6 comments
Closed

PCL CUDA build issues #3650

chrispduck opened this issue Feb 16, 2020 · 6 comments
Labels
kind: question Type of issue module: cuda needs: author reply Specify why not closed/merged yet status: stale

Comments

@chrispduck
Copy link

chrispduck commented Feb 16, 2020

Is there an up-to-date PCL CUDA/GPU installation guide? I am getting several CUDA errors when building PCL CUDA with CUDA 9.0. These issues were outline in the following post but no solution is working for me. I've tried to compile both PCL 1.9 and PCL 1.10 with CUDA 9.0 and am getting errors the same as here. Pasted below for reference:

I seem to have a related compilation error with the same build.
This has been a major bottleneck in my project, hence any help is greatly appreciated!

  • Operating System and version: Ubuntu 16.04
  • CUDA: 9.0
  • PCL Version: 1.9.1
[ 44%] Building NVCC (Device) object gpu/utils/CMakeFiles/pcl_gpu_utils.dir/src/pcl_gpu_utils_generated_repacks.cu.o
/home/funaizhang/Downloads/pcl/gpu/utils/src/repacks.cu(84): error: identifier "copy_fields_t" is undefined

/home/funaizhang/Downloads/pcl/gpu/utils/src/repacks.cu(84): error: expected a ";"

/home/funaizhang/Downloads/pcl/gpu/utils/src/repacks.cu(96): error: namespace "pcl::device" has no member "copy_fields_t"

3 errors detected in the compilation of "/tmp/tmpxft_0000124e_00000000-13_repacks.compute_70.cpp1.ii".
CMake Error at pcl_gpu_utils_generated_repacks.cu.o.cmake:268 (message):
  Error generating file
  /home/funaizhang/Downloads/pcl/release/gpu/utils/CMakeFiles/pcl_gpu_utils.dir/src/./pcl_gpu_utils_generated_repacks.cu.o


gpu/utils/CMakeFiles/pcl_gpu_utils.dir/build.make:241: recipe for target 'gpu/utils/CMakeFiles/pcl_gpu_utils.dir/src/pcl_gpu_utils_generated_repacks.cu.o' failed
make[2]: *** [gpu/utils/CMakeFiles/pcl_gpu_utils.dir/src/pcl_gpu_utils_generated_repacks.cu.o] Error 1
CMakeFiles/Makefile2:1283: recipe for target 'gpu/utils/CMakeFiles/pcl_gpu_utils.dir/all' failed
make[1]: *** [gpu/utils/CMakeFiles/pcl_gpu_utils.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Originally posted by @Funaizhang in #2541 (comment)

To summarise:
What are the current guidelines for installing PCL with GPU/CUDA support for UBUNTU 16.04? CUDA 10.0, CUDA 9.0 or older?
Are there any guides for implementing PCL GPU C++ code once installed? I am struggling to find documentation and examples. I would like to have GPU support for ICP registration, and for other segmentation algortihms.

Any help would be hugely appreciated.

@taketwo taketwo added the kind: question Type of issue label Mar 3, 2020
@hyc-xyz
Copy link
Contributor

hyc-xyz commented Mar 11, 2020

I have the same question here

@kunaltyagi
Copy link
Member

I'm not an active user of PCL cuda, but I use latest GCC for source, latest (nvcc + most recent compatible gcc) for device files compilation

@stale
Copy link

stale bot commented May 19, 2020

Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.

@stale stale bot added the status: stale label May 19, 2020
@kunaltyagi
Copy link
Member

AFAIK, CUDA 9 isn't compatible with PCL with default dependencies. We're still figuring out the minimum versions and an updated Dockerfile will be available soon thanks to @haritha-j and @shrijitsingh99

@stale stale bot removed the status: stale label May 19, 2020
@stale
Copy link

stale bot commented Jun 20, 2020

Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.

@stale stale bot added the status: stale label Jun 20, 2020
@kunaltyagi
Copy link
Member

CUDA is now built on the CI. Thanks to @shrijitsingh99, you can find the configuration in the Ubuntu 18.04 Clang CI. Please refer to Ubuntu Dockerfile for dependencies

@kunaltyagi kunaltyagi added the needs: author reply Specify why not closed/merged yet label Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: question Type of issue module: cuda needs: author reply Specify why not closed/merged yet status: stale
Projects
None yet
Development

No branches or pull requests

4 participants