Skip to content

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

@weeeeeeee-der

Description

@weeeeeeee-der

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的推理库头文件中才有,请问应该怎么解决

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions