You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got the tools running and I can build up to the builtin_msgs package! The builtin_msgs package fails on a C++ compiler error which I think might even be fixed on master, but I haven't had time to update my sources lately. What that means to me is that most if not all of our build infrastructure is working, which is pretty exciting.
I've got some pretty straight forward instructions going on the wiki:
Ok, after pushing a bit more on it, it turns out linking is not working. Exporting shared libraries on Windows turns out to be rather complicated, or at least unfamiliar to me.
I'm giving up for now, but hopefully I can wrap this up in the first part of next week.
Another update. I have all but one of the *setup.bat files converted to .bat. And of the ones I've converted, only the prefix level local_setup.bat.in has a todo left.
I have not been able to resolve the exporting of shared libraries across packages yet, though I didn't spend much time on that today. I think that if we can get over that hurdle then we'll be close to having the tool chain fully working.
So then the bad news. To get this to work I had to use the newest VS, VS 14.0 2015 which is still a technical preview, but should released in this quarter. Basically VS 12.0 2013 is just an incomplete implementation of C++11, and it is missing several critical features we need. I've updated the instructions to point out we need the newer version. Even though our opensplice package that we have for Windows is for VS2013, it seems to work alrightwith VS2015 having only needed to patch one minor thing in a header.
Some things that are yet to be done:
Fix Service examples, they aren't compiling right now, but I think a similar fix I made for Topics will work.
I need to shape up the outstanding pull requests and summarize what is done and what isn't.
Test Connext (I need the special Services library from them).
Push one patch upstream to OpenSplice.
Push both RTI and PrismTech to get VS 2015 binaries out asap.
Ok, I've got all examples in the userland package compiling and at least the Connext ones are running. I am having an issue with the xtypes and opensplice versions where they crash for some reason. I think that at least the opensplice issue is not isolated to Windows, @esteve mentioned something about crashing on registration of String, which is the same issue I am having now. Clearly it worked before, since I made a video of it.
I've also testing Connext and it's building and running in most cases.
Still outstanding issues:
Push one of my patches upstream to OpenSplice (it's listed in the Windows instructions for now).
Unrelated to this ticket, but more info about the issue that @wjwwood mentions in his comment. I found out that the OpenSplice examples are linked against Connext too:
Ok, Windows is not building, but I need to fix some structural problems. Currently linux is working with these branches so I'm going to merge and open new pull requests to fix Windows.
Activity
wjwwood commentedon Mar 7, 2015
Ok, so here's an update:
I've got the tools running and I can build up to the
builtin_msgspackage! Thebuiltin_msgspackage fails on a C++ compiler error which I think might even be fixed on master, but I haven't had time to update my sources lately. What that means to me is that most if not all of our build infrastructure is working, which is pretty exciting.I've got some pretty straight forward instructions going on the wiki:
https://github.com/ros2/examples/wiki/Windows-Development-Setup
I have quite a few patches so far, I'll start opening pull requests next.
wjwwood commentedon Mar 7, 2015
Ok, after pushing a bit more on it, it turns out linking is not working. Exporting shared libraries on Windows turns out to be rather complicated, or at least unfamiliar to me.
I'm giving up for now, but hopefully I can wrap this up in the first part of next week.
wjwwood commentedon Mar 10, 2015
Another update. I have all but one of the
*setup.batfiles converted to.bat. And of the ones I've converted, only the prefix levellocal_setup.bat.inhas a todo left.I have not been able to resolve the exporting of shared libraries across packages yet, though I didn't spend much time on that today. I think that if we can get over that hurdle then we'll be close to having the tool chain fully working.
wjwwood commentedon Mar 12, 2015
Another status update!
There's good new and bad news, I'll start with good. It works! Here's a screen capture:
https://vimeo.com/121977177
So then the bad news. To get this to work I had to use the newest VS, VS 14.0 2015 which is still a technical preview, but should released in this quarter. Basically VS 12.0 2013 is just an incomplete implementation of C++11, and it is missing several critical features we need. I've updated the instructions to point out we need the newer version. Even though our opensplice package that we have for Windows is for VS2013, it seems to work alrightwith VS2015 having only needed to patch one minor thing in a header.
Some things that are yet to be done:
But I'll start that tomorrow...
wjwwood commentedon Mar 14, 2015
Ok, I've got all examples in the
userlandpackage compiling and at least the Connext ones are running. I am having an issue with the xtypes and opensplice versions where they crash for some reason. I think that at least the opensplice issue is not isolated to Windows, @esteve mentioned something about crashing on registration of String, which is the same issue I am having now. Clearly it worked before, since I made a video of it.I've also testing Connext and it's building and running in most cases.
Still outstanding issues:
However, at this point it is in a working state, so I think we should start merging these prs and make new issues for outstanding issues.
So @esteve @tfoote @dirk-thomas please review the associated pull requests for merge.
On a side note I had to make a change to rclcpp in order to work around an issue with the VS 2015 compiler, see: https://connect.microsoft.com/VisualStudio/feedback/details/1179590
esteve commentedon Mar 16, 2015
Unrelated to this ticket, but more info about the issue that @wjwwood mentions in his comment. I found out that the OpenSplice examples are linked against Connext too:
wjwwood commentedon Mar 21, 2015
Ok, Windows is not building, but I need to fix some structural problems. Currently linux is working with these branches so I'm going to merge and open new pull requests to fix Windows.