PCL standalone dependencies on windows

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

PCL standalone dependencies on windows

Jasper Brekelmans-2
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,

I have just added a "PCL on Windows" section on the pcl-standalone
website (http://www.ros.org/wiki/pcl/standalone/). There you can also
download cmake files which are adapted for windows. Can you please try
the steps mentioned there? If you still have problems afterwards I will
help you to solve them.

Cheers,
Stefan


Am 02.01.2011 23:59, 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?
>

_______________________________________________
[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-2
Hi Stefan,

Thank you very much, that was certainly something I would've never
figured out by myself.
I'm still having some errors though, mainly a bunch of these:
2>C:\pcl\pcl-0.7.0\include\sensor_msgs/PointField.h(6) : fatal error
C1083: Cannot open include file: 'stdint.h': No such file or directory

I'm not sure I've set all the CMake paths for the dependencies correctly.
And didn't know what to do with "Boost_LIB_DIAGNOSTIC_DEFINITIONS" at all.

I've put the full error log as well as a screenshot of my CMake config
online if you want to have a peek:
http://www.brekel.com/pcl_error_log.zip
http://www.brekel.com/pcl_cmake_screenshot.jpg

Sorry I'm not able to figure these things out myself but a lot of this
CMake and Linux codebase stuff is very new to me.
I'm sure things will make a lot more sense for you.

Cheers, and keep up all the good work at willow garage!

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

On 1/20/2011 3:28 PM, Stefan Holzer wrote:

> Hi Jasper,
>
> I have just added a "PCL on Windows" section on the pcl-standalone
> website (http://www.ros.org/wiki/pcl/standalone/). There you can also
> download cmake files which are adapted for windows. Can you please try
> the steps mentioned there? If you still have problems afterwards I will
> help you to solve them.
>
> Cheers,
> Stefan
>
>
> Am 02.01.2011 23:59, 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?
>>
> _______________________________________________
> [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

Jasper Brekelmans
In reply to this post by Stefan Holzer-3
Hi Stefan,

Thank you very much, that was certainly something I would've never
figured out by myself.
I'm still having some errors though, mainly a bunch of these:
2>C:\pcl\pcl-0.7.0\include\sensor_msgs/PointField.h(6) : fatal error
C1083: Cannot open include file: 'stdint.h': No such file or directory

I'm not sure I've set all the CMake paths for the dependencies correctly.
And didn't know what to do with "Boost_LIB_DIAGNOSTIC_DEFINITIONS" at all.

I've put the full error log as well as a screenshot of my CMake config
online if you want to have a peek:
http://www.brekel.com/pcl_error_log.zip
http://www.brekel.com/pcl_cmake_screenshot.jpg

Sorry I'm not able to figure these things out myself but a lot of this
CMake and Linux codebase stuff is very new to me.
I'm sure things will make a lot more sense for you.

Cheers, and keep up all the good work at willow garage!

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

On 1/20/2011 3:28 PM, Stefan Holzer wrote:

> Hi Jasper,
>
> I have just added a "PCL on Windows" section on the pcl-standalone
> website (http://www.ros.org/wiki/pcl/standalone/). There you can also
> download cmake files which are adapted for windows. Can you please try
> the steps mentioned there? If you still have problems afterwards I will
> help you to solve them.
>
> Cheers,
> Stefan
_______________________________________________
[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,

> Thank you very much, that was certainly something I would've never
> figured out by myself.
> I'm still having some errors though, mainly a bunch of these:
> 2>C:\pcl\pcl-0.7.0\include\sensor_msgs/PointField.h(6) : fatal error
> C1083: Cannot open include file: 'stdint.h': No such file or directory

thats a pre-VS10 problem, just remove the corresponding include file,
that worked for me.

> I'm not sure I've set all the CMake paths for the dependencies correctly.
> And didn't know what to do with "Boost_LIB_DIAGNOSTIC_DEFINITIONS" at all.

just ignore this entry.

Cheers,
Stefan

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