CMAKE + CUDA + Visual Studio 2015

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

CMAKE + CUDA + Visual Studio 2015

Rodrigo
I am trying to compile PCL + CUDA(8.0 or 9.1) + Visual Studio 2015, but CMAKE
does not generate CUDA C/C++ option in project properties. And when I try
compile, without this option enabled, Visual Studio shows me errors like
LINK :

fatal error LNK1104: cannot open file
C:\XXX\pcl_cuda_features_generated_normal_3d.cu.obj



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: CMAKE + CUDA + Visual Studio 2015

tiagotas
Hello Rodrigo!

Do you really need to compile? I've had the same problem for weeks.
I used Microsoft vcpkg to install PCL on Windows. But it works only in
Visual Studio 2017.

Look this => http://unanancyowen.com/en/pcl-vcpkg/

I hope this helps you.



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: CMAKE + CUDA + Visual Studio 2015

Rodrigo
Hi,

Thanks for your reply

I need CUDA suport, can I use vcpkg to install PCL with CUDA on windows?


Thx



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: CMAKE + CUDA + Visual Studio 2015

tiagotas
Probably.

look this => https://docs.microsoft.com/pt-br/cpp/vcpkg

Just a tip: unistall the cmake before run vcpkg. I had a problem in this
situation.



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: CMAKE + CUDA + Visual Studio 2015

Rodrigo
Thx, after some changes in PCL_SamplesConsensus I could build with VCPKG.



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users