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 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 onUpdate: 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?
@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.
@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.
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.
@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.
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?
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.
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).
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.
Activity
tfoote commentedon May 19, 2015
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.
j-rivero commentedon Aug 3, 2015
Where I can find the RTI libraries and the documentation to compile them, if any?
dirk-thomas commentedon Aug 3, 2015
The RTI Connext code is in a private repo on GitHub:
https://github.com/osrf/rticonnextdds-src
That's all we have.
esteve commentedon Aug 3, 2015
@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.
5 remaining items
j-rivero commentedon Aug 12, 2015
Thanks William, that was enough to run my tests.
Report from my works:
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 theUpdate: I just happen to fix the build, not a bad day after all.rticonnextmsgcppcomponent. 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 onCan I contact someone for asking about the bug? Or should I keep debugging on my own?Use static libraries is an option?esteve commentedon Aug 12, 2015
@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.
j-rivero commentedon Aug 12, 2015
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.
dirk-thomas commentedon Aug 12, 2015
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.
esteve commentedon Aug 12, 2015
@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.
j-rivero commentedon Aug 13, 2015
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?
j-rivero commentedon Aug 14, 2015
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_cppis 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.j-rivero commentedon Aug 19, 2015
Current status:
rmw_connext_cppwe need upstream to merge our patches. Tracker issue.rmw_connext_cmakepull request needs to be in to use MSVC 2015, should be ready to merge.Other non critical stuff:
j-rivero commentedon Aug 20, 2015
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.
dirk-thomas commentedon Oct 13, 2015
What is the status of building Connext from source? What are the remaining steps and a reasonable time frame for them?
j-rivero commentedon Oct 23, 2015
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).
dirk-thomas commentedon Oct 23, 2015
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.
dirk-thomas commentedon Nov 16, 2015
This is currently blocked on rticommunity/rticonnextdds-src#14.tfoote commentedon Mar 8, 2018
We're working on getting a new VS2017 build now. Closing.