Rép : Error in pcl unstable release installation (presumably Eigen3 related)

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

Rép : Error in pcl unstable release installation (presumably Eigen3 related)

cyril.L
Hi all,
Trying to play with Kinect and the PCL on a fresh C Turtle, I figured out that I get the same error as Vaibhav when building the pcl package.

> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511: error: template argument ‘Eigen3::NumTraits<typename Derived::Scalar>::IsComplex’ involves template parameter(s)

This first error was eigen3 package related (tridiag_3x3.patch misses to change the specialization for 1x1 matrices in Tridiagonalization.h).

Then lots of :
> In file included from /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/src/pcl/io/io.cpp:43:
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected identifier before ‘(’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected unqualified-id before ‘,’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: ‘x’ has not been declared
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected constructor, destructor, or type conversion before ‘)’ token

This second error seemed to happen with Vaibhav too, and I didn't managed to get over it. So I tried with a trunk version of the point_cloud_perception stack, the first error didn't appear, but the second was still there.

Any insight ? Ah maybe it's important, I am using ROS on OSX Snow Leopard.

Thanks,
cyril (really exited about using the PCL at home !)


Quote from https://code.ros.org/lurker/message/20100927.201605.41589b9b.en.html :

> Uh oh, that's a weird error. Are you using an overlay of point_cloud_perception unstable? Can you try trunk to see if
> that solves the issue, though it doesn't look to me like a release problem...
>
> Cheers,
> Radu.
>
>
> On 09/27/2010 01:09 PM, Vaibhav Ghadiok wrote:
>> hi everybody
>>
>> I am trying to install the pcl unstable release and get the following
>> error listed below. I have tried installing previous versions of pcl but
>> with no success and get a fairly similar error.
>>
>> [rosmake-1] Finished <<< geometry_msgs [PASS] [ 2.66 seconds ]
>> [rosmake-1] Starting >>> sensor_msgs [ make ]
>> [rosmake-1] Finished <<< sensor_msgs [PASS] [ 1.55 seconds ]
>> [rosmake-1] Starting >>> pcl [ make ]
>> [ rosmake ] Last 40 linesl: 3.8 sec ]                [ 1 Active 25/26
>> Complete ]
>> {-------------------------------------------------------------------------------
>
>
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>> error: ‘principal_curvature’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: ‘histogram’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: ‘histogram’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: ‘histogram’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: ‘gradient’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>   In file included from
>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/Eigenvalues:29,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/QR:38,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/pcl_base.h:43,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/features/feature.h:45,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/pcl/src/pcl/features/feature.cpp:45:
>
>
>>
>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511:
>> error: template argument ‘Eigen3::NumTraits<typename
>> Derived::Scalar>::IsComplex’ involves template parameter(s)
>>   make[3]: *** [CMakeFiles/pcl_features.dir/src/pcl/features/feature.o]
>> Error 1
>>   make[3]: Leaving directory
>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>   make[2]: *** [CMakeFiles/pcl_features.dir/all] Error 2
>>   make[2]: Leaving directory
>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>   make[1]: *** [all] Error 2
>>   make[1]: Leaving directory
>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>> -------------------------------------------------------------------------------}
>> [ rosmake ] Output from build of package pcl written to:
>> [ rosmake ]
>> /home/coven/.ros/rosmake/rosmake_output-20100927-140239/pcl/build_output.log
>> [rosmake-1] Finished <<< pcl [FAIL] [ 3.79 seconds ]
>> [ rosmake ] Halting due to failure in package pcl.
>> [ rosmake ] Waiting for other threads to complete.
>> [ rosmake ] Results:
>> [ rosmake ] Built 26 packages with 1 failures.
>> [ rosmake ] Summary output to directory
>> [ rosmake ] /home/coven/.ros/rosmake/rosmake_output-20100927-140239
>
>
>>
>> Thanks
>> Vaibhav
_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Rép : Error in pcl unstable release installation (presumably Eigen3 related)

Vaibhav Ghadiok
Hi Cyril

I was eventually able to get a working version with a sudo apt-get install instead of building from source (As sugested by Radu) . Sorry for not posting this on the groups. I can check in the evening once again. I presume everything is still working. 

I got busy with other stuff and didn't really get the time to plough through PCL. But with Kinect... I better be getting back to it :-)

Let me get back to you by evening to confirm what I have said above.

Warm regards
Vaibhav

On Tue, Nov 16, 2010 at 12:03 PM, cyril.L <[hidden email]> wrote:
Hi all,
Trying to play with Kinect and the PCL on a fresh C Turtle, I figured out that I get the same error as Vaibhav when building the pcl package.

> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511: error: template argument ‘Eigen3::NumTraits<typename Derived::Scalar>::IsComplex’ involves template parameter(s)

This first error was eigen3 package related (tridiag_3x3.patch misses to change the specialization for 1x1 matrices in Tridiagonalization.h).

Then lots of :
> In file included from /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/src/pcl/io/io.cpp:43:
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected identifier before ‘(’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected unqualified-id before ‘,’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: ‘x’ has not been declared
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected constructor, destructor, or type conversion before ‘)’ token

This second error seemed to happen with Vaibhav too, and I didn't managed to get over it. So I tried with a trunk version of the point_cloud_perception stack, the first error didn't appear, but the second was still there.

Any insight ? Ah maybe it's important, I am using ROS on OSX Snow Leopard.

Thanks,
cyril (really exited about using the PCL at home !)


Quote from https://code.ros.org/lurker/message/20100927.201605.41589b9b.en.html :
> Uh oh, that's a weird error. Are you using an overlay of point_cloud_perception unstable? Can you try trunk to see if
> that solves the issue, though it doesn't look to me like a release problem...
>
> Cheers,
> Radu.
>
>
> On 09/27/2010 01:09 PM, Vaibhav Ghadiok wrote:
>> hi everybody
>>
>> I am trying to install the pcl unstable release and get the following
>> error listed below. I have tried installing previous versions of pcl but
>> with no success and get a fairly similar error.
>>
>> [rosmake-1] Finished <<< geometry_msgs [PASS] [ 2.66 seconds ]
>> [rosmake-1] Starting >>> sensor_msgs [ make ]
>> [rosmake-1] Finished <<< sensor_msgs [PASS] [ 1.55 seconds ]
>> [rosmake-1] Starting >>> pcl [ make ]
>> [ rosmake ] Last 40 linesl: 3.8 sec ]                [ 1 Active 25/26
>> Complete ]
>> {-------------------------------------------------------------------------------
>
>
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>> error: ‘principal_curvature’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: ‘histogram’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: ‘histogram’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: ‘histogram’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: ‘gradient’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>   In file included from
>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/Eigenvalues:29,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/QR:38,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/pcl_base.h:43,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/features/feature.h:45,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/pcl/src/pcl/features/feature.cpp:45:
>
>
>>
>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511:
>> error: template argument ‘Eigen3::NumTraits<typename
>> Derived::Scalar>::IsComplex’ involves template parameter(s)
>>   make[3]: *** [CMakeFiles/pcl_features.dir/src/pcl/features/feature.o]
>> Error 1
>>   make[3]: Leaving directory
>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>   make[2]: *** [CMakeFiles/pcl_features.dir/all] Error 2
>>   make[2]: Leaving directory
>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>   make[1]: *** [all] Error 2
>>   make[1]: Leaving directory
>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>> -------------------------------------------------------------------------------}
>> [ rosmake ] Output from build of package pcl written to:
>> [ rosmake ]
>> /home/coven/.ros/rosmake/rosmake_output-20100927-140239/pcl/build_output.log
>> [rosmake-1] Finished <<< pcl [FAIL] [ 3.79 seconds ]
>> [ rosmake ] Halting due to failure in package pcl.
>> [ rosmake ] Waiting for other threads to complete.
>> [ rosmake ] Results:
>> [ rosmake ] Built 26 packages with 1 failures.
>> [ rosmake ] Summary output to directory
>> [ rosmake ] /home/coven/.ros/rosmake/rosmake_output-20100927-140239
>
>
>>
>> Thanks
>> Vaibhav
_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users



--
http://guidance.aero.iisc.ernet.in/vaibhav

_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Rép : Error in pcl unstable release installation (presumably Eigen3 related)

Vaibhav Ghadiok
Just to add. I was working on Ubuntu 8.04 and that turned out to be the culprit. If I remember correctly I was only able to get pcl to work (apt-get or source install) when I upgraded to Ubuntu 10.10.

So, your thing could certainly be OS related.

On Tue, Nov 16, 2010 at 2:36 PM, Vaibhav Ghadiok <[hidden email]> wrote:
Hi Cyril

I was eventually able to get a working version with a sudo apt-get install instead of building from source (As sugested by Radu) . Sorry for not posting this on the groups. I can check in the evening once again. I presume everything is still working. 

I got busy with other stuff and didn't really get the time to plough through PCL. But with Kinect... I better be getting back to it :-)

Let me get back to you by evening to confirm what I have said above.

Warm regards
Vaibhav


On Tue, Nov 16, 2010 at 12:03 PM, cyril.L <[hidden email]> wrote:
Hi all,
Trying to play with Kinect and the PCL on a fresh C Turtle, I figured out that I get the same error as Vaibhav when building the pcl package.

> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511: error: template argument ‘Eigen3::NumTraits<typename Derived::Scalar>::IsComplex’ involves template parameter(s)

This first error was eigen3 package related (tridiag_3x3.patch misses to change the specialization for 1x1 matrices in Tridiagonalization.h).

Then lots of :
> In file included from /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/src/pcl/io/io.cpp:43:
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected identifier before ‘(’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected unqualified-id before ‘,’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: ‘x’ has not been declared
> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected constructor, destructor, or type conversion before ‘)’ token

This second error seemed to happen with Vaibhav too, and I didn't managed to get over it. So I tried with a trunk version of the point_cloud_perception stack, the first error didn't appear, but the second was still there.

Any insight ? Ah maybe it's important, I am using ROS on OSX Snow Leopard.

Thanks,
cyril (really exited about using the PCL at home !)


Quote from https://code.ros.org/lurker/message/20100927.201605.41589b9b.en.html :
> Uh oh, that's a weird error. Are you using an overlay of point_cloud_perception unstable? Can you try trunk to see if
> that solves the issue, though it doesn't look to me like a release problem...
>
> Cheers,
> Radu.
>
>
> On 09/27/2010 01:09 PM, Vaibhav Ghadiok wrote:
>> hi everybody
>>
>> I am trying to install the pcl unstable release and get the following
>> error listed below. I have tried installing previous versions of pcl but
>> with no success and get a fairly similar error.
>>
>> [rosmake-1] Finished <<< geometry_msgs [PASS] [ 2.66 seconds ]
>> [rosmake-1] Starting >>> sensor_msgs [ make ]
>> [rosmake-1] Finished <<< sensor_msgs [PASS] [ 1.55 seconds ]
>> [rosmake-1] Starting >>> pcl [ make ]
>> [ rosmake ] Last 40 linesl: 3.8 sec ]                [ 1 Active 25/26
>> Complete ]
>> {-------------------------------------------------------------------------------
>
>
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>> error: ‘principal_curvature’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: ‘histogram’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: ‘histogram’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: ‘histogram’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected identifier before ‘(’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected unqualified-id before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected `)' before ‘,’ token
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: ‘gradient’ has not been declared
>>
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>   In file included from
>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/Eigenvalues:29,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/QR:38,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/pcl_base.h:43,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/features/feature.h:45,
>>                    from
>> /home/coven/ros/stacks/point_cloud_perception/pcl/src/pcl/features/feature.cpp:45:
>
>
>>
>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511:
>> error: template argument ‘Eigen3::NumTraits<typename
>> Derived::Scalar>::IsComplex’ involves template parameter(s)
>>   make[3]: *** [CMakeFiles/pcl_features.dir/src/pcl/features/feature.o]
>> Error 1
>>   make[3]: Leaving directory
>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>   make[2]: *** [CMakeFiles/pcl_features.dir/all] Error 2
>>   make[2]: Leaving directory
>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>   make[1]: *** [all] Error 2
>>   make[1]: Leaving directory
>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>> -------------------------------------------------------------------------------}
>> [ rosmake ] Output from build of package pcl written to:
>> [ rosmake ]
>> /home/coven/.ros/rosmake/rosmake_output-20100927-140239/pcl/build_output.log
>> [rosmake-1] Finished <<< pcl [FAIL] [ 3.79 seconds ]
>> [ rosmake ] Halting due to failure in package pcl.
>> [ rosmake ] Waiting for other threads to complete.
>> [ rosmake ] Results:
>> [ rosmake ] Built 26 packages with 1 failures.
>> [ rosmake ] Summary output to directory
>> [ rosmake ] /home/coven/.ros/rosmake/rosmake_output-20100927-140239
>
>
>>
>> Thanks
>> Vaibhav
_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users



--
http://guidance.aero.iisc.ernet.in/vaibhav



--
http://guidance.aero.iisc.ernet.in/vaibhav

_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Rép : Error in pcl unstable release installation (presumably Eigen3 related)

Radu B. Rusu
Administrator
In reply to this post by Vaibhav Ghadiok
Vaibhav,

Awesome - thanks for letting us know. We can iterate faster if we all use trunk for the next few weeks, so we can
eliminate all possible bugs.

I just got my 2nd Kinect - doing real-time segmentation with it as we speak :) Sweet! I didn't realize how awesome PCL
is... Thanks to everyone for contributing!!!


Cheers,
Radu.


On 11/16/2010 01:36 PM, Vaibhav Ghadiok wrote:

> Hi Cyril
>
> I was eventually able to get a working version with a sudo apt-get install instead of building from source (As sugested
> by Radu) . Sorry for not posting this on the groups. I can check in the evening once again. I presume everything is
> still working.
>
> I got busy with other stuff and didn't really get the time to plough through PCL. But with Kinect... I better be getting
> back to it :-)
>
> Let me get back to you by evening to confirm what I have said above.
>
> Warm regards
> Vaibhav
>
> On Tue, Nov 16, 2010 at 12:03 PM, cyril.L <[hidden email] <mailto:[hidden email]>> wrote:
>
>     Hi all,
>     Trying to play with Kinect and the PCL on a fresh C Turtle, I figured out that I get the same error as Vaibhav when
>     building the pcl package.
>
>      >
>     /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511:
>     error: template argument ‘Eigen3::NumTraits<typename Derived::Scalar>::IsComplex’ involves template parameter(s)
>
>     This first error was eigen3 package related (tridiag_3x3.patch misses to change the specialization for 1x1 matrices
>     in Tridiagonalization.h).
>
>     Then lots of :
>      > In file included from /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/src/pcl/io/io.cpp:43:
>      > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error:
>     expected identifier before ‘(’ token
>      > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error:
>     expected unqualified-id before ‘,’ token
>      > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error:
>     expected `)' before ‘,’ token
>      > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error:
>     expected `)' before ‘,’ token
>      > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: ‘x’
>     has not been declared
>      > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error:
>     expected constructor, destructor, or type conversion before ‘)’ token
>
>     This second error seemed to happen with Vaibhav too, and I didn't managed to get over it. So I tried with a trunk
>     version of the point_cloud_perception stack, the first error didn't appear, but the second was still there.
>
>     Any insight ? Ah maybe it's important, I am using ROS on OSX Snow Leopard.
>
>     Thanks,
>     cyril (really exited about using the PCL at home !)
>
>
>     Quote from https://code.ros.org/lurker/message/20100927.201605.41589b9b.en.html :
>      > Uh oh, that's a weird error. Are you using an overlay of point_cloud_perception unstable? Can you try trunk to see if
>      > that solves the issue, though it doesn't look to me like a release problem...
>      >
>      > Cheers,
>      > Radu.
>      >
>      >
>      > On 09/27/2010 01:09 PM, Vaibhav Ghadiok wrote:
>      >> hi everybody
>      >>
>      >> I am trying to install the pcl unstable release and get the following
>      >> error listed below. I have tried installing previous versions of pcl but
>      >> with no success and get a fairly similar error.
>      >>
>      >> [rosmake-1] Finished <<< geometry_msgs [PASS] [ 2.66 seconds ]
>      >> [rosmake-1] Starting >>> sensor_msgs [ make ]
>      >> [rosmake-1] Finished <<< sensor_msgs [PASS] [ 1.55 seconds ]
>      >> [rosmake-1] Starting >>> pcl [ make ]
>      >> [ rosmake ] Last 40 linesl: 3.8 sec ]                [ 1 Active 25/26
>      >> Complete ]
>      >> {-------------------------------------------------------------------------------
>      >
>      >
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>      >> error: expected `)' before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>      >> error: ‘principal_curvature’ has not been declared
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>      >> error: expected constructor, destructor, or type conversion before ‘)’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>      >> error: expected identifier before ‘(’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>      >> error: expected unqualified-id before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>      >> error: expected `)' before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>      >> error: expected `)' before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>      >> error: ‘histogram’ has not been declared
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>      >> error: expected constructor, destructor, or type conversion before ‘)’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>      >> error: expected identifier before ‘(’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>      >> error: expected unqualified-id before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>      >> error: expected `)' before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>      >> error: expected `)' before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>      >> error: ‘histogram’ has not been declared
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>      >> error: expected constructor, destructor, or type conversion before ‘)’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>      >> error: expected identifier before ‘(’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>      >> error: expected unqualified-id before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>      >> error: expected `)' before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>      >> error: expected `)' before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>      >> error: ‘histogram’ has not been declared
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>      >> error: expected constructor, destructor, or type conversion before ‘)’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>      >> error: expected identifier before ‘(’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>      >> error: expected unqualified-id before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>      >> error: expected `)' before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>      >> error: expected `)' before ‘,’ token
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>      >> error: ‘gradient’ has not been declared
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>      >> error: expected constructor, destructor, or type conversion before ‘)’ token
>      >>   In file included from
>      >> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/Eigenvalues:29,
>      >>                    from
>      >> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/QR:38,
>      >>                    from
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/pcl_base.h:43,
>      >>                    from
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/features/feature.h:45,
>      >>                    from
>      >> /home/coven/ros/stacks/point_cloud_perception/pcl/src/pcl/features/feature.cpp:45:
>      >
>      >
>      >>
>      >> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511:
>      >> error: template argument ‘Eigen3::NumTraits<typename
>      >> Derived::Scalar>::IsComplex’ involves template parameter(s)
>      >>   make[3]: *** [CMakeFiles/pcl_features.dir/src/pcl/features/feature.o]
>      >> Error 1
>      >>   make[3]: Leaving directory
>      >> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>      >>   make[2]: *** [CMakeFiles/pcl_features.dir/all] Error 2
>      >>   make[2]: Leaving directory
>      >> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>      >>   make[1]: *** [all] Error 2
>      >>   make[1]: Leaving directory
>      >> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>      >> -------------------------------------------------------------------------------}
>      >> [ rosmake ] Output from build of package pcl written to:
>      >> [ rosmake ]
>      >> /home/coven/.ros/rosmake/rosmake_output-20100927-140239/pcl/build_output.log
>      >> [rosmake-1] Finished <<< pcl [FAIL] [ 3.79 seconds ]
>      >> [ rosmake ] Halting due to failure in package pcl.
>      >> [ rosmake ] Waiting for other threads to complete.
>      >> [ rosmake ] Results:
>      >> [ rosmake ] Built 26 packages with 1 failures.
>      >> [ rosmake ] Summary output to directory
>      >> [ rosmake ] /home/coven/.ros/rosmake/rosmake_output-20100927-140239
>      >
>      >
>      >>
>      >> Thanks
>      >> Vaibhav
>     _______________________________________________
>     [hidden email] <mailto:[hidden email]> / http://pcl.ros.org
>     https://code.ros.org/mailman/listinfo/pcl-users
>
>
>
>
> --
> http://guidance.aero.iisc.ernet.in/vaibhav
>
>
>
> _______________________________________________
> [hidden email] / http://pcl.ros.org
> https://code.ros.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Rép : Error in pcl unstable release installation (presumably Eigen3 related)

cyril.L
In reply to this post by Vaibhav Ghadiok
Thanks for reporting this,
the problem was probably my boost version (1.44), with the boost of Ubuntu 10.10 (1.42) the compilation of the pcl package went near the end, but again an error. This time it's a little more cryptic :)

> [100%] Building CXX object test/CMakeFiles/test_mls.dir/test_mls.o
> ...
> {standard input}:112973:non-relocatable subtraction expression, "LC28" minus "L00000000178$pb"
> {standard input}:112973:symbol: "L00000000178$pb" can't be undefined in a subtraction expression
> {standard input}:111902:non-relocatable subtraction expression, "LC28" minus "L00000000178$pb"
> {standard input}:111902:symbol: "L00000000178$pb" can't be undefined in a subtraction expression
> {standard input}:unknown:Undefined local symbol L00000000178$pb
> make[3]: *** [test/CMakeFiles/test_mls.dir/test_mls.o] Error 1

Any insight for this one ?

Additionally I got lots of errors related to cmath in the pcl package
 - when using isnan instead of std::isnan : corrected adding std::
 - when using pow(int,int) : corrected replacing by pow(double(...),...), not sure if it's a good idea but it clears the error

Thanks,
cyril

Le 2010-11-16 à 16:44, Vaibhav Ghadiok a écrit :

> Just to add. I was working on Ubuntu 8.04 and that turned out to be the culprit. If I remember correctly I was only able to get pcl to work (apt-get or source install) when I upgraded to Ubuntu 10.10.
>
> So, your thing could certainly be OS related.
>
> On Tue, Nov 16, 2010 at 2:36 PM, Vaibhav Ghadiok <[hidden email]> wrote:
> Hi Cyril
>
> I was eventually able to get a working version with a sudo apt-get install instead of building from source (As sugested by Radu) . Sorry for not posting this on the groups. I can check in the evening once again. I presume everything is still working.
>
> I got busy with other stuff and didn't really get the time to plough through PCL. But with Kinect... I better be getting back to it :-)
>
> Let me get back to you by evening to confirm what I have said above.
>
> Warm regards
> Vaibhav
>
>
> On Tue, Nov 16, 2010 at 12:03 PM, cyril.L <[hidden email]> wrote:
> Hi all,
> Trying to play with Kinect and the PCL on a fresh C Turtle, I figured out that I get the same error as Vaibhav when building the pcl package.
>
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511: error: template argument ‘Eigen3::NumTraits<typename Derived::Scalar>::IsComplex’ involves template parameter(s)
>
> This first error was eigen3 package related (tridiag_3x3.patch misses to change the specialization for 1x1 matrices in Tridiagonalization.h).
>
> Then lots of :
> > In file included from /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/src/pcl/io/io.cpp:43:
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected identifier before ‘(’ token
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected unqualified-id before ‘,’ token
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: ‘x’ has not been declared
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected constructor, destructor, or type conversion before ‘)’ token
>
> This second error seemed to happen with Vaibhav too, and I didn't managed to get over it. So I tried with a trunk version of the point_cloud_perception stack, the first error didn't appear, but the second was still there.
>
> Any insight ? Ah maybe it's important, I am using ROS on OSX Snow Leopard.
>
> Thanks,
> cyril (really exited about using the PCL at home !)
>
>
> Quote from https://code.ros.org/lurker/message/20100927.201605.41589b9b.en.html :
> > Uh oh, that's a weird error. Are you using an overlay of point_cloud_perception unstable? Can you try trunk to see if
> > that solves the issue, though it doesn't look to me like a release problem...
> >
> > Cheers,
> > Radu.
> >
> >
> > On 09/27/2010 01:09 PM, Vaibhav Ghadiok wrote:
> >> hi everybody
> >>
> >> I am trying to install the pcl unstable release and get the following
> >> error listed below. I have tried installing previous versions of pcl but
> >> with no success and get a fairly similar error.
> >>
> >> [rosmake-1] Finished <<< geometry_msgs [PASS] [ 2.66 seconds ]
> >> [rosmake-1] Starting >>> sensor_msgs [ make ]
> >> [rosmake-1] Finished <<< sensor_msgs [PASS] [ 1.55 seconds ]
> >> [rosmake-1] Starting >>> pcl [ make ]
> >> [ rosmake ] Last 40 linesl: 3.8 sec ]                [ 1 Active 25/26
> >> Complete ]
> >> {-------------------------------------------------------------------------------
> >
> >
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
> >> error: ‘principal_curvature’ has not been declared
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
> >> error: expected constructor, destructor, or type conversion before ‘)’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: expected identifier before ‘(’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: expected unqualified-id before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: ‘histogram’ has not been declared
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: expected constructor, destructor, or type conversion before ‘)’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: expected identifier before ‘(’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: expected unqualified-id before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: ‘histogram’ has not been declared
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: expected constructor, destructor, or type conversion before ‘)’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: expected identifier before ‘(’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: expected unqualified-id before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: ‘histogram’ has not been declared
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: expected constructor, destructor, or type conversion before ‘)’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: expected identifier before ‘(’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: expected unqualified-id before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: ‘gradient’ has not been declared
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: expected constructor, destructor, or type conversion before ‘)’ token
> >>   In file included from
> >> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/Eigenvalues:29,
> >>                    from
> >> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/QR:38,
> >>                    from
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/pcl_base.h:43,
> >>                    from
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/features/feature.h:45,
> >>                    from
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/src/pcl/features/feature.cpp:45:
> >
> >
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511:
> >> error: template argument ‘Eigen3::NumTraits<typename
> >> Derived::Scalar>::IsComplex’ involves template parameter(s)
> >>   make[3]: *** [CMakeFiles/pcl_features.dir/src/pcl/features/feature.o]
> >> Error 1
> >>   make[3]: Leaving directory
> >> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
> >>   make[2]: *** [CMakeFiles/pcl_features.dir/all] Error 2
> >>   make[2]: Leaving directory
> >> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
> >>   make[1]: *** [all] Error 2
> >>   make[1]: Leaving directory
> >> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
> >> -------------------------------------------------------------------------------}
> >> [ rosmake ] Output from build of package pcl written to:
> >> [ rosmake ]
> >> /home/coven/.ros/rosmake/rosmake_output-20100927-140239/pcl/build_output.log
> >> [rosmake-1] Finished <<< pcl [FAIL] [ 3.79 seconds ]
> >> [ rosmake ] Halting due to failure in package pcl.
> >> [ rosmake ] Waiting for other threads to complete.
> >> [ rosmake ] Results:
> >> [ rosmake ] Built 26 packages with 1 failures.
> >> [ rosmake ] Summary output to directory
> >> [ rosmake ] /home/coven/.ros/rosmake/rosmake_output-20100927-140239
> >
> >
> >>
> >> Thanks
> >> Vaibhav
> _______________________________________________
> [hidden email] / http://pcl.ros.org
> https://code.ros.org/mailman/listinfo/pcl-users
>
>
>
> --
> http://guidance.aero.iisc.ernet.in/vaibhav
>
>
>
> --
> http://guidance.aero.iisc.ernet.in/vaibhav
> _______________________________________________
> [hidden email] / http://pcl.ros.org
> https://code.ros.org/mailman/listinfo/pcl-users

_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Rép : Error in pcl unstable release installation (presumably Eigen3 related)

Vaibhav Ghadiok
Sorry, never really faced this error. No clue. 

On Wed, Nov 17, 2010 at 6:59 PM, cyril.L <[hidden email]> wrote:
Thanks for reporting this,
the problem was probably my boost version (1.44), with the boost of Ubuntu 10.10 (1.42) the compilation of the pcl package went near the end, but again an error. This time it's a little more cryptic :)

> [100%] Building CXX object test/CMakeFiles/test_mls.dir/test_mls.o
> ...
> {standard input}:112973:non-relocatable subtraction expression, "LC28" minus "L00000000178$pb"
> {standard input}:112973:symbol: "L00000000178$pb" can't be undefined in a subtraction expression
> {standard input}:111902:non-relocatable subtraction expression, "LC28" minus "L00000000178$pb"
> {standard input}:111902:symbol: "L00000000178$pb" can't be undefined in a subtraction expression
> {standard input}:unknown:Undefined local symbol L00000000178$pb
> make[3]: *** [test/CMakeFiles/test_mls.dir/test_mls.o] Error 1

Any insight for this one ?

Additionally I got lots of errors related to cmath in the pcl package
 - when using isnan instead of std::isnan : corrected adding std::
 - when using pow(int,int) : corrected replacing by pow(double(...),...), not sure if it's a good idea but it clears the error

Thanks,
cyril

Le 2010-11-16 à 16:44, Vaibhav Ghadiok a écrit :

> Just to add. I was working on Ubuntu 8.04 and that turned out to be the culprit. If I remember correctly I was only able to get pcl to work (apt-get or source install) when I upgraded to Ubuntu 10.10.
>
> So, your thing could certainly be OS related.
>
> On Tue, Nov 16, 2010 at 2:36 PM, Vaibhav Ghadiok <[hidden email]> wrote:
> Hi Cyril
>
> I was eventually able to get a working version with a sudo apt-get install instead of building from source (As sugested by Radu) . Sorry for not posting this on the groups. I can check in the evening once again. I presume everything is still working.
>
> I got busy with other stuff and didn't really get the time to plough through PCL. But with Kinect... I better be getting back to it :-)
>
> Let me get back to you by evening to confirm what I have said above.
>
> Warm regards
> Vaibhav
>
>
> On Tue, Nov 16, 2010 at 12:03 PM, cyril.L <[hidden email]> wrote:
> Hi all,
> Trying to play with Kinect and the PCL on a fresh C Turtle, I figured out that I get the same error as Vaibhav when building the pcl package.
>
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511: error: template argument ‘Eigen3::NumTraits<typename Derived::Scalar>::IsComplex’ involves template parameter(s)
>
> This first error was eigen3 package related (tridiag_3x3.patch misses to change the specialization for 1x1 matrices in Tridiagonalization.h).
>
> Then lots of :
> > In file included from /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/src/pcl/io/io.cpp:43:
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected identifier before ‘(’ token
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected unqualified-id before ‘,’ token
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: ‘x’ has not been declared
> > /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected constructor, destructor, or type conversion before ‘)’ token
>
> This second error seemed to happen with Vaibhav too, and I didn't managed to get over it. So I tried with a trunk version of the point_cloud_perception stack, the first error didn't appear, but the second was still there.
>
> Any insight ? Ah maybe it's important, I am using ROS on OSX Snow Leopard.
>
> Thanks,
> cyril (really exited about using the PCL at home !)
>
>
> Quote from https://code.ros.org/lurker/message/20100927.201605.41589b9b.en.html :
> > Uh oh, that's a weird error. Are you using an overlay of point_cloud_perception unstable? Can you try trunk to see if
> > that solves the issue, though it doesn't look to me like a release problem...
> >
> > Cheers,
> > Radu.
> >
> >
> > On 09/27/2010 01:09 PM, Vaibhav Ghadiok wrote:
> >> hi everybody
> >>
> >> I am trying to install the pcl unstable release and get the following
> >> error listed below. I have tried installing previous versions of pcl but
> >> with no success and get a fairly similar error.
> >>
> >> [rosmake-1] Finished <<< geometry_msgs [PASS] [ 2.66 seconds ]
> >> [rosmake-1] Starting >>> sensor_msgs [ make ]
> >> [rosmake-1] Finished <<< sensor_msgs [PASS] [ 1.55 seconds ]
> >> [rosmake-1] Starting >>> pcl [ make ]
> >> [ rosmake ] Last 40 linesl: 3.8 sec ]                [ 1 Active 25/26
> >> Complete ]
> >> {-------------------------------------------------------------------------------
> >
> >
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
> >> error: ‘principal_curvature’ has not been declared
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
> >> error: expected constructor, destructor, or type conversion before ‘)’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: expected identifier before ‘(’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: expected unqualified-id before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: ‘histogram’ has not been declared
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
> >> error: expected constructor, destructor, or type conversion before ‘)’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: expected identifier before ‘(’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: expected unqualified-id before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: ‘histogram’ has not been declared
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
> >> error: expected constructor, destructor, or type conversion before ‘)’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: expected identifier before ‘(’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: expected unqualified-id before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: ‘histogram’ has not been declared
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
> >> error: expected constructor, destructor, or type conversion before ‘)’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: expected identifier before ‘(’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: expected unqualified-id before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: expected `)' before ‘,’ token
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: ‘gradient’ has not been declared
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
> >> error: expected constructor, destructor, or type conversion before ‘)’ token
> >>   In file included from
> >> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/Eigenvalues:29,
> >>                    from
> >> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/QR:38,
> >>                    from
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/pcl_base.h:43,
> >>                    from
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/features/feature.h:45,
> >>                    from
> >> /home/coven/ros/stacks/point_cloud_perception/pcl/src/pcl/features/feature.cpp:45:
> >
> >
> >>
> >> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511:
> >> error: template argument ‘Eigen3::NumTraits<typename
> >> Derived::Scalar>::IsComplex’ involves template parameter(s)
> >>   make[3]: *** [CMakeFiles/pcl_features.dir/src/pcl/features/feature.o]
> >> Error 1
> >>   make[3]: Leaving directory
> >> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
> >>   make[2]: *** [CMakeFiles/pcl_features.dir/all] Error 2
> >>   make[2]: Leaving directory
> >> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
> >>   make[1]: *** [all] Error 2
> >>   make[1]: Leaving directory
> >> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
> >> -------------------------------------------------------------------------------}
> >> [ rosmake ] Output from build of package pcl written to:
> >> [ rosmake ]
> >> /home/coven/.ros/rosmake/rosmake_output-20100927-140239/pcl/build_output.log
> >> [rosmake-1] Finished <<< pcl [FAIL] [ 3.79 seconds ]
> >> [ rosmake ] Halting due to failure in package pcl.
> >> [ rosmake ] Waiting for other threads to complete.
> >> [ rosmake ] Results:
> >> [ rosmake ] Built 26 packages with 1 failures.
> >> [ rosmake ] Summary output to directory
> >> [ rosmake ] /home/coven/.ros/rosmake/rosmake_output-20100927-140239
> >
> >
> >>
> >> Thanks
> >> Vaibhav
> _______________________________________________
> [hidden email] / http://pcl.ros.org
> https://code.ros.org/mailman/listinfo/pcl-users
>
>
>
> --
> http://guidance.aero.iisc.ernet.in/vaibhav
>
>
>
> --
> http://guidance.aero.iisc.ernet.in/vaibhav
> _______________________________________________
> [hidden email] / http://pcl.ros.org
> https://code.ros.org/mailman/listinfo/pcl-users




--
http://guidance.aero.iisc.ernet.in/vaibhav

_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Rép : Error in pcl unstable release installation (presumably Eigen3 related)

Radu B. Rusu
Administrator
In reply to this post by cyril.L
Cyril,

Can you please commit the std::isnan vs isnan patches? I would like to integrate them in trunk.

That linking error looks really strange - can't think of anything that a google search wont tell us.

Cheers,
Radu.


On 11/17/2010 05:59 PM, cyril.L wrote:

> Thanks for reporting this,
> the problem was probably my boost version (1.44), with the boost of Ubuntu 10.10 (1.42) the compilation of the pcl package went near the end, but again an error. This time it's a little more cryptic :)
>
>> [100%] Building CXX object test/CMakeFiles/test_mls.dir/test_mls.o
>> ...
>> {standard input}:112973:non-relocatable subtraction expression, "LC28" minus "L00000000178$pb"
>> {standard input}:112973:symbol: "L00000000178$pb" can't be undefined in a subtraction expression
>> {standard input}:111902:non-relocatable subtraction expression, "LC28" minus "L00000000178$pb"
>> {standard input}:111902:symbol: "L00000000178$pb" can't be undefined in a subtraction expression
>> {standard input}:unknown:Undefined local symbol L00000000178$pb
>> make[3]: *** [test/CMakeFiles/test_mls.dir/test_mls.o] Error 1
>
> Any insight for this one ?
>
> Additionally I got lots of errors related to cmath in the pcl package
>   - when using isnan instead of std::isnan : corrected adding std::
>   - when using pow(int,int) : corrected replacing by pow(double(...),...), not sure if it's a good idea but it clears the error
>
> Thanks,
> cyril
>
> Le 2010-11-16 à 16:44, Vaibhav Ghadiok a écrit :
>
>> Just to add. I was working on Ubuntu 8.04 and that turned out to be the culprit. If I remember correctly I was only able to get pcl to work (apt-get or source install) when I upgraded to Ubuntu 10.10.
>>
>> So, your thing could certainly be OS related.
>>
>> On Tue, Nov 16, 2010 at 2:36 PM, Vaibhav Ghadiok<[hidden email]>  wrote:
>> Hi Cyril
>>
>> I was eventually able to get a working version with a sudo apt-get install instead of building from source (As sugested by Radu) . Sorry for not posting this on the groups. I can check in the evening once again. I presume everything is still working.
>>
>> I got busy with other stuff and didn't really get the time to plough through PCL. But with Kinect... I better be getting back to it :-)
>>
>> Let me get back to you by evening to confirm what I have said above.
>>
>> Warm regards
>> Vaibhav
>>
>>
>> On Tue, Nov 16, 2010 at 12:03 PM, cyril.L<[hidden email]>  wrote:
>> Hi all,
>> Trying to play with Kinect and the PCL on a fresh C Turtle, I figured out that I get the same error as Vaibhav when building the pcl package.
>>
>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511: error: template argument ‘Eigen3::NumTraits<typename Derived::Scalar>::IsComplex’ involves template parameter(s)
>>
>> This first error was eigen3 package related (tridiag_3x3.patch misses to change the specialization for 1x1 matrices in Tridiagonalization.h).
>>
>> Then lots of :
>>> In file included from /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/src/pcl/io/io.cpp:43:
>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected identifier before ‘(’ token
>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected unqualified-id before ‘,’ token
>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: ‘x’ has not been declared
>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected constructor, destructor, or type conversion before ‘)’ token
>>
>> This second error seemed to happen with Vaibhav too, and I didn't managed to get over it. So I tried with a trunk version of the point_cloud_perception stack, the first error didn't appear, but the second was still there.
>>
>> Any insight ? Ah maybe it's important, I am using ROS on OSX Snow Leopard.
>>
>> Thanks,
>> cyril (really exited about using the PCL at home !)
>>
>>
>> Quote from https://code.ros.org/lurker/message/20100927.201605.41589b9b.en.html :
>>> Uh oh, that's a weird error. Are you using an overlay of point_cloud_perception unstable? Can you try trunk to see if
>>> that solves the issue, though it doesn't look to me like a release problem...
>>>
>>> Cheers,
>>> Radu.
>>>
>>>
>>> On 09/27/2010 01:09 PM, Vaibhav Ghadiok wrote:
>>>> hi everybody
>>>>
>>>> I am trying to install the pcl unstable release and get the following
>>>> error listed below. I have tried installing previous versions of pcl but
>>>> with no success and get a fairly similar error.
>>>>
>>>> [rosmake-1] Finished<<<  geometry_msgs [PASS] [ 2.66 seconds ]
>>>> [rosmake-1] Starting>>>  sensor_msgs [ make ]
>>>> [rosmake-1] Finished<<<  sensor_msgs [PASS] [ 1.55 seconds ]
>>>> [rosmake-1] Starting>>>  pcl [ make ]
>>>> [ rosmake ] Last 40 linesl: 3.8 sec ]                [ 1 Active 25/26
>>>> Complete ]
>>>> {-------------------------------------------------------------------------------
>>>
>>>
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>>>> error: expected `)' before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>>>> error: ‘principal_curvature’ has not been declared
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>>>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>> error: expected identifier before ‘(’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>> error: expected unqualified-id before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>> error: expected `)' before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>> error: expected `)' before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>> error: ‘histogram’ has not been declared
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>> error: expected identifier before ‘(’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>> error: expected unqualified-id before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>> error: expected `)' before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>> error: expected `)' before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>> error: ‘histogram’ has not been declared
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>> error: expected identifier before ‘(’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>> error: expected unqualified-id before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>> error: expected `)' before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>> error: expected `)' before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>> error: ‘histogram’ has not been declared
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>> error: expected identifier before ‘(’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>> error: expected unqualified-id before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>> error: expected `)' before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>> error: expected `)' before ‘,’ token
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>> error: ‘gradient’ has not been declared
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>>>    In file included from
>>>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/Eigenvalues:29,
>>>>                     from
>>>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/QR:38,
>>>>                     from
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/pcl_base.h:43,
>>>>                     from
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/features/feature.h:45,
>>>>                     from
>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/src/pcl/features/feature.cpp:45:
>>>
>>>
>>>>
>>>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511:
>>>> error: template argument ‘Eigen3::NumTraits<typename
>>>> Derived::Scalar>::IsComplex’ involves template parameter(s)
>>>>    make[3]: *** [CMakeFiles/pcl_features.dir/src/pcl/features/feature.o]
>>>> Error 1
>>>>    make[3]: Leaving directory
>>>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>>>    make[2]: *** [CMakeFiles/pcl_features.dir/all] Error 2
>>>>    make[2]: Leaving directory
>>>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>>>    make[1]: *** [all] Error 2
>>>>    make[1]: Leaving directory
>>>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>>> -------------------------------------------------------------------------------}
>>>> [ rosmake ] Output from build of package pcl written to:
>>>> [ rosmake ]
>>>> /home/coven/.ros/rosmake/rosmake_output-20100927-140239/pcl/build_output.log
>>>> [rosmake-1] Finished<<<  pcl [FAIL] [ 3.79 seconds ]
>>>> [ rosmake ] Halting due to failure in package pcl.
>>>> [ rosmake ] Waiting for other threads to complete.
>>>> [ rosmake ] Results:
>>>> [ rosmake ] Built 26 packages with 1 failures.
>>>> [ rosmake ] Summary output to directory
>>>> [ rosmake ] /home/coven/.ros/rosmake/rosmake_output-20100927-140239
>>>
>>>
>>>>
>>>> Thanks
>>>> Vaibhav
>> _______________________________________________
>> [hidden email] / http://pcl.ros.org
>> https://code.ros.org/mailman/listinfo/pcl-users
>>
>>
>>
>> --
>> http://guidance.aero.iisc.ernet.in/vaibhav
>>
>>
>>
>> --
>> http://guidance.aero.iisc.ernet.in/vaibhav
>> _______________________________________________
>> [hidden email] / http://pcl.ros.org
>> https://code.ros.org/mailman/listinfo/pcl-users
>
> _______________________________________________
> [hidden email] / http://pcl.ros.org
> https://code.ros.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Rép : Error in pcl unstable release installation (presumably Eigen3 related)

cyril.L
Ok for the patch, just have to figure out how to do this.

The last error was related to optimization (it seems I have to set -O0 when setting -fopenmp).
Tutorials are now built, thanks :)

cyril

Le 2010-11-18 à 00:57, Radu Bogdan Rusu a écrit :

> Cyril,
>
> Can you please commit the std::isnan vs isnan patches? I would like to integrate them in trunk.
>
> That linking error looks really strange - can't think of anything that a google search wont tell us.
>
> Cheers,
> Radu.
>
>
> On 11/17/2010 05:59 PM, cyril.L wrote:
>> Thanks for reporting this,
>> the problem was probably my boost version (1.44), with the boost of Ubuntu 10.10 (1.42) the compilation of the pcl package went near the end, but again an error. This time it's a little more cryptic :)
>>
>>> [100%] Building CXX object test/CMakeFiles/test_mls.dir/test_mls.o
>>> ...
>>> {standard input}:112973:non-relocatable subtraction expression, "LC28" minus "L00000000178$pb"
>>> {standard input}:112973:symbol: "L00000000178$pb" can't be undefined in a subtraction expression
>>> {standard input}:111902:non-relocatable subtraction expression, "LC28" minus "L00000000178$pb"
>>> {standard input}:111902:symbol: "L00000000178$pb" can't be undefined in a subtraction expression
>>> {standard input}:unknown:Undefined local symbol L00000000178$pb
>>> make[3]: *** [test/CMakeFiles/test_mls.dir/test_mls.o] Error 1
>>
>> Any insight for this one ?
>>
>> Additionally I got lots of errors related to cmath in the pcl package
>>  - when using isnan instead of std::isnan : corrected adding std::
>>  - when using pow(int,int) : corrected replacing by pow(double(...),...), not sure if it's a good idea but it clears the error
>>
>> Thanks,
>> cyril
>>
>> Le 2010-11-16 à 16:44, Vaibhav Ghadiok a écrit :
>>
>>> Just to add. I was working on Ubuntu 8.04 and that turned out to be the culprit. If I remember correctly I was only able to get pcl to work (apt-get or source install) when I upgraded to Ubuntu 10.10.
>>>
>>> So, your thing could certainly be OS related.
>>>
>>> On Tue, Nov 16, 2010 at 2:36 PM, Vaibhav Ghadiok<[hidden email]>  wrote:
>>> Hi Cyril
>>>
>>> I was eventually able to get a working version with a sudo apt-get install instead of building from source (As sugested by Radu) . Sorry for not posting this on the groups. I can check in the evening once again. I presume everything is still working.
>>>
>>> I got busy with other stuff and didn't really get the time to plough through PCL. But with Kinect... I better be getting back to it :-)
>>>
>>> Let me get back to you by evening to confirm what I have said above.
>>>
>>> Warm regards
>>> Vaibhav
>>>
>>>
>>> On Tue, Nov 16, 2010 at 12:03 PM, cyril.L<[hidden email]>  wrote:
>>> Hi all,
>>> Trying to play with Kinect and the PCL on a fresh C Turtle, I figured out that I get the same error as Vaibhav when building the pcl package.
>>>
>>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511: error: template argument ‘Eigen3::NumTraits<typename Derived::Scalar>::IsComplex’ involves template parameter(s)
>>>
>>> This first error was eigen3 package related (tridiag_3x3.patch misses to change the specialization for 1x1 matrices in Tridiagonalization.h).
>>>
>>> Then lots of :
>>>> In file included from /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/src/pcl/io/io.cpp:43:
>>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected identifier before ‘(’ token
>>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected unqualified-id before ‘,’ token
>>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
>>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected `)' before ‘,’ token
>>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: ‘x’ has not been declared
>>>> /Users/cyril/Applications/ros-cturtle/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:181: error: expected constructor, destructor, or type conversion before ‘)’ token
>>>
>>> This second error seemed to happen with Vaibhav too, and I didn't managed to get over it. So I tried with a trunk version of the point_cloud_perception stack, the first error didn't appear, but the second was still there.
>>>
>>> Any insight ? Ah maybe it's important, I am using ROS on OSX Snow Leopard.
>>>
>>> Thanks,
>>> cyril (really exited about using the PCL at home !)
>>>
>>>
>>> Quote from https://code.ros.org/lurker/message/20100927.201605.41589b9b.en.html :
>>>> Uh oh, that's a weird error. Are you using an overlay of point_cloud_perception unstable? Can you try trunk to see if
>>>> that solves the issue, though it doesn't look to me like a release problem...
>>>>
>>>> Cheers,
>>>> Radu.
>>>>
>>>>
>>>> On 09/27/2010 01:09 PM, Vaibhav Ghadiok wrote:
>>>>> hi everybody
>>>>>
>>>>> I am trying to install the pcl unstable release and get the following
>>>>> error listed below. I have tried installing previous versions of pcl but
>>>>> with no success and get a fairly similar error.
>>>>>
>>>>> [rosmake-1] Finished<<<  geometry_msgs [PASS] [ 2.66 seconds ]
>>>>> [rosmake-1] Starting>>>  sensor_msgs [ make ]
>>>>> [rosmake-1] Finished<<<  sensor_msgs [PASS] [ 1.55 seconds ]
>>>>> [rosmake-1] Starting>>>  pcl [ make ]
>>>>> [ rosmake ] Last 40 linesl: 3.8 sec ]                [ 1 Active 25/26
>>>>> Complete ]
>>>>> {-------------------------------------------------------------------------------
>>>>
>>>>
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>>>>> error: expected `)' before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>>>>> error: ‘principal_curvature’ has not been declared
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:286:
>>>>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>>> error: expected identifier before ‘(’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>>> error: expected unqualified-id before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>>> error: expected `)' before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>>> error: expected `)' before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>>> error: ‘histogram’ has not been declared
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:294:
>>>>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>>> error: expected identifier before ‘(’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>>> error: expected unqualified-id before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>>> error: expected `)' before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>>> error: expected `)' before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>>> error: ‘histogram’ has not been declared
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:298:
>>>>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>>> error: expected identifier before ‘(’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>>> error: expected unqualified-id before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>>> error: expected `)' before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>>> error: expected `)' before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>>> error: ‘histogram’ has not been declared
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:302:
>>>>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>>> error: expected identifier before ‘(’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>>> error: expected unqualified-id before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>>> error: expected `)' before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>>> error: expected `)' before ‘,’ token
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>>> error: ‘gradient’ has not been declared
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/point_types.h:306:
>>>>> error: expected constructor, destructor, or type conversion before ‘)’ token
>>>>>   In file included from
>>>>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/Eigenvalues:29,
>>>>>                    from
>>>>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/QR:38,
>>>>>                    from
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/pcl_base.h:43,
>>>>>                    from
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/include/pcl/features/feature.h:45,
>>>>>                    from
>>>>> /home/coven/ros/stacks/point_cloud_perception/pcl/src/pcl/features/feature.cpp:45:
>>>>
>>>>
>>>>>
>>>>> /home/coven/ros/stacks/point_cloud_perception/eigen3/include/Eigen3/src/Eigenvalues/Tridiagonalization.h:511:
>>>>> error: template argument ‘Eigen3::NumTraits<typename
>>>>> Derived::Scalar>::IsComplex’ involves template parameter(s)
>>>>>   make[3]: *** [CMakeFiles/pcl_features.dir/src/pcl/features/feature.o]
>>>>> Error 1
>>>>>   make[3]: Leaving directory
>>>>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>>>>   make[2]: *** [CMakeFiles/pcl_features.dir/all] Error 2
>>>>>   make[2]: Leaving directory
>>>>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>>>>   make[1]: *** [all] Error 2
>>>>>   make[1]: Leaving directory
>>>>> `/home/coven/ros/stacks/point_cloud_perception/pcl/build'
>>>>> -------------------------------------------------------------------------------}
>>>>> [ rosmake ] Output from build of package pcl written to:
>>>>> [ rosmake ]
>>>>> /home/coven/.ros/rosmake/rosmake_output-20100927-140239/pcl/build_output.log
>>>>> [rosmake-1] Finished<<<  pcl [FAIL] [ 3.79 seconds ]
>>>>> [ rosmake ] Halting due to failure in package pcl.
>>>>> [ rosmake ] Waiting for other threads to complete.
>>>>> [ rosmake ] Results:
>>>>> [ rosmake ] Built 26 packages with 1 failures.
>>>>> [ rosmake ] Summary output to directory
>>>>> [ rosmake ] /home/coven/.ros/rosmake/rosmake_output-20100927-140239
>>>>
>>>>
>>>>>
>>>>> Thanks
>>>>> Vaibhav
>>> _______________________________________________
>>> [hidden email] / http://pcl.ros.org
>>> https://code.ros.org/mailman/listinfo/pcl-users
>>>
>>>
>>>
>>> --
>>> http://guidance.aero.iisc.ernet.in/vaibhav
>>>
>>>
>>>
>>> --
>>> http://guidance.aero.iisc.ernet.in/vaibhav
>>> _______________________________________________
>>> [hidden email] / http://pcl.ros.org
>>> https://code.ros.org/mailman/listinfo/pcl-users
>>
>> _______________________________________________
>> [hidden email] / http://pcl.ros.org
>> https://code.ros.org/mailman/listinfo/pcl-users

_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Does KdTreeANN.nearestKSearch() return squared distances?

jglov
It seems like KdTreeANN.nearestKSearch() returns squared distances.  Is
this the
expected behavior?  Does KdTreeFLANN.nearestKSearch() also return squared
distances?  If this is not a bug, it should probably be documented somewhere.

Thanks,
Jared

_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Does KdTreeANN.nearestKSearch() return squared distances?

Zoltan-Csaba Marton
Hi Jared,

yes, you are right. Both functions return squared distances, so at least
the parameter names should reflect this. I'll change them and add
appropriate comments.

Thanks for the heads up! I guess we got so accustomed to how ANN works
that we forgot about this.

Cheers,
Zoltan

On Thu, 2010-11-18 at 10:00 -0500, Jared Marshall Glover wrote:

> It seems like KdTreeANN.nearestKSearch() returns squared distances.  Is
> this the
> expected behavior?  Does KdTreeFLANN.nearestKSearch() also return squared
> distances?  If this is not a bug, it should probably be documented somewhere.
>
> Thanks,
> Jared
>
> _______________________________________________
> [hidden email] / http://pcl.ros.org
> https://code.ros.org/mailman/listinfo/pcl-users


_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Does KdTreeANN.nearestKSearch() return squared distances?

Radu B. Rusu
Administrator
In reply to this post by jglov
Jared,

Yeah - we should document this better. We agreed a long time ago that doing extra sqrt's would slow things down and they
are not always needed. Can you please change the documentation in the headers of the respective methods and push back
the changes in trunk?

Thanks!

Cheers,
Radu.


On 11/18/2010 07:00 AM, Jared Marshall Glover wrote:

> It seems like KdTreeANN.nearestKSearch() returns squared distances.  Is
> this the
> expected behavior?  Does KdTreeFLANN.nearestKSearch() also return squared
> distances?  If this is not a bug, it should probably be documented somewhere.
>
> Thanks,
> Jared
>
> _______________________________________________
> [hidden email] / http://pcl.ros.org
> https://code.ros.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Does KdTreeANN.nearestKSearch() return squared distances?

Radu B. Rusu
Administrator
In reply to this post by Zoltan-Csaba Marton
Whoops - sorry - I should have read this first before being savvy in replying :)

Cheers,
Radu.


On 11/18/2010 07:28 AM, Zoltan-Csaba Marton wrote:

> Hi Jared,
>
> yes, you are right. Both functions return squared distances, so at least
> the parameter names should reflect this. I'll change them and add
> appropriate comments.
>
> Thanks for the heads up! I guess we got so accustomed to how ANN works
> that we forgot about this.
>
> Cheers,
> Zoltan
>
> On Thu, 2010-11-18 at 10:00 -0500, Jared Marshall Glover wrote:
>> It seems like KdTreeANN.nearestKSearch() returns squared distances.  Is
>> this the
>> expected behavior?  Does KdTreeFLANN.nearestKSearch() also return squared
>> distances?  If this is not a bug, it should probably be documented somewhere.
>>
>> Thanks,
>> Jared
>>
>> _______________________________________________
>> [hidden email] / http://pcl.ros.org
>> https://code.ros.org/mailman/listinfo/pcl-users
>
>
> _______________________________________________
> [hidden email] / http://pcl.ros.org
> https://code.ros.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Does KdTreeANN.nearestKSearch() return squared distances?

Radu B. Rusu
Administrator
In reply to this post by Zoltan-Csaba Marton
Oh, can we check that OrganizedDataIndex has the same interface please?

Cheers,
Radu.


On 11/18/2010 07:28 AM, Zoltan-Csaba Marton wrote:

> Hi Jared,
>
> yes, you are right. Both functions return squared distances, so at least
> the parameter names should reflect this. I'll change them and add
> appropriate comments.
>
> Thanks for the heads up! I guess we got so accustomed to how ANN works
> that we forgot about this.
>
> Cheers,
> Zoltan
>
> On Thu, 2010-11-18 at 10:00 -0500, Jared Marshall Glover wrote:
>> It seems like KdTreeANN.nearestKSearch() returns squared distances.  Is
>> this the
>> expected behavior?  Does KdTreeFLANN.nearestKSearch() also return squared
>> distances?  If this is not a bug, it should probably be documented somewhere.
>>
>> Thanks,
>> Jared
>>
>> _______________________________________________
>> [hidden email] / http://pcl.ros.org
>> https://code.ros.org/mailman/listinfo/pcl-users
>
>
> _______________________________________________
> [hidden email] / http://pcl.ros.org
> https://code.ros.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pcl.ros.org
https://code.ros.org/mailman/listinfo/pcl-users