在我的nvidia jetbot上使用catkin_make命令构建包jetbot_ros时出现错误。 附加了错误日志,我正在关注此链接(https://github.com/dusty-nv/jetbot_ros#build-jetbot_ros)。
/home/jetbot/workspace/catkin_ws/src/jetbot_ros/src/image_converter.cpp:83:18: 错误:未在此范围内声明“ cudaBGR8ToRGBA32”
if(CUDA_FAILED(cudaBGR8ToRGBA32((uchar3 *)mInputGPU,(float4 *)mOutputGPU,mWidth,mHeight)))
make [2]:[jetbot_ros / CMakeFiles / jetbot_camera.dir / src / image_converter.cpp.o]错误1 CMakeFiles / Makefile2:615:目标'jetbot_ros / CMakeFiles / jetbot_camera.dir / all'的配方失败 make [1]:jetbot_ros / CMakeFiles / jetbot_camera.dir / all]错误2 Makefile:140:目标“全部”的配方失败 make:[全部]错误2 调用“ make -j2 -l2”失败