[ros-users] communicating with windows
William Woodall
wjwwood at gmail.com
Fri Oct 1 06:26:04 UTC 2010
I have continued to try and compile ros on vs2010, and I have had some
success with using the boost 1_44 libraries instead of the 1_41 version. I
have run into a few other problems since then though.
I had to modify the types.h file in the roslib project to use stdint.h
instead of the custom defines usually used in windows, I have attached a
patch.
I have now run into another problem, I am getting lots of linking errors
related to xmlrpc++, which make me think that it is an incompatibility with
vs2010, because this is the same type of exceptions I got from log4cxx
before I found a vs2010 compatibility fix on a forum (see my previous
email). However, xmlrpc++ hasn't been updated on sf since 2003 and I am not
finding anything about these problems or even anything related to vs2010 and
xmlrpcpp. Here are the exceptions: http://pastry.se/1041001/. I have
downloaded the source for xmlrpc++ and tried to compile it with vs2010, but
when converting the .sln's to vs2010 all of them failed to convert for some
reason or another, I haven't had time to investigate this issue yet.
I am grateful for anyone else who has some input and I hope this helps the
other ROS on windows supporters add vs2010 to their test suit.
Thanks,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
William Woodall
Graduate Software Engineering
Auburn University
w at auburn.edu
wjwwood at gmail.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Sun, Sep 26, 2010 at 4:33 PM, William Woodall <wjwwood at gmail.com> wrote:
> 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:
> http://groups.google.com/group/boost-list/browse_thread/thread/dd10d4aefe28c9a0/ccfd46137c847671?#ccfd46137c847671,
> 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:
> http://permalink.gmane.org/gmane.comp.apache.logging.log4cxx.user/2842.
> 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.
>
> Hope this helps,
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> William Woodall
> Graduate Software Engineering
> Auburn University
> w at auburn.edu
> wjwwood at gmail.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> On Sun, Sep 26, 2010 at 2:52 AM, Christian Verbeek <
> verbeek at servicerobotics.eu> wrote:
>
>>
>> > I am trying to build this with VS10 and so I am adding cases to the
>> > cmake files where necessary, but the version of boost that you guys
>> > are shipping does not have VS10 compiler versions. So, I have been
>> > trying to use an outside boost installation (1_44). What is the
>> > easiest way to go about this, because all of the variables are getting
>> > set through find_library which has the library search path hard coded
>> > to the externals folder in the repository? Should I add to the
>> > find_library search path some how or for my one-off compiling short
>> > circuit the boost_single_lib macro?
>> >
>> > Thanks,
>> >
>> There should be no problem using the VS09 boost libraries with VS10. In
>> FindMyBoost.cmake use
>>
>> SET( BOOST_COMPILER_NAME vc90 )
>>
>> 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.
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20101001/baab3ac0/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: roslib_types.h_vs2010fix.patch
Type: application/octet-stream
Size: 437 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20101001/baab3ac0/attachment-0004.obj>
More information about the ros-users
mailing list