about compiling on_nurbs module of pcl 1.7.2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

about compiling on_nurbs module of pcl 1.7.2

wlij8003
This post has NOT been accepted by the mailing list yet.
Dear PCL users,

I am trying to build the on_nurbs module.  I am using pcl 1.7.2 revision and I am compiling it 0n win7+VS 2012. Unfortunately  I am getting the following errors.



1>E:\software\pcl-pcl-1.7.2\pcl-pcl-1.7.2\surface\src\3rdparty\opennurbs\opennurbs_archive.cpp(15272): error C2664: “FindFirstFileA”: cannot convert parameter 1 from “ON_wString”to“LPCSTR”          
1>E:\software\pcl-pcl-1.7.2\pcl-pcl-1.7.2\surface\src\3rdparty\opennurbs\opennurbs_archive.cpp(15284): error C2664: “IsDotOrDotDotDir”:cannot convert parameter 1 from“CHAR [260]”to“const wchar_t *”
1>E:\software\pcl-pcl-1.7.2\pcl-pcl-1.7.2\surface\src\3rdparty\opennurbs\opennurbs_archive.cpp(15291): error C2440: “return”: cannot convert  from“CHAR [260]”to“const wchar_t *”
       
1>E:\software\pcl-pcl-1.7.2\pcl-pcl-1.7.2\surface\src\3rdparty\opennurbs\opennurbs_archive.cpp(15331): error C2664: “IsDotOrDotDotDir”: cannot convert parameter 1 from“CHAR [260]”to“const wchar_t *”        
1>E:\software\pcl-pcl-1.7.2\pcl-pcl-1.7.2\surface\src\3rdparty\opennurbs\opennurbs_archive.cpp(15341): error C2440: “return”: cannot convert  from“CHAR [260]”to“const wchar_t *”
       
1>E:\software\pcl-pcl-1.7.2\pcl-pcl-1.7.2\surface\src\3rdparty\opennurbs\opennurbs_archive.cpp(15440): error C2440: “return”: cannot convert from“const CHAR *”to“const wchar_t *”
         
1>E:\software\pcl-pcl-1.7.2\pcl-pcl-1.7.2\surface\src\3rdparty\opennurbs\opennurbs_font.cpp(485): error C2664: “ON_Font::IsSymbolFontFaceName”: cannot convert parameter 1 from“CHAR [32]”to“const wchar_t *”
1>E:\software\pcl-pcl-1.7.2\pcl-pcl-1.7.2\surface\src\3rdparty\opennurbs\opennurbs_font.cpp(530): error C2664: “ExtTextOutA”: cannot convert parameter 6 from“wchar_t [2]”to“LPCSTR”


I have seen that there are similar problems prensented in http://www.pcl-users.org/building-nurbs-on-pcl-1-7-td4022801.html#a4022839. And it is suggested to download the latest version of the trunk to handle the problem.
However, i have used the latest version of 1.7.2 on http://openperception.org and the errors still exist.
Please suggest me what to do, what i'm doing wrong?  
Thank you very much!

Best regards,
lij Wang.