Problem building from trunk: pcl_commons

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

Problem building from trunk: pcl_commons

gui
Hi,

I'm finding the following error while building the current pcl files from github:

2>------ Build started: Project: pcl_common, Configuration: Debug Win32 ------
2>Build started 22/01/2014 12:33:44.
2>InitializeBuildStatus:
2>  Touching "pcl_common.dir\Debug\pcl_common.unsuccessfulbuild".
2>CustomBuild:
2>  All outputs are up-to-date.
2>ClCompile:
2>  bearing_angle_image.cpp
2>C:\PCL\trunk\common\include\pcl/range_image/bearing_angle_image.h(75): error C2719: 'point1': formal parameter with __declspec(align('16')) won't be aligned
2>C:\PCL\trunk\common\include\pcl/range_image/bearing_angle_image.h(75): error C2719: 'point2': formal parameter with __declspec(align('16')) won't be aligned
2>..\trunk\common\src\bearing_angle_image.cpp(74): error C2719: 'point1': formal parameter with __declspec(align('16')) won't be aligned
2>..\trunk\common\src\bearing_angle_image.cpp(74): error C2719: 'point2': formal parameter with __declspec(align('16')) won't be aligned
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:03.64
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Any idea about this? I've built the library several times in the past and it's the first time I find something similar

Cheers
Reply | Threaded
Open this post in threaded view
|

Re: Problem building from trunk: pcl_commons

Sergey
Administrator
Hi,

Try the following. In files 'pcl/common/include/pcl/range_image/bearing_angle_image.h:75' and 'pcl/common/src/bearing_angle_image.cpp:73' change the signature of the function to be:


    getAngle (const PointXYZ& point1, const PointXYZ& point2)


Please let us know about your results.

Regards,
Sergey
gui
Reply | Threaded
Open this post in threaded view
|

Re: Problem building from trunk: pcl_commons

gui
solved, thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Problem building from trunk: pcl_commons

Jochen Sprickerhof
Administrator
* gui <[hidden email]> [2014-01-27 10:11]:
> solved, thanks!

Thanks, I've send a pull request here:
http://www.pcl-users.org/Problem-building-from-trunk-pcl-commons-tp4031835.html

Cheers Jochen

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users

signature.asc (836 bytes) Download Attachment