本人两次踩坑系列:目前VS2017与cuda9系列不兼容

5 篇文章 0 订阅

本人踩坑系列:目前VS2017与cuda9.2 无法成功编译PCL1.8.1源码(切记)

系统:Win10

IDE:VS2017

        目前通过Cmake3.13编译 PCL1.8.1 github源码中的cmakelists.txt得到的PCL.sln项目,再使用VS2017编译生成PCL无法成功,原因是CUDA9..0系列之后(包括9.1、9.2等)与VS2017存在不兼容现象。请看下面解释

        链接:https://github.com/PointCloudLibrary/pcl/issues/2177

I tried to build PCL 1.8.1-Dev with Windows 10, VS 2017, CUDA 9.1 without success too.

In these forums I found that there are incompatibilities between VS17 x CUDA91:
https://stackoverflow.com/questions/47645436/cuda-9-unsupported-error-with-vs-2017
https://stackoverflow.com/questions/46120769/visual-studio-2017-and-cuda-9-rc-still-do-not-work-together

These orientations from the first forum worked to me:

  1. Make sure that you have VC++ 2015.3 v140 toolset (can be installed either from web or Visual Studio installer)
  2. In the project properties (general) -> Platform toolset choose Visual Studio 2015 (v140).

所以大伙如果要编译PCL与cuda的源码,请使用VS2015与cuda9系列编译。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值