Goal

Demonstrate what settings are needed for linking to the ros sdk.

Project

So far we've only had experience setting up simple Win32 projects (apps/libraries). If you have had success setting up other types of projects, please document that here.

Win32 Projects

Project Settings

There are three project settings that you'll need to modify:

  • C++->General->Additional Include Directories

  • Linker->General->Additional Library Directories

In both of these cases, simply point to the appropriate boost and ros-sdk directories that you wish to use.

  • Linker->Input->Additional Dependencies

Simply include any ros libs you intend to depend on here. As an example, on my system:

Additional Include Directories:

C:\ros-sdk\debug\include;%PROGRAMFILES%\boost\boost_1_44;%(AdditionalIncludeDirectories)

Additional Library Directories:

C:\ros-sdk\debug\bin;C:\ros-sdk\debug\lib;%PROGRAMFILES%\boost\boost_1_44;%(AdditionalIncludeDirectories)

Library Dependencies:

....;ros.lib;log4cxx.lib;cpp_common.lib;rosconsole.lib;roscpp_serialization.lib;roslib.lib;rostime.lib;XmlRpc.lib;%(AdditionalDependencies)

Wiki: win_ros/Msvc SDK Projects - Electric (last edited 2012-03-25 05:20:03 by DanielStonier)