Page 1 of 1

[Fixed] Build CloudCompare with PCl1.7

Posted: Sat Sep 14, 2013 8:15 am
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?

Re: Build CloudCompare with PCl1.7

Posted: Sat Sep 14, 2013 11:47 am
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?

Re: Build CloudCompare with PCl1.7

Posted: Sat Sep 14, 2013 1:13 pm
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.

Re: Build CloudCompare with PCl1.7

Posted: Sun Sep 15, 2013 4:43 am
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?

Re: Build CloudCompare with PCl1.7

Posted: Sun Sep 15, 2013 7:19 am
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> ?

Re: Build CloudCompare with PCl1.7

Posted: Sun Sep 15, 2013 9:22 am
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.

Re: Build CloudCompare with PCl1.7

Posted: Fri Nov 22, 2013 5:00 pm
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).