PCL standalone dependencies on windows

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

PCL standalone dependencies on windows

Jasper Brekelmans
Hi,

At the risk of being a windows n00b amongst a lot of brilliant linux brains I'm afraid I need a little help in the right direction.

As I understood PCL standalone should support windows now and I'd love to give it a try, but I'm stuck on solving the dependencies. More specifically I'm stuck with the Boost libraries.

For the long story, here's what I did:

- download the latest boost from http://www.boost.org/
- extract boost to C:\boost_1_45_0
- build it from the commandline by doing
    bootstrap
    .\bjam
- just to be sure, create system variable: BOOST_ROOT
    with contents: C:\boost_1_45_0
- just to be sure, create system variable: ROS_BOOST_ROOT
    with contents: C:\boost_1_45_0
- extract pcl to C:\pcl-0.7.0
- read the readme and make C:\pcl-0.7.0\build folder
- start CMake GUI point to pcl and hit configure
- select Visual Studio 9 2008
- then I'm stuck with the following error:

Could NOT find Boost
CMake Error at cmake/rosbuild.cmake:25 (message):
  Could not find Boost libraries.
Call Stack (most recent call first):
  CMakeLists.txt:7 (rosbuild_add_boost_directories)


I've tried poking around in the cmake files but can't really figure out where it's looking for boost.
Naturally all of the forum posts relate to ROS and linux.

In the CMake GUI it does seem to be able to locate "Boost_INCLUDE_DIR" as "C:/boost_1_45_0", but the other boost related entries are NOTFOUND
I've tried pointing the "Boost_FILESYSTEM_LIBRARY" and "Boost_SYSTEM_LIBRRARY" entries to the .lib files in "C:/boost_1_45_0/stage/lib/" but they get rejected.


I was hoping anyone can give me a nudge in the right direction to get this setup to compile?

-- 
~~~~~~~~
Jasper Brekelmans               MOTEK Amsterdam
[hidden email]                    [hidden email]
http://www.brekel.com           http://www.e-motek.com
~~~~~~~~
Character/Mocap TD, custom Tool/Pipeline development



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

Re: PCL standalone dependencies on windows

Stefan Holzer-3
Hi Jasper,

unfortunately the 0.7 release of PCL is not compatible with windows/visual studio (at least I didn't manage to get it running due to some template instantiation stuff (we still have to figure out how to solve this problem)). The 0.6 release should work, but, you will also run into troubles with the cmake files. Attached please find the cmake-files I used to get it running (you have to set all the include/lib directories manually in the cmake-gui).

It might be possible that I applied some changes to the code which I don't remember at the moment. So, let me know if it works.

Cheers,
Stefan

P.S.: Windows rocks!!! ;)




Am 03.01.2011 23:16, schrieb Jasper Brekelmans:
Hi,

At the risk of being a windows n00b amongst a lot of brilliant linux brains I'm afraid I need a little help in the right direction.

As I understood PCL standalone should support windows now and I'd love to give it a try, but I'm stuck on solving the dependencies. More specifically I'm stuck with the Boost libraries.

For the long story, here's what I did:

- download the latest boost from http://www.boost.org/
- extract boost to C:\boost_1_45_0
- build it from the commandline by doing
    bootstrap
    .\bjam
- just to be sure, create system variable: BOOST_ROOT
    with contents: C:\boost_1_45_0
- just to be sure, create system variable: ROS_BOOST_ROOT
    with contents: C:\boost_1_45_0
- extract pcl to C:\pcl-0.7.0
- read the readme and make C:\pcl-0.7.0\build folder
- start CMake GUI point to pcl and hit configure
- select Visual Studio 9 2008
- then I'm stuck with the following error:

Could NOT find Boost
CMake Error at cmake/rosbuild.cmake:25 (message):
  Could not find Boost libraries.
Call Stack (most recent call first):
  CMakeLists.txt:7 (rosbuild_add_boost_directories)


I've tried poking around in the cmake files but can't really figure out where it's looking for boost.
Naturally all of the forum posts relate to ROS and linux.

In the CMake GUI it does seem to be able to locate "Boost_INCLUDE_DIR" as "C:/boost_1_45_0", but the other boost related entries are NOTFOUND
I've tried pointing the "Boost_FILESYSTEM_LIBRARY" and "Boost_SYSTEM_LIBRRARY" entries to the .lib files in "C:/boost_1_45_0/stage/lib/" but they get rejected.


I was hoping anyone can give me a nudge in the right direction to get this setup to compile?

-- 
~~~~~~~~
Jasper Brekelmans               MOTEK Amsterdam
[hidden email]                    [hidden email]
http://www.brekel.com           http://www.e-motek.com
~~~~~~~~
Character/Mocap TD, custom Tool/Pipeline development


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


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

pcl-0.6.0-cmake.zip (13K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: PCL standalone dependencies on windows

Radu B. Rusu
Administrator
Stefan,

Please let us know if you manage to get 0.7 patched for Visual Studio, so we can do a minor patch release.

Also, can you please add the cmake files you use to the wiki somewhere under http://www.ros.org/wiki/pcl/standalone/?
Thanks :)

Cheers,
Radu.
--
http://pointclouds.org

On 01/03/2011 03:49 PM, Stefan Holzer wrote:

> Hi Jasper,
>
> unfortunately the 0.7 release of PCL is not compatible with windows/visual studio (at least I didn't manage to get it
> running due to some template instantiation stuff (we still have to figure out how to solve this problem)). The 0.6
> release should work, but, you will also run into troubles with the cmake files. Attached please find the cmake-files I
> used to get it running (you have to set all the include/lib directories manually in the cmake-gui).
>
> It might be possible that I applied some changes to the code which I don't remember at the moment. So, let me know if it
> works.
>
> Cheers,
> Stefan
>
> P.S.: Windows rocks!!! ;)
>
>
>
>
> Am 03.01.2011 23:16, schrieb Jasper Brekelmans:
>> Hi,
>>
>> At the risk of being a windows n00b amongst a lot of brilliant linux brains I'm afraid I need a little help in the
>> right direction.
>>
>> As I understood PCL standalone should support windows now and I'd love to give it a try, but I'm stuck on solving the
>> dependencies. More specifically I'm stuck with the Boost libraries.
>>
>> For the long story, here's what I did:
>>
>> - download the latest boost from http://www.boost.org/
>> - extract boost to C:\boost_1_45_0
>> - build it from the commandline by doing
>> bootstrap
>> .\bjam
>> - just to be sure, create system variable: BOOST_ROOT
>> with contents: C:\boost_1_45_0
>> - just to be sure, create system variable: ROS_BOOST_ROOT
>> with contents: C:\boost_1_45_0
>> - extract pcl to C:\pcl-0.7.0
>> - read the readme and make C:\pcl-0.7.0\build folder
>> - start CMake GUI point to pcl and hit configure
>> - select Visual Studio 9 2008
>> - then I'm stuck with the following error:
>>
>> Could NOT find Boost
>> CMake Error at cmake/rosbuild.cmake:25 (message):
>> Could not find Boost libraries.
>> Call Stack (most recent call first):
>> CMakeLists.txt:7 (rosbuild_add_boost_directories)
>>
>>
>> I've tried poking around in the cmake files but can't really figure out where it's looking for boost.
>> Naturally all of the forum posts relate to ROS and linux.
>>
>> In the CMake GUI it does seem to be able to locate "Boost_INCLUDE_DIR" as "C:/boost_1_45_0", but the other boost
>> related entries are NOTFOUND
>> I've tried pointing the "Boost_FILESYSTEM_LIBRARY" and "Boost_SYSTEM_LIBRRARY" entries to the .lib files in
>> "C:/boost_1_45_0/stage/lib/" but they get rejected.
>>
>>
>> I was hoping anyone can give me a nudge in the right direction to get this setup to compile?
>>
>> --
>> ~~~~~~~~
>> Jasper Brekelmans MOTEK Amsterdam
>> [hidden email] [hidden email]
>> http://www.brekel.com http://www.e-motek.com
>> ~~~~~~~~
>> Character/Mocap TD, custom Tool/Pipeline development
>>
>>
>>
>> _______________________________________________
>> [hidden email]  /http://pointclouds.org
>> https://code.ros.org/mailman/listinfo/pcl-users
>
>
>
> _______________________________________________
> [hidden email] / http://pointclouds.org
> https://code.ros.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pointclouds.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: PCL standalone dependencies on windows

nizar sallem
In reply to this post by Jasper Brekelmans
At Mon, 03 Jan 2011 23:16:31 +0100,
Jasper Brekelmans wrote:

>
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; ISO-8859-1 (7bit)>]
>
> [1.2  <text/html; ISO-8859-1 (7bit)>]
> Hi,
>
> At the risk of being a windows n00b amongst a lot of brilliant linux brains I'm afraid I need a little help in the right direction.
>
> As I understood PCL standalone should support windows now and I'd love to give it a try, but I'm stuck on solving the dependencies. More
> specifically I'm stuck with the Boost libraries.
>
> For the long story, here's what I did:
>
> - download the latest boost from http://www.boost.org/
> - extract boost to C:\boost_1_45_0
> - build it from the commandline by doing
>     bootstrap
>     .\bjam
This only builds boost but don't install it!!!

> - just to be sure, create system variable: BOOST_ROOT
>     with contents: C:\boost_1_45_0
> - just to be sure, create system variable: ROS_BOOST_ROOT
>     with contents: C:\boost_1_45_0
> - extract pcl to C:\pcl-0.7.0
> - read the readme and make C:\pcl-0.7.0\build folder
> - start CMake GUI point to pcl and hit configure
> - select Visual Studio 9 2008
> - then I'm stuck with the following error:
>
> Could NOT find Boost
> CMake Error at cmake/rosbuild.cmake:25 (message):
>   Could not find Boost libraries.
> Call Stack (most recent call first):
>   CMakeLists.txt:7 (rosbuild_add_boost_directories)
>
> I've tried poking around in the cmake files but can't really figure out where it's looking for boost.
> Naturally all of the forum posts relate to ROS and linux.
>
> In the CMake GUI it does seem to be able to locate "Boost_INCLUDE_DIR" as "C:/boost_1_45_0", but the other boost related entries are NOTFOUND
> I've tried pointing the "Boost_FILESYSTEM_LIBRARY" and "Boost_SYSTEM_LIBRRARY" entries to the .lib files in "C:/boost_1_45_0/stage/lib/" but they
> get rejected.
when you use cmake GUI, activate the advanced options and then fill
Boost_ROOT_DIR with path to boost install i.e C:\boost_1_45_0 IF YOU
INSTALLED IT THERE and then rerun
configure, this should work at least theroriticaly.
By the way, Boost_FILESYSTEM_LIBRARY should point to something called
boost_filesystem.dll or s.th. like. I don't have a windows but if you
can attach the CMakeCache.txt file (you will find it in the directory
from which you have run cmake) it could be very helpful.

>
> I was hoping anyone can give me a nudge in the right direction to get this setup to compile?
>
> --
> ~~~~~~~~
> Jasper Brekelmans               MOTEK Amsterdam
> [hidden email]                    [hidden email]
> http://www.brekel.com           http://www.e-motek.com
> ~~~~~~~~
> Character/Mocap TD, custom Tool/Pipeline development
>
>
> [2  <text/plain; us-ascii (7bit)>]
> _______________________________________________
> [hidden email] / http://pointclouds.org
> https://code.ros.org/mailman/listinfo/pcl-users
Cheers
--
Nizar
_______________________________________________
[hidden email] / http://pointclouds.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: PCL standalone dependencies on windows

nizar sallem
In reply to this post by Stefan Holzer-3
At Tue, 04 Jan 2011 00:49:15 +0100,
Stefan Holzer wrote:

>
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; ISO-8859-1 (7bit)>]
>
> [1.2  <text/html; ISO-8859-1 (7bit)>]
> Hi Jasper,
>
> unfortunately the 0.7 release of PCL is not compatible with windows/visual studio (at least I didn't manage to get it running due to some template
> instantiation stuff (we still have to figure out how to solve this
> problem)).
As far as I can remember windows didn't like template default
instantiations i.e. template<typename T=float> makes it cough but my
souvenirs of windows are very old may be this have changed?

>The 0.6 release should work, but, you will also run into troubles with
> the cmake files. Attached please find the cmake-files I used to get it running (you have to set all the include/lib directories manually in the
> cmake-gui).
>
> It might be possible that I applied some changes to the code which I don't remember at the moment. So, let me know if it works.
>
> Cheers,
> Stefan
>
> P.S.: Windows rocks!!! ;)
>
> Am 03.01.2011 23:16, schrieb Jasper Brekelmans:
>
>     Hi,
>    
>     At the risk of being a windows n00b amongst a lot of brilliant linux brains I'm afraid I need a little help in the right direction.
>    
>     As I understood PCL standalone should support windows now and I'd love to give it a try, but I'm stuck on solving the dependencies. More
>     specifically I'm stuck with the Boost libraries.
>    
>     For the long story, here's what I did:
>    
>     - download the latest boost from http://www.boost.org/
>     - extract boost to C:\boost_1_45_0
>     - build it from the commandline by doing
>         bootstrap
>         .\bjam
>     - just to be sure, create system variable: BOOST_ROOT
>         with contents: C:\boost_1_45_0
>     - just to be sure, create system variable: ROS_BOOST_ROOT
>         with contents: C:\boost_1_45_0
>     - extract pcl to C:\pcl-0.7.0
>     - read the readme and make C:\pcl-0.7.0\build folder
>     - start CMake GUI point to pcl and hit configure
>     - select Visual Studio 9 2008
>     - then I'm stuck with the following error:
>    
>     Could NOT find Boost
>     CMake Error at cmake/rosbuild.cmake:25 (message):
>       Could not find Boost libraries.
>     Call Stack (most recent call first):
>       CMakeLists.txt:7 (rosbuild_add_boost_directories)
>
>     I've tried poking around in the cmake files but can't really figure out where it's looking for boost.
>     Naturally all of the forum posts relate to ROS and linux.
>    
>     In the CMake GUI it does seem to be able to locate "Boost_INCLUDE_DIR" as "C:/boost_1_45_0", but the other boost related entries are NOTFOUND
>     I've tried pointing the "Boost_FILESYSTEM_LIBRARY" and "Boost_SYSTEM_LIBRRARY" entries to the .lib files in "C:/boost_1_45_0/stage/lib/" but
>     they get rejected.
>
>     I was hoping anyone can give me a nudge in the right direction to get this setup to compile?
>    
>     --
>     ~~~~~~~~
>     Jasper Brekelmans               MOTEK Amsterdam
>     [hidden email]                    [hidden email]
>     http://www.brekel.com           http://www.e-motek.com
>     ~~~~~~~~
>     Character/Mocap TD, custom Tool/Pipeline development
>
>     _______________________________________________
>     [hidden email] / http://pointclouds.org
>     https://code.ros.org/mailman/listinfo/pcl-users
>
>
> [2 pcl-0.6.0-cmake.zip <application/x-zip-compressed (base64)>]
>
> [3  <text/plain; us-ascii (7bit)>]
> _______________________________________________
> [hidden email] / http://pointclouds.org
> https://code.ros.org/mailman/listinfo/pcl-users
Cheers,
--
Nizar
_______________________________________________
[hidden email] / http://pointclouds.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: PCL standalone dependencies on windows

Jasper Brekelmans
Thanks everyone for the swift responses and useful pointers!
If all goes well I should have some time later today on a train ride to
test it out.

Will keep you all posted.

Cheers,

~~~~~~~~
Jasper Brekelmans               MOTEK Amsterdam
[hidden email]                    [hidden email]
http://www.brekel.com           http://www.e-motek.com
~~~~~~~~
Character/Mocap TD, custom Tool/Pipeline development


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

Re: PCL standalone dependencies on windows

Jasper Brekelmans
In reply to this post by Stefan Holzer-3
Thanks so much, I finally made some progress, not quite there yet but getting closer.

I've gone ahead and used the following installer for boost. (1.44)
http://www.boostpro.com/download/

Switched back to PCL 0.6 and used the provided files, added the remaining paths by hand and got through the whole CMake process quite smoothly.

But when it comes to build I'm getting loads o errors.
Guess I'll come back to it when I've got a little more time on my hands as it's getting a bit more complicated than I have energy for at the moment :)

Cheers guys and keep up the great work!
~Brekel

On 1/4/2011 12:49 AM, Stefan Holzer wrote:
Hi Jasper,

unfortunately the 0.7 release of PCL is not compatible with windows/visual studio (at least I didn't manage to get it running due to some template instantiation stuff (we still have to figure out how to solve this problem)). The 0.6 release should work, but, you will also run into troubles with the cmake files. Attached please find the cmake-files I used to get it running (you have to set all the include/lib directories manually in the cmake-gui).

It might be possible that I applied some changes to the code which I don't remember at the moment. So, let me know if it works.

Cheers,
Stefan

P.S.: Windows rocks!!! ;)




Am 03.01.2011 23:16, schrieb Jasper Brekelmans:
Hi,

At the risk of being a windows n00b amongst a lot of brilliant linux brains I'm afraid I need a little help in the right direction.

As I understood PCL standalone should support windows now and I'd love to give it a try, but I'm stuck on solving the dependencies. More specifically I'm stuck with the Boost libraries.

For the long story, here's what I did:

- download the latest boost from http://www.boost.org/
- extract boost to C:\boost_1_45_0
- build it from the commandline by doing
    bootstrap
    .\bjam
- just to be sure, create system variable: BOOST_ROOT
    with contents: C:\boost_1_45_0
- just to be sure, create system variable: ROS_BOOST_ROOT
    with contents: C:\boost_1_45_0
- extract pcl to C:\pcl-0.7.0
- read the readme and make C:\pcl-0.7.0\build folder
- start CMake GUI point to pcl and hit configure
- select Visual Studio 9 2008
- then I'm stuck with the following error:

Could NOT find Boost
CMake Error at cmake/rosbuild.cmake:25 (message):
  Could not find Boost libraries.
Call Stack (most recent call first):
  CMakeLists.txt:7 (rosbuild_add_boost_directories)


I've tried poking around in the cmake files but can't really figure out where it's looking for boost.
Naturally all of the forum posts relate to ROS and linux.

In the CMake GUI it does seem to be able to locate "Boost_INCLUDE_DIR" as "C:/boost_1_45_0", but the other boost related entries are NOTFOUND
I've tried pointing the "Boost_FILESYSTEM_LIBRARY" and "Boost_SYSTEM_LIBRRARY" entries to the .lib files in "C:/boost_1_45_0/stage/lib/" but they get rejected.


I was hoping anyone can give me a nudge in the right direction to get this setup to compile?

-- 
~~~~~~~~
Jasper Brekelmans               MOTEK Amsterdam
[hidden email]                    [hidden email]
http://www.brekel.com           http://www.e-motek.com
~~~~~~~~
Character/Mocap TD, custom Tool/Pipeline development


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


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

Re: PCL standalone dependencies on windows

Radu B. Rusu
Administrator
Jasper,

Thanks for the report. Can you please let us know what the errors are? There's a few PCL users and developers now that
use Windows, and they might be able to help.

Cheers,
Radu.
--
http://pointclouds.org

On 01/04/2011 02:03 PM, Jasper Brekelmans wrote:

> Thanks so much, I finally made some progress, not quite there yet but getting closer.
>
> I've gone ahead and used the following installer for boost. (1.44)
> http://www.boostpro.com/download/
>
> Switched back to PCL 0.6 and used the provided files, added the remaining paths by hand and got through the whole CMake
> process quite smoothly.
>
> But when it comes to build I'm getting loads o errors.
> Guess I'll come back to it when I've got a little more time on my hands as it's getting a bit more complicated than I
> have energy for at the moment :)
>
> Cheers guys and keep up the great work!
>
> ~Brekel
>
>
> On 1/4/2011 12:49 AM, Stefan Holzer wrote:
>> Hi Jasper,
>>
>> unfortunately the 0.7 release of PCL is not compatible with windows/visual studio (at least I didn't manage to get it
>> running due to some template instantiation stuff (we still have to figure out how to solve this problem)). The 0.6
>> release should work, but, you will also run into troubles with the cmake files. Attached please find the cmake-files I
>> used to get it running (you have to set all the include/lib directories manually in the cmake-gui).
>>
>> It might be possible that I applied some changes to the code which I don't remember at the moment. So, let me know if
>> it works.
>>
>> Cheers,
>> Stefan
>>
>> P.S.: Windows rocks!!! ;)
>>
>>
>>
>>
>> Am 03.01.2011 23:16, schrieb Jasper Brekelmans:
>>> Hi,
>>>
>>> At the risk of being a windows n00b amongst a lot of brilliant linux brains I'm afraid I need a little help in the
>>> right direction.
>>>
>>> As I understood PCL standalone should support windows now and I'd love to give it a try, but I'm stuck on solving the
>>> dependencies. More specifically I'm stuck with the Boost libraries.
>>>
>>> For the long story, here's what I did:
>>>
>>> - download the latest boost from http://www.boost.org/
>>> - extract boost to C:\boost_1_45_0
>>> - build it from the commandline by doing
>>> bootstrap
>>> .\bjam
>>> - just to be sure, create system variable: BOOST_ROOT
>>> with contents: C:\boost_1_45_0
>>> - just to be sure, create system variable: ROS_BOOST_ROOT
>>> with contents: C:\boost_1_45_0
>>> - extract pcl to C:\pcl-0.7.0
>>> - read the readme and make C:\pcl-0.7.0\build folder
>>> - start CMake GUI point to pcl and hit configure
>>> - select Visual Studio 9 2008
>>> - then I'm stuck with the following error:
>>>
>>> Could NOT find Boost
>>> CMake Error at cmake/rosbuild.cmake:25 (message):
>>> Could not find Boost libraries.
>>> Call Stack (most recent call first):
>>> CMakeLists.txt:7 (rosbuild_add_boost_directories)
>>>
>>>
>>> I've tried poking around in the cmake files but can't really figure out where it's looking for boost.
>>> Naturally all of the forum posts relate to ROS and linux.
>>>
>>> In the CMake GUI it does seem to be able to locate "Boost_INCLUDE_DIR" as "C:/boost_1_45_0", but the other boost
>>> related entries are NOTFOUND
>>> I've tried pointing the "Boost_FILESYSTEM_LIBRARY" and "Boost_SYSTEM_LIBRRARY" entries to the .lib files in
>>> "C:/boost_1_45_0/stage/lib/" but they get rejected.
>>>
>>>
>>> I was hoping anyone can give me a nudge in the right direction to get this setup to compile?
>>>
>>> --
>>> ~~~~~~~~
>>> Jasper Brekelmans MOTEK Amsterdam
>>> [hidden email] [hidden email]
>>> http://www.brekel.com http://www.e-motek.com
>>> ~~~~~~~~
>>> Character/Mocap TD, custom Tool/Pipeline development
>>>
>>>
>>>
>>> _______________________________________________
>>> [hidden email]  /http://pointclouds.org
>>> https://code.ros.org/mailman/listinfo/pcl-users
>>
>
>
> _______________________________________________
> [hidden email] / http://pointclouds.org
> https://code.ros.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pointclouds.org
https://code.ros.org/mailman/listinfo/pcl-users