So I have been trying to get ROS to compile in VS2010 and I have run into and solved a few problems.  Setting the BOOST_COMPILER_NAME to vc90 for MSVC10 allowed cmake to finish and to use the vc10 compiler but with the vs90 boost libraries, but that has lead to some pretty significant linking errors, I was able to remove some of them by following the directions here: <a href="http://groups.google.com/group/boost-list/browse_thread/thread/dd10d4aefe28c9a0/ccfd46137c847671?#ccfd46137c847671">http://groups.google.com/group/boost-list/browse_thread/thread/dd10d4aefe28c9a0/ccfd46137c847671?#ccfd46137c847671</a>, but I still am unable to link two of the builds due to linking errors with boost_thread and regex.  Another issue I ran into was that log4cxx does not compile under vs2010 and I was able to get around those errors (I think) by following the post here: <a href="http://permalink.gmane.org/gmane.comp.apache.logging.log4cxx.user/2842">http://permalink.gmane.org/gmane.comp.apache.logging.log4cxx.user/2842</a>.  It is my opinion that using the boost 1_44 vs10 libraries and setting up the cmake file to be able to use external boost installations optionally would fix the rest of these issues and allow it to compile and link.  I am going to try and force it to use boost 1_44 and vs10 libs to see if this is true, tomorrow perhaps.<div>

<br></div><div>Hope this helps,</div><div><br clear="all">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>William Woodall<br>Graduate Software Engineering<br>Auburn University<br><a href="mailto:w@auburn.edu" target="_blank">w@auburn.edu</a><br>

<a href="mailto:wjwwood@gmail.com" target="_blank">wjwwood@gmail.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<br><br><div class="gmail_quote">On Sun, Sep 26, 2010 at 2:52 AM, Christian Verbeek <span dir="ltr"><<a href="mailto:verbeek@servicerobotics.eu">verbeek@servicerobotics.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><br>
> I am trying to build this with VS10 and so I am adding cases to the<br>
> cmake files where necessary, but the version of boost that you guys<br>
> are shipping does not have VS10 compiler versions.  So, I have been<br>
> trying to use an outside boost installation (1_44).  What is the<br>
> easiest way to go about this, because all of the variables are getting<br>
> set through find_library which has the library search path hard coded<br>
> to the externals folder in the repository?  Should I add to the<br>
> find_library search path some how or for my one-off compiling short<br>
> circuit the boost_single_lib macro?<br>
><br>
> Thanks,<br>
><br>
</div>There should be no problem using the VS09 boost libraries with VS10. In<br>
FindMyBoost.cmake use<br>
<br>
SET( BOOST_COMPILER_NAME vc90 )<br>
<br>
and remove all the rest. The distinction is just a relic from times we used VS2005 and VS2003. We will check this in detail on Monday.<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br></div>