Skip to content

编译paddle3D centerpoint自定义算子库libpd_infer_custom_op时报错 fatal error: paddle/include/experimental/ext_all.h: No such file or directory #495

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

Open
weeeeeeee-der opened this issue Mar 19, 2025 · 0 comments
Assignees

Comments

@weeeeeeee-der
Copy link

weeeeeeee-der commented Mar 19, 2025

paddle库版本2.6
cuda 11.4
平台是 jetson orin

显示报错
[ 16%] Building NVCC (Device) object CMakeFiles/pd_infer_custom_op.dir/custom_ops/pd_infer_custom_op_generated_voxelize_op.cu.o
[ 22%] Completed 'extern_boost'
[ 61%] Built target extern_boost
Scanning dependencies of target boost
[ 66%] Building C object CMakeFiles/boost.dir/boost_dummy.c.o
[ 72%] Linking C static library libboost.a
[ 72%] Built target boost
/mnt/cf/LiDAR/paddle3.0/Paddle3D/deploy/centerpoint/cpp/custom_ops/postprocess.cu:15:10: fatal error: paddle/include/experimental/ext_all.h: No such file or directory
15 | #include "paddle/include/experimental/ext_all.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/mnt/cf/LiDAR/paddle3.0/Paddle3D/deploy/centerpoint/cpp/custom_ops/voxelize_op.cu:15:10: fatal error: paddle/include/experimental/ext_all.h: No such file or directory
15 | #include "paddle/include/experimental/ext_all.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMake Error at pd_infer_custom_op_generated_postprocess.cu.o.cmake:220 (message):
Error generating
/mnt/cf/LiDAR/paddle3.0/Paddle3D/deploy/centerpoint/cpp/build/CMakeFiles/pd_infer_custom_op.dir/custom_ops/./pd_infer_custom_op_generated_postprocess.cu.o

CMake Error at pd_infer_custom_op_generated_voxelize_op.cu.o.cmake:220 (message):
Error generating
/mnt/cf/LiDAR/paddle3.0/Paddle3D/deploy/centerpoint/cpp/build/CMakeFiles/pd_infer_custom_op.dir/custom_ops/./pd_infer_custom_op_generated_voxelize_op.cu.o

make[2]: *** [CMakeFiles/pd_infer_custom_op.dir/build.make:98: CMakeFiles/pd_infer_custom_op.dir/custom_ops/pd_infer_custom_op_generated_postprocess.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/pd_infer_custom_op.dir/build.make:84: CMakeFiles/pd_infer_custom_op.dir/custom_ops/pd_infer_custom_op_generated_voxelize_op.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/pd_infer_custom_op.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
我查找生成的paddle c++推理库的头文件中确实没有这个文件,只有paddle2.3的推理库头文件中才有,请问应该怎么解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants