PCL and Visual Studio 2013

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

PCL and Visual Studio 2013

Avik
I am new to PCL and intend to develop on VS 2013 targeting 64 bit Win 8 and Windows Phone 8. Having browsed the WWW especially this community, I realized that it is going to be a tough job just to prepare the development environment for it, since the originator of http://www.pcl-users.org/About-PCL-installation-for-Windows-8-and-Visual-Studio-2012-64bit-td4027326.html didn’t get too many replies. I would be happy to prepare a detailed well explained document on how to build independently all the dependent third party libraries and PCL itself for VS2013 and possibly 2012/2010 in the process with the help of the members of this community.
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

VictorLamoine
Administrator
Hello,

Welcome to PCL, if you want to contribute maybe it is a good idea to write a tutorial :
https://github.com/PointCloudLibrary/pcl/blob/master/CONTRIBUTING.md

The tutorials are written in ReStructuredText: https://en.wikipedia.org/wiki/ReStructuredText
To add a tutorial you need to modify https://github.com/PointCloudLibrary/pcl/tree/master/doc/tutorials/content/index.rst and then add the tutorial (st, images) files.

Bye
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

Avik
Thanks Victor, I plan to do that, but as I started on the project, I will be happy to get some help and input from users who have some experience (maybe with previous versions of Visual Studio) that have managed to do it and have some good ideas. One thing that will not help is CMake since it works with very old versions.
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

erickulcyk
Hello,

"One thing that will not help is CMake since it works with very old versions."  What?  CMake works fine for any version of PCL-VS as far as I know.

One thing you will need is OpenNi2 instead of OpenNi.  Discussion about this is available on http://www.pcl-developers.org/OpenNI-2-Support-what-is-the-status-td5708097i40.html#a5709376.  The repo is available here: https://github.com/kwaegel/pcl/tree/openni2_pullrequest.  Other than that, boost and qt 4.8.5 are available as binaries for 2013 64 bit, so don't bother compiling them.  I think FLANN has a minor error in the CMake files in that it doesn't detect you are using VS properly so it adds gcc flags.  Be sure to get Flann from github, not the .zip on the website.  Eigen should have no problems though.  At some point I would like to make a video going through this process because I feel its easier to put more information into than a written tutorial.  BTW, I'm interested as well in a WP8 port.

Eric


On Mon, May 12, 2014 at 7:56 AM, Avik <[hidden email]> wrote:
Thanks Victor, I plan to do that, but as I started on the project, I will be
happy to get some help and input from users who have some experience (maybe
with previous versions of Visual Studio) that have managed to do it and have
some good ideas. One thing that will not help is CMake since it works with
very old versions.



--
View this message in context: http://www.pcl-users.org/PCL-and-Visual-Studio-2013-tp4033926p4033931.html
Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



--

:(){:|:&};:

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

Re: PCL and Visual Studio 2013

Avik
Thanks Eric (I think). Unfortunately for me CMake refused to create a VS project (I use v 2.8.12.2). Yes, I use OpenNI2, and VS2013 is VS12 (that is how MS is installing it). However I may be doing something terribly wrong with CMake so I’d better try it again. As for a tutorial, it has some merits. It is easy to flip from page to page, and if written well it is great. I have authored books before so I think I can do a good job of it. I’d be very glad if you could assist me in the annoying stuff of smoothing out the CMake stuff.
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

erickulcyk
Sure, what CMake outputting?  Are you using cmake-gui, it is a much nicer interface than the command line for windows.  And I agree a written tutorial would be helpful, I just wanted to make a video one in addition for anyone who would prefer it.

Eric


On Mon, May 12, 2014 at 9:37 AM, Avik <[hidden email]> wrote:
Thanks Eric (I think). Unfortunately for me CMake refused to create a VS
project (I use v 2.8.12.2). Yes, I use OpenNI2, and VS2013 is VS12 (that is
how MS is installing it). However I may be doing something terribly wrong
with CMake so I’d better try it again. As for a tutorial, it has some
merits. It is easy to flip from page to page, and if written well it is
great. I have authored books before so I think I can do a good job of it.
I’d be very glad if you could assist me in the annoying stuff of smoothing
out the CMake stuff.



--
View this message in context: http://www.pcl-users.org/PCL-and-Visual-Studio-2013-tp4033926p4033936.html
Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



--

:(){:|:&};:

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

Re: PCL and Visual Studio 2013

Avik
Yes, I used the GUI. I'll have another go on it tomorrow morning (it's evening here). If I fail again, I'll post all the details. BTW, for WP you need to build everything from scratch, since it runs on ARM, and available libraries for Windows will not work.
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

kwaegel
Administrator
FYI, OpenNI2 support was just added to trunk, so you shouldn't need to use my personal branch anymore.

I have some build notes for VS2012 that I use, and it works just fine. The VS2013 build process should be similar.

I'm not personally upgrading to VS2013 until nVidia releases CUDA support, which is expected later this summer.
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

Omar Alvarez
In reply to this post by Avik
I got PCL to compile using VS2012, I am in the process of switching to VS2013. If you cannot get it to compile I'll try to help. I compiled PCL 1.7.1 without OpenNI since I din't needed. Did not try PCL trunk.
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

Avik
In reply to this post by kwaegel
Thanks, I am studying all the 3rd party libraries, since as I mentioned before, I need to build them all for WP 8. At the moment boost is the one I'll have to work the most since they use JAM for the build. So I have to read all the jam files and convert them to CMake. So by the time I got all these sorted out I'll on the OpenNI2 grabber for VS you mentioned.
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

Avik
In reply to this post by Omar Alvarez
Thanks, As I mentioned to kwaegel one of my problems is I need to build everything and can't use binary libraries. But if I do face problems I'll surely try to get your help, thanks.
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

Roland Schwarz
In reply to this post by Avik
Hi!

I am not currently actively using pcl but I suspect the lib is making
use of boost.
If so, it might be of interest to you, that the boost lib doesn't yet
"officially" support msvc-12.0 i.e Visual Studio 2013.

(AFAIK)

Roland

_____________________________________________

RIEGL Laser Measurement Systems GmbH
Riedenburgstra�e 48, 3580 Horn, Austria
Registered at Landesgericht Krems, FN 40233 t

________________________________ Disclaimer _______________________________

This email and any files attached  are intended for the  addressee  and may
contain  information of a confidential  nature. If you are not the intended
recipient, be aware that this email was sent to you in error and you should
not disclose,  distribute, print,  copy or make  other use of this email or
its attachments.  In that case please  notify us by return email, and erase
all copies of the message and attachments. Thank you.
RIEGL  reserves the right to monitor  (and examine for viruses)  all emails
and email  attachments, both inbound and outbound. Email communications and
their attachments  may not be secure or error- or  virus- free and the com-
pany does not accept  liability or  responsibility for such  matters or the
consequences thereof.

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

Re: PCL and Visual Studio 2013

Łukasz Groszkowski
You can get boost for msvc-12 from their website (http://www.boost.org/users/history/version_1_55_0.html) and you can even get binaries, but without serialization library. I'm working on compiling PCL myself and I guess I was somehow successful. I've compiled PCL using msvc-12 and launched visualizer and some methods.
cheers,
Lukasz
W dniu 2014-05-14 13:12, Roland Schwarz pisze:
Hi!

I am not currently actively using pcl but I suspect the lib is making use of boost.
If so, it might be of interest to you, that the boost lib doesn't yet "officially" support msvc-12.0 i.e Visual Studio 2013.

(AFAIK)

Roland

_____________________________________________

RIEGL Laser Measurement Systems GmbH
Riedenburgstra�e 48, 3580 Horn, Austria
Registered at Landesgericht Krems, FN 40233 t

________________________________ Disclaimer _______________________________

This email and any files attached  are intended for the  addressee  and may
contain  information of a confidential  nature. If you are not the intended
recipient, be aware that this email was sent to you in error and you should
not disclose,  distribute, print,  copy or make  other use of this email or
its attachments.  In that case please  notify us by return email, and erase
all copies of the message and attachments. Thank you.
RIEGL  reserves the right to monitor  (and examine for viruses)  all emails
and email  attachments, both inbound and outbound. Email communications and
their attachments  may not be secure or error- or  virus- free and the com-
pany does not accept  liability or  responsibility for such  matters or the
consequences thereof.


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


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

Re: PCL and Visual Studio 2013

kellp
In reply to this post by kwaegel
Hi, Please I am a bit new with PCL
But I have been trying to compile it with visual studio 2012 almost 3 days. and I get a lot of errors :(

I think some of them are due to the compatibility of the dependencies.
@kwaegel, Please I saw that you managed to successfully build with OPENNi 2 . can you please tell me or give me a link where to download the version of the source code (OPENNI2) that you used? the link that you mentioned in  your "build notes" is not working.
Also can you tell me which version of VTK you used(VTK 5.10 or 5.8?)

Thank you.

And please can anyone update if they managed to build with visual studio 2013 too?

Thank you so much
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

kwaegel
Administrator
kellp wrote
Hi, Please I am a bit new with PCL
But I have been trying to compile it with visual studio 2012 almost 3 days. and I get a lot of errors :(

I think some of them are due to the compatibility of the dependencies.
@kwaegel, Please I saw that you managed to successfully build with OPENNi 2 . can you please tell me or give me a link where to download the version of the source code (OPENNI2) that you used? the link that you mentioned in  your "build notes" is not working.
Also can you tell me which version of VTK you used(VTK 5.10 or 5.8?)
Sorry about the broken link (I'll fix it). I don't compile OpenNI 2 from source, so try the binary installer available here.

I used VTK 5.10.1. Anything newish in the 5.x series should work, it's the jump to 6.x that causes issues.
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

kellp
Hi kwaegel, thank you very much for your reply and the details. I had actually tried with these versions of OPENNI2 and VTK . Anyway I will give it another try. Also, just to confirm, did you build PCL 1.7.0 or PCL 1.7.1 ?
Thank you
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

erickulcyk
Please use the latest version from the github trunk  (git clone https://github.com/PointCloudLibrary/pcl.git) instead of the 1.7 or 1.7.1 releases.  The releases do not have the OpenNi2 grabber in them.

Eric


On Thu, May 15, 2014 at 7:40 AM, kellp <[hidden email]> wrote:
Hi kwaegel, thank you very much for your reply and the details. I had
actually tried with these versions of OPENNI2 and VTK . Anyway I will give
it another try. Also, just to confirm, did you build PCL 1.7.0 or PCL 1.7.1
?
Thank you



--
View this message in context: http://www.pcl-users.org/PCL-and-Visual-Studio-2013-tp4033926p4034008.html
Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



--

:(){:|:&};:

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

Re: PCL and Visual Studio 2013

pawkro
How about building PCL with Visual Studio 2013, VTK 6.1.0 and BOOST 1.55.0? Can you try this Avik ?
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

Avik
I am trying to create a correct CMake version of boost 1.55
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Visual Studio 2013

pawkro
Any progress Avik?
12