# Using OpenSplice in a custom project linking to ROS2

**URL:** <https://discourse.openrobotics.org/t/using-opensplice-in-a-custom-project-linking-to-ros2/3915>\
**Category:** ROS General\
**Created:** [February 8, 2018, 12:37am UTC](https://discourse.openrobotics.org/t/using-opensplice-in-a-custom-project-linking-to-ros2/3915 "2018-02-08T00:37:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Ian\_Karp](https://avatars.discourse-cdn.com/v4/letter/i/e56c9b/32.png) [@Ian\_Karp](https://discourse.openrobotics.org/u/Ian_Karp)\
**Post date:** [February 8, 2018, 12:37am UTC](https://discourse.openrobotics.org/t/using-opensplice-in-a-custom-project-linking-to-ros2/3915/1 "2018-02-08T00:37:05Z")

</div>

Hello everyone,

I have created a Visual Studio 2015 C++ project that uses both OpenCV and the latest version of ROS2 Ardent Apalone and currently have no issues compiling and running when the DDS is the default, Fast RTPS. Unfortunately I have been running into an error when I try to use OpenSplice. The .lib files and .dll files for both are copied to the same folder where the .exe for the project is located and are also linked to in a separate folder in the project directory.

To use OpenSplice, I’ve been setting the global variable RMW\_IMPLEMENTATION=rmw\_opensplice\_cpp. The project compiles, but when I try to run it I get an error during the delay load helper routines (which I’m assuming occurs when trying to load the OpenSplice libraries).

Any help would be extremely appreciated!

Cheers,  
Ian

---

_[View the full topic](https://discourse.openrobotics.org/t/using-opensplice-in-a-custom-project-linking-to-ros2/3915)._
