CMake Warning at /home/brannon/ros2b3/share/rmw_coredx_cpp/cmake/ament_cmake_export_libraries-extras.cmake:62 (message):
Package 'rmw_coredx_cpp' exports the library
'BuildAgents/BuildAgent2-Work/1e20a6e96c2be131/install/coredx-4.0.20/target/Linux_2.6_x86_64_gcc43/lib/libdds_rpc_cpp.so'
which doesn't exist
libdds* are the compiled CoreDX libraries. I believe that I don’t need them cmake-exported. (I need them present on the machine, but they don’t need to be in the same path that the build server used for things to work correctly.) It appears that somebody tried to fix this in rmw_opensplice recently. Please see the cmake files in this repository: https://github.com/asirobots/rmw_coredx
I assume the second part (${CoreDX_LIBRARIES}) is the library libdds_rpc_cpp.so you are seeing here? I am not sure if you can just remove it from being exported - you can give it a try.
If that doesn’t work you probably want to export the library names instead of their absolute paths.
Thanks for the quick suggestions and good support on this. I have it fixed. Following your suggestions, I modified the problematic line to look like this:
ament_export_libraries(rmw_coredx_cpp)
list(APPEND rmw_coredx_cpp_LIBRARIES ${CoreDX_LIBRARIES})