Building PCL 1.8 error while building pcl_sample_consensus

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

Building PCL 1.8 error while building pcl_sample_consensus

aram
I download latest codes from github.
I use VS2010 and configure project with CMake, but when I try to build pcl_sample_consensus, I get these error:

error C2487: 'pcl::SampleConsensusModel<PointT>::isModelValid' : member of dll interface class may not be declared with dll interface D:\Point Cloud\include\pcl\sample_consensus\sac_model_normal_sphere.h 69 1 pcl_sample_consensus


Reply | Threaded
Open this post in threaded view
|

Re: Building PCL 1.8 error while building pcl_sample_consensus

VictorLamoine
Administrator
This post was updated on .
This will be taken care of soon:
https://github.com/PointCloudLibrary/pcl/pull/1367#issuecomment-149124248


Thanks for the report!
Reply | Threaded
Open this post in threaded view
|

Re: Building PCL 1.8 error while building pcl_sample_consensus

aram
Thanks, hope so, because I need to use it, but can't build PCL 1.8.

PS:
Maybe you have some prebuild binaries of PCL 1.8 or 1.7 for vs2010 and windows?
Reply | Threaded
Open this post in threaded view
|

Re: Building PCL 1.8 error while building pcl_sample_consensus

VictorLamoine
Administrator
It has been fixed in PCL trunk: https://github.com/PointCloudLibrary/pcl/pull/1388.
You should be able to built now after updating you local clone.

No I don't, however for the next release there should be binaries (an all-in-one installer) available; see
http://www.pcl-developers.org/Re-About-PCL-All-in-one-Installer-td5709976.html
Reply | Threaded
Open this post in threaded view
|

Re: Building PCL 1.8 error while building pcl_sample_consensus

aram
Ok, thanks.
It would be great)
Reply | Threaded
Open this post in threaded view
|

Re: Building PCL 1.8 error while building pcl_sample_consensus

Sergey
Administrator
Hi,

The fix has been merged. Please give it a try and let us know if the problem persists.

Regards,
Sergey