Compiling trunk

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

Compiling trunk

jotaraul
Hi all!

I'm trying to compile the trunk version of the code following the given instructions under Windows (http://pointclouds.org/documentation/tutorials/compiling_pcl_windows.php#compiling-pcl-windows) and VS2008.

I've fixed some compilation errors using solutions commented in this forum, but there are still some erros that I haven't able to solve...

Error 12 error C2719: '_Val': formal parameter with __declspec(align('16')) won't be aligned C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\include\list 610
Error 23 error C2719: '_Val': formal parameter with __declspec(align('16')) won't be aligned C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\include\vector 717
Error 16 error C2664: 'void pcl::outofcore::octree_base<Container,PointT>::queryBBIncludes(const double [],const double [],size_t,std::vector<_Ty,_Ax> &) const' : cannot convert parameter 4 from 'std::list<_Ty>' to 'std::vector<_Ty,_Ax> &' d:\Librerias\PCL-src\outofcore\tools\outofcore_viewer.cpp 210
Error 24 error C2039: 'data' : is not a member of 'std::vector<_Ty>' D:\Librerias\PCL-src\outofcore\include\pcl\outofcore\impl\octree_base_node.hpp 726

In the CMake step, the most Boost libraries are found, less these two:

Boost_SERIALIZATION_LIBRARY_DEBUG-NOTFOUND
Boost_SERIALIZATION_LIBRARY_RELEASE-NOTFOUND

Any idea or further information needed?

Many thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Compiling trunk

jotaraul
I've installed the full version of Boost library but the errors remain.
Reply | Threaded
Open this post in threaded view
|

Re: Compiling trunk

peter
In reply to this post by jotaraul
The same problem on Windows 7 + VS 2010
RB
Reply | Threaded
Open this post in threaded view
|

Re: Compiling trunk

RB
I'm guessing outofcore shouldn't be part of the default built. There are several issues with outofcore for Windows. For the error above the quick fix is:

1. outofcore_viewer.cpp / lines 209-210:

std::list<PointT> points;
octree.queryBBIncludes (min, max, static_cast<uint64_t>(depth), points);

to be changed to

std::vector<PointT, Eigen::aligned_allocator<PointT> > vpoints;
octree.queryBBIncludes (min, max, static_cast<uint64_t>(depth), vpoints);
std::list<PointT> points(vpoints.begin(), vpoints.end());

Best,
Reply | Threaded
Open this post in threaded view
|

Re: Compiling trunk

Radu B Rusu
Administrator
Remus, thanks for the heads up.

Stephen, Justin, are these things we could change? Thanks in advance.

Cheers,
Radu.

On 06/14/2012 11:07 AM, RB wrote:

> I'm guessing outofcore shouldn't be part of the default built. There are
> several issues with outofcore for Windows. For the error above the quick fix
> is:
>
> 1. outofcore_viewer.cpp / lines 209-210:
>
> std::list<PointT>  points;
> octree.queryBBIncludes (min, max, static_cast<uint64_t>(depth), points);
>
> to be changed to
>
> std::vector<PointT, Eigen::aligned_allocator&lt;PointT>  >  vpoints;
> octree.queryBBIncludes (min, max, static_cast<uint64_t>(depth), vpoints);
> std::list<PointT>  points(vpoints.begin(), vpoints.end());
>
> Best,
>
> --
> View this message in context: http://www.pcl-users.org/Compiling-trunk-tp4019211p4019343.html
> Sent from the Point Cloud Library (PCL) Users mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users