Compile 1.7.2 trunk on linux, boost problem

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

Compile 1.7.2 trunk on linux, boost problem

rastaxe81
Hi, I am trying to compile pcl trunk ver. 1.7.2 on Ubuntu 12.04 32bit.
I have several undefined reference (from libpcl_io.so , such as boost::this_thread::hiden::sleep_until(timespec const&) or boost::thread::start_thread_noexcept().
I manually installed boost 1.57 that may conflict with boost 1.46.
I cannot remove boost 1.46 because I work also with ROS and it will be also removed.
How can I solve my problem?
Reply | Threaded
Open this post in threaded view
|

Re: Compile 1.7.2 trunk on linux, boost problem

kwaegel
Administrator
Can you change BOOST_ROOT when running CMake? That might let you select which version to build with.

(This works on Windows, at least. I'm not as familiar with Linux.)
Reply | Threaded
Open this post in threaded view
|

Re: Compile 1.7.2 trunk on linux, boost problem

saimanoj18
Can you try this and let us know if it works ?

sudo apt-get install libboost1.48-*
Reply | Threaded
Open this post in threaded view
|

Re: Compile 1.7.2 trunk on linux, boost problem

rastaxe81
I did some search on the ROS forum. The only solution to have boost > 1.46 on Ubuntu 12.04 and PCL trunk and ROS is to remove ROS and compile the sources. So this is what I am doing now.
Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Compile 1.7.2 trunk on linux, boost problem

VictorLamoine
Administrator
It's very unlikely to be the only solution..!
There are PPAs for Boost and Linux allows (hopefully it does!) you to install several versions of boost at the same time:
https://launchpad.net/~boost-latest/+archive/ubuntu/ppa

You should try that before compiling ROS etc.. it's hard work pretty much for nothing.