Compiling error. Code from trunk

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

Compiling error. Code from trunk

anto1389
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

Ralph058
I'm having the same problem. The pointclouds.org shows this build as a failure to compile. Does anybody have the login for teamcity so I can find the latest build that compiles in linux-64
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

Matteo Munaro
Hi,

you can access Team City as a guest user, without needing a login.

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

Re: Compiling error. Code from trunk

Ralph058
In reply to this post by Ralph058
There's a sign in as guest button on the bottom. The last successful build was 8771
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

aichim
Administrator
Hi guys,

I am aware of the error and will take care of it soon.

Sorry for the inconvenience!

Cheers,
Alex
---
http://www.openperception.org



On Mar 14, 2013, at 12:35 PM, Ralph058 <[hidden email]> wrote:

> There's a sign in as guest button on the bottom. The last successful build
> was 8771
>
>
>
> --
> View this message in context: http://www.pcl-users.org/Compiling-error-Code-from-trunk-tp4026748p4026772.html
> Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users

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

Re: Compiling error. Code from trunk

anto1389
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

Jochen Sprickerhof
Administrator
Hi Antonio,

* anto1389 <[hidden email]> [2013-03-14 16:06]:
> Sorry but what does you can access Team City as a guest user, without needing
> a login mean?

http://build.pointclouds.org/guestLogin.html?guest=1

> And how can i get the version that you said from the trunk,

https://github.com/PointCloudLibrary/pcl

git checkout 832f5d87

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

Re: Compiling error. Code from trunk

anto1389
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

upen
In reply to this post by Jochen Sprickerhof
Hey I have successfully compiled my PCL 1.7 using trunk. Where can I get PDB files for pcl 1.7. I don't find it anywhere in PCL website.
Please HELP me...

Thanks
Upen
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

scrabble80
In reply to this post by anto1389
Hi,

I tried to compile pcl from trunk yesterday and got a series of compilation errors regarding  ‘uniform_rand_’ as the user below experienced last month. Is anyone else experiencing the same issue or is it just me ?

Kind regards,
Lucas

anto1389 wrote
Hello,
   I just tried to install the last version available in the trunk of the pcl library but when i try to compile i get a lot of errors like the following ones:

   nstantiated from here
/home/anto/ros_workspace/trunk/filters/include/pcl/filters/random_sample.h:136:36: error: ‘uniform_rand_’ was not declared in this scope
In file included from /home/anto/ros_workspace/trunk/filters/src/random_sample.cpp:41:0:
/home/anto/ros_workspace/trunk/filters/include/pcl/filters/impl/random_sample.hpp: In member function ‘void pcl::RandomSample<PointT>::applyFilter(std::vector<int>&) [with PointT = pcl::SHOT1344]’:
/home/anto/ros_workspace/trunk/filters/src/random_sample.cpp:172:1:   instantiated from here
/home/anto/ros_workspace/trunk/filters/include/pcl/filters/impl/random_sample.hpp:130:7: warning: conversion to ‘float’ from ‘size_t {aka unsigned int}’ may alter its value [-Wconversion]
In file included from /home/anto/ros_workspace/trunk/filters/include/pcl/filters/impl/random_sample.hpp:41:0,
                 from /home/anto/ros_workspace/trunk/filters/src/random_sample.cpp:41:
/home/anto/ros_workspace/trunk/filters/include/pcl/filters/random_sample.h: In member function ‘float pcl::RandomSample<PointT>::unifRand() [with PointT = pcl::SHOT1344]’:
/home/anto/ros_workspace/trunk/filters/src/random_sample.cpp:172:1:   instantiated from here
/home/anto/ros_workspace/trunk/filters/include/pcl/filters/random_sample.h:136:36: error: ‘uniform_rand_’ was not declared in this scope
In file included from /home/anto/ros_workspace/trunk/filters/src/random_sample.cpp:41:0:
/home/anto/ros_workspace/trunk/filters/include/pcl/filters/impl/random_sample.hpp: In member function ‘void pcl::RandomSample<PointT>::applyFilter(std::vector<int>&) [with PointT = pcl::PointUV]’:

   What can i do to solve it?

Thank you very much!
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

Jochen Sprickerhof
Administrator
Hi Lucas,

* scrabble80 <[hidden email]> [2013-04-18 05:18]:
> I tried to compile pcl from trunk yesterday and got a series of compilation
> errors regarding  ‘uniform_rand_’ as the user below experienced last month.
> Is anyone else experiencing the same issue or is it just me ?

I guess you are still using the svn. Please switch to our new git repo,
as announced here:
http://www.pcl-users.org/PCL-moved-to-Github-td4026710.html

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

Re: Compiling error. Code from trunk

scrabble80
Hi Jochen,

You are right! I missed that announcement.
I made some minor tweaks of mine to the code I checked out from the old svn repo. Do you know if there is a quick way I can update the svn working copy to work with the git repo ? Otherwise I'll just checkout from git and transfer the changes manually.

Thanks,
Lucas

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Jochen Sprickerhof
Sent: 18 April 2013 13:26
To: Point Cloud Library (PCL) users
Subject: Re: [PCL-users] Compiling error. Code from trunk

Hi Lucas,

* scrabble80 <[hidden email]> [2013-04-18 05:18]:
> I tried to compile pcl from trunk yesterday and got a series of
> compilation errors regarding  ‘uniform_rand_’ as the user below experienced last month.
> Is anyone else experiencing the same issue or is it just me ?

I guess you are still using the svn. Please switch to our new git repo, as announced here:
http://www.pcl-users.org/PCL-moved-to-Github-td4026710.html

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

Re: Compiling error. Code from trunk

Jochen Sprickerhof
Administrator
Hi Lucas,

* Hadjilucas, Lucas <[hidden email]> [2013-04-18 12:37]:
> I made some minor tweaks of mine to the code I checked out from the old svn repo. Do you know if there is a quick way I can update the svn working copy to work with the git repo ? Otherwise I'll just checkout from git and transfer the changes manually.

The clean and easy way would be to check out the new repo and patch/diff
or copy the changes over. That being said, in principal you should be
able to replace all .svn by the new .git..

Cheers Jochen
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
mvu
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

mvu
This post has NOT been accepted by the mailing list yet.
In reply to this post by anto1389
I have the same issues. Did you figure this out?

Thanks,
Mary
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

Farhad
In reply to this post by anto1389
I am also having this problem.

Anyone managed to find a way around it?
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

Jochen Sprickerhof
Administrator
* Farhad <[hidden email]> [2013-04-30 07:24]:
> I am also having this problem.
>
> Anyone managed to find a way around it?

Did you read the entire thread?

Do you use the git version?

How should we help you with so little information?
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

Farhad
Hello Jochen,

yes I used git.
So the problem I have is most probably from my lack of familiarity with Cmake, etc. (or maybe programming in general!)

I have ROS installed on my machine, and it comes with PCL 1.6 included. But some functionality I need is lacking in pcl1.6 while it seems to be added in 1.7
So I tried installing pcl 1.7 on my machine (enabling 'with ROS' in cmake) and that all went fine. I was expecting it to replace, or integrate, with the older version of PCL.
Anyway, I am experimenting with the ASL-PTAM stack in ROS, and adding some code to theirs. While passing the route to header files and libs related to PCL 1.7 in the cmakelist.txt file of PTAM stack, I get the following error:

==============================
   Linking CXX executable ../bin/ptam
  /usr/bin/ld: warning: libpcl_common.so.1.7, needed by /usr/local/lib/libpcl_recognition.so, may conflict with libpcl_common.so.1.6
  /usr/bin/ld: CMakeFiles/ptam.dir/src/Tracker.cc.o: undefined reference to symbol 'pcl::PCLBase<pcl::PointXYZRGB>::PCLBase()'
  /usr/bin/ld: note: 'pcl::PCLBase<pcl::PointXYZRGB>::PCLBase()' is defined in DSO /usr/local/lib/libpcl_common.so.1.7 so try adding it to the linker command line
  /usr/local/lib/libpcl_common.so.1.7: could not read symbols: Invalid operation
  collect2: ld returned 1 exit status
  make[4]: *** [../bin/ptam] Error 1
  make[4]: Leaving directory `/home/farhad/sandbox1/ethzasl_ptam/ptam/build'
  make[3]: *** [CMakeFiles/ptam.dir/all] Error 2
  make[3]: Leaving directory `/home/farhad/sandbox1/ethzasl_ptam/ptam/build'
  make[2]: *** [all] Error 2
  make[2]: Leaving directory `/home/farhad/sandbox1/ethzasl_ptam/ptam/build'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/home/farhad/sandbox1/ethzasl_ptam/ptam'
==============================

Which seem to be a simple linking error, but I don't know how to solve it!
What would be the best way to use PCL 1.7 along with ROS? would be very nice to see a fool-proof way of integrating the two, since there is a considerable number of users who use both systems.

In fact, what I want to do is to use ICP module and get the correspondences between query/target points.
I see in pcl1.7 there is 'correspondeces_' structure available that holds this data, but it is missing in previous version. (which surprises me, since getting correspondences after ICP has converged seems to be such a natural and basic thing ). I see you are one of the contributors to the Registration module, it would be appreciated if you can show me the right way to obtain correspondences (in verion 1.6 that is).

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: Compiling error. Code from trunk

Jochen Sprickerhof
Administrator
Hi Farhad,

* Farhad <[hidden email]> [2013-05-03 07:56]:
> I have ROS installed on my machine, and it comes with PCL 1.6 included. But
> some functionality I need is lacking in pcl1.6 while it seems to be added in
> 1.7
> So I tried installing pcl 1.7 on my machine (enabling 'with ROS' in cmake)
> and that all went fine. I was expecting it to replace, or integrate, with
> the older version of PCL.

Please use the pcl17 stack for PCL1.7 in ROS.

> Anyway, I am experimenting with the ASL-PTAM stack in ROS, and adding some
> code to theirs. While passing the route to header files and libs related to
> PCL 1.7 in the cmakelist.txt file of PTAM stack, I get the following error:
>
> ==============================
>    Linking CXX executable ../bin/ptam
>   /usr/bin/ld: warning: libpcl_common.so.1.7, needed by
> /usr/local/lib/libpcl_recognition.so, may conflict with libpcl_common.so.1.6
>   /usr/bin/ld: CMakeFiles/ptam.dir/src/Tracker.cc.o: undefined reference to
> symbol 'pcl::PCLBase<pcl::PointXYZRGB>::PCLBase()'
>   /usr/bin/ld: note: 'pcl::PCLBase<pcl::PointXYZRGB>::PCLBase()' is defined
> in DSO /usr/local/lib/libpcl_common.so.1.7 so try adding it to the linker
> command line
>   /usr/local/lib/libpcl_common.so.1.7: could not read symbols: Invalid
> operation
>   collect2: ld returned 1 exit status
>   make[4]: *** [../bin/ptam] Error 1
>   make[4]: Leaving directory `/home/farhad/sandbox1/ethzasl_ptam/ptam/build'
>   make[3]: *** [CMakeFiles/ptam.dir/all] Error 2
>   make[3]: Leaving directory `/home/farhad/sandbox1/ethzasl_ptam/ptam/build'
>   make[2]: *** [all] Error 2
>   make[2]: Leaving directory `/home/farhad/sandbox1/ethzasl_ptam/ptam/build'
>   make[1]: *** [all] Error 2
>   make[1]: Leaving directory `/home/farhad/sandbox1/ethzasl_ptam/ptam'
> ==============================

That's nowhere related to the original thread, please don't hijack
threads.

> Which seem to be a simple linking error, but I don't know how to solve it!

PCL is a advanced C++ library. We expect users to fix simple CMake/C++
problems for them self, as it's not the topic of this mailing list.

> In fact, what I want to do is to use ICP module and get the correspondences
> between query/target points.
> I see in pcl1.7 there is 'correspondeces_' structure available that holds
> this data, but it is missing in previous version. (which surprises me, since
> getting correspondences after ICP has converged seems to be such a natural
> and basic thing ). I see you are one of the contributors to the Registration
> module, it would be appreciated if you can show me the right way to obtain
> correspondences (in verion 1.6 that is).

We developed a new registration API for PCL1.7, just use it ;).

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