TensorRT-Alpha icon indicating copy to clipboard operation
TensorRT-Alpha copied to clipboard

yolov8 vs项目生成报错

Open pcycccccc opened this issue 1 year ago • 3 comments

之前做过v8的C++部署(CPU和GPU的都已跑通),最近想要尝试TensorRT部署方式(听说这种部署方式能够很好地发挥GPU的性能),按照步骤,配置完环境后报错MSB3721, image 我的环境是: CUDA 11.8 opencv 4.7.0 TensorRT GA8.6 项目的环境: 包含目录 image 库目录 image 链接器的输入 image 预处理器:_CRT_SECURE_NO_WARNINGS 关于4个与cuda编译有关的文件的属性页: image 项目的代码文件: image

我不知道是哪里有问题,希望大佬能帮忙看看,指导一下,感谢!

pcycccccc avatar Mar 22 '24 02:03 pcycccccc

@pcycccccc 在vs上添加cuda依赖,最好不要手动设置,去cuda安装路径搜索属性表: xxxxxxxxxxx.props, 直接添加进vs工程

FeiYull avatar Mar 27 '24 00:03 FeiYull

@pcycccccc 在vs上添加cuda依赖,最好不要手动设置,去cuda安装路径搜索属性表: xxxxxxxxxxx.props, 直接添加进vs工程

好的,我试试!!

pcycccccc avatar Mar 28 '24 01:03 pcycccccc

解决了吗?相同报错

changbinyyyy avatar Oct 14 '24 16:10 changbinyyyy