[Fixed] Build CloudCompare with PCl1.7

Any question about other libraries used in this project
Post Reply
nanshanheelong
Posts: 7
Joined: Mon Aug 12, 2013 11:56 am
Location: wuhan,China

[Fixed] Build CloudCompare with PCl1.7

Post by nanshanheelong »

Hi Daniel
I want to build CloudCompare with pcl1.7 because some class only have in pcl1.7.but when I build it,it has a lot of wrong.Does it means CloudCompare can only build with pcl1.6 but can't build with pcl1.7?
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Build CloudCompare with PCl1.7

Post by daniel »

I think I already compiled CC with the 1.7.0 version (not absolutely sure though, I'm not using the same computer right now ;).

What is your subversion? And what are the errors?
Daniel, CloudCompare admin
nanshanheelong
Posts: 7
Joined: Mon Aug 12, 2013 11:56 am
Location: wuhan,China

Re: Build CloudCompare with PCl1.7

Post by nanshanheelong »

daniel wrote:I think I already compiled CC with the 1.7.0 version (not absolutely sure though, I'm not using the same computer right now ;).

What is your subversion? And what are the errors?
When I build CC with 1.7.0 version,it can't find the include path of pcl.But when I build CC with CMake is OK.And the problem is that I add the include path in it ,it still can't go through,it come out a lot of errors.

Code: Select all

error 927	error C2653: “sensor_msgs”: is not a class or namespace E:\OpenSource\OpenLidar\CloudCompare\trunk-2.5.0\qCC\plugins\qPCL\PclUtils\utils\filtering.h	121
you means you know how to build CC with pcl1.7,can you just tell me what the steps to do it,and what shoud i be carefull when i do it.
thank you very much and best wishs.
nanshanheelong
Posts: 7
Joined: Mon Aug 12, 2013 11:56 am
Location: wuhan,China

Re: Build CloudCompare with PCl1.7

Post by nanshanheelong »

daniel wrote:I think I already compiled CC with the 1.7.0 version (not absolutely sure though, I'm not using the same computer right now ;).

What is your subversion? And what are the errors?
hi,daniel
I think I know what are the errors now .PCL1.7.0 do not have the namespace "sensor_msgs" and it don't have class pointcloud2,that is the errors.
this is the class list of pcl1.7.0

Code: Select all

http://docs.pointclouds.org/1.7.0/annotated.html
and this is the class list of pcl1.6.0

Code: Select all

http://docs.pointclouds.org/1.7.0/annotated.html
So,what should I do is OK?
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Build CloudCompare with PCl1.7

Post by daniel »

Well, I'm not sure to understand because PCL 1.7 do has a PointCloud2 class:
http://docs.pointclouds.org/trunk/struc ... loud2.html

Maybe you just have to explicitely include <sensor_msgs/PointCloud2.h> ?
Daniel, CloudCompare admin
nanshanheelong
Posts: 7
Joined: Mon Aug 12, 2013 11:56 am
Location: wuhan,China

Re: Build CloudCompare with PCl1.7

Post by nanshanheelong »

daniel wrote:Well, I'm not sure to understand because PCL 1.7 do has a PointCloud2 class:
http://docs.pointclouds.org/trunk/struc ... loud2.html

Maybe you just have to explicitely include <sensor_msgs/PointCloud2.h> ?
hi daniel
thank you very much,but I think you were wrong.I had slove this problem,maybe you can look this:https://github.com/PointCloudLibrary/pc ... n-progress.
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Build CloudCompare with PCl1.7

Post by daniel »

Indeed, the project can now be compiled with PCL 1.7 (to compile with older versions, one has to check the CMake 'PCL_VER_1_6_OR_OLDER' option).
Daniel, CloudCompare admin
Post Reply