Skip to content

Create VS2015 Connext binaries from source #51

Closed

Description

@wjwwood

Now that we have the upstream source for RTI, try building a VS2015 version of their messaging library.

This would hopefully fix ros2/rmw_connext#31

Connects to #70

Activity

  1. added
    ready
    on May 12, 2015
  2. added
    in progress
    and removed
    ready
    on May 13, 2015
  3. tfoote commented on May 19, 2015

    @tfoote
    Contributor

    The cmake logic in the source do not support Windows layout. it's all assuming /usr. Will need to modify the cmake to use the Windows style layout.

  4. added
    ready
    and removed
    in progress
    on Jun 11, 2015
  5. added
    in progress
    and removed
    ready
    on Jun 17, 2015
  6. added
    ready
    and removed
    in progress
    on Jun 25, 2015
  7. removed
    ready
    on Jun 30, 2015
  8. j-rivero commented on Aug 3, 2015

    @j-rivero

    Where I can find the RTI libraries and the documentation to compile them, if any?

  9. dirk-thomas commented on Aug 3, 2015

    @dirk-thomas
    Member

    The RTI Connext code is in a private repo on GitHub:
    https://github.com/osrf/rticonnextdds-src
    That's all we have.

  10. esteve commented on Aug 3, 2015

    @esteve
    Member

    @j-rivero I'll forward you the documentation that RTI sent us with the instructions to compile the repo for Windows, Mac OSX and Linux.

  11. 5 remaining items

  12. j-rivero commented on Aug 12, 2015

    @j-rivero

    Thanks William, that was enough to run my tests.

    Report from my works:

    • I was able to build the 5.2.0 version of RTI Connext with static libs (libraries are using a 'z' postfix), no problem, compiled just fine.
    • I have an script to convert from the install layout of 5.2.0 version that we host in the OSRF github, to the same layout that is currently installed in the jenkins node, 5.1.0.
    • When I tried our connext_cmake_module with the new version, it failed, it is looking for the shared libraries.
    • I tried to compile the 5.2.0 version of RTI Connext with shared libraries, and compilation is broken. There is a good bunch of linking problems when creating the rticonnextmsgcpp component. I spent some hours investigating the problem, but the code base is not trivial to follow and I'm not specially fast on Windows, so I want to ask before going on Update: I just happen to fix the build, not a bad day after all.
    • Does someone have compiled this code before or is it the first time we compile it? Using a different VS version? Is the same code we use on Linux/Mac?
    • Can I contact someone for asking about the bug? Or should I keep debugging on my own?
    • Use static libraries is an option?
  13. esteve commented on Aug 12, 2015

    @esteve
    Member

    @j-rivero it'd be great if your efforts could be integrated upstream, can your script be incorporated into RTI's CMake system? I'm sure Fernando would merge it if we ask him.

  14. j-rivero commented on Aug 12, 2015

    @j-rivero

    @j-rivero it'd be great if your efforts could be integrated upstream, can your script be incorporated into RTI's CMake system? I'm sure Fernando would merge it if we ask him.

    The script is really no more than a workaround to mimic the previous 5.1.0 installation. We are in contact with Fernando via mail to help with their installation layout design. When it is ready, we should not need the script, just migrating our code (cmake module) to work with the new installation layout.

  15. dirk-thomas commented on Aug 12, 2015

    @dirk-thomas
    Member

    Our CMake module in the rmw_connext branch already works with the 5.2 binaries provided by RTI. We should not need to modify them but try to make our custom built binary have a similar layout.

  16. esteve commented on Aug 12, 2015

    @esteve
    Member

    @dirk-thomas agreed. IMHO it's best to collaborate with Fernando to adapt RTI's CMake scripts to produce the same directory layout as the binaries they provide, Fernando's certainly willing to help.

  17. j-rivero commented on Aug 13, 2015

    @j-rivero

    Update: I have patched different parts of code involved into getting the 5.2 RTI Connext, and reach until the point of needed a 64 bits compilation of the library. The community version of RTI Connext don't have support for it by default, I'm working on it and contacted upstream about this option.

    BTW, I assume that we are not supporting 32bits compilations, right?

  18. j-rivero commented on Aug 14, 2015

    @j-rivero

    The good news: I have a 64 bits MSVC 2015 installation (which seems to work fine with our FindConnext.cmake module) of current 5.2 community edition in both, Release and Debug mode and I've sent the patches to upstream.

    The bad news: the rmw_connext_cpp is still not able to compile, it is failing in linking with 9 error in symbols coming from constants (DDS_DURATION_INFITINE, ...) which seem present in the code of the libraries being linked. I will look into this tomorrow.

  19. j-rivero commented on Aug 19, 2015

    @j-rivero

    Current status:

    • 64 bits support is merged upstream
    • To build our rmw_connext_cpp we need upstream to merge our patches. Tracker issue.
      • Workaround: custom build from our fork. In your mail.
    • rmw_connext_cmake pull request needs to be in to use MSVC 2015, should be ready to merge.

    Other non critical stuff:

  20. j-rivero commented on Aug 20, 2015

    @j-rivero

    The good news: the first build against our Community version 5.2 binary package in Windows is ready.

    The bad news: it displays more testing errors than with the Professional version.

  21. dirk-thomas commented on Oct 13, 2015

    @dirk-thomas
    Member

    What is the status of building Connext from source? What are the remaining steps and a reasonable time frame for them?

  22. j-rivero commented on Oct 23, 2015

    @j-rivero

    What is the status of building Connext from source?

    I remember to compiled the source for the first alpha locally after all my PRs were merged. I don't remember to have setup a jenkins job to do it which would be a good idea. If you were asking about the community version, it should be ready to be compiled with VS2015.

    Update: I just remember that I've pending to send the proper cmake patches so the community edition is installed exactly in the same directory layout than the professional version so we don't need to modify the paths to fit into our expected layout (from the pro version).

  23. dirk-thomas commented on Oct 23, 2015

    @dirk-thomas
    Member

    Can you please continue to make the community a drop-in replacement? Then we can try if it makes any difference regarding the failing tests on Windows.

  24. dirk-thomas commented on Nov 16, 2015

    @dirk-thomas
    Member

    This is currently blocked on rticommunity/rticonnextdds-src#14.

  25. tfoote commented on Mar 8, 2018

    @tfoote
    Contributor

    We're working on getting a new VS2017 build now. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions