# PCL erros in my project

3 messages
Open this post in threaded view
|

## PCL erros in my project

 Hi everyone, I need some help! I have a project built in visual studio 2010. Now I want to integrate it with PCL. I installed everything using binaries provided on the site. I've set up all the vc++, additional include and additional lib directories, as well as the additional dependencies. When I try to compile it I get tons of erros like theses : C:\Program Files\PCL 1.3.0\include\pcl-1.3\pcl/correspondence.h(64): error C2589: '(' : illegal token on right side of '::' C:\Program Files\PCL 1.3.0\include\pcl-1.3\pcl/correspondence.h(64): error C2143: syntax error : missing ')' before '::' C:\Program Files\PCL 1.3.0\include\pcl-1.3\pcl/correspondence.h(64): error C2612: trailing '::' illegal in base/member initializer list C:\Program Files\PCL 1.3.0\include\pcl-1.3\pcl/correspondence.h(64): error C2589: '(' : illegal token on right side of '::' C:\Program Files\PCL 1.3.0\include\pcl-1.3\pcl/correspondence.h(64): error C2143: syntax error : missing ';' before '::' To clarify what I've did I will explain my steps! 1 - Successfully compiled the example in http://www.pointclouds.org/documentation/tutorials/openni_grabber.php#openni-grabber( using Cmake and vs 2010) 2- Copied all the settings from the tutorial project to my original project( directories ,dependencies and flags) Someone can help me with this? There are some way to use Cmake to setup everything for me? I mean, there are a way to use Cmake to integrate the PCL with my pre-existing project? Sorry about my english, but I'm not a native speaker. Thanks in advance.