dll could not be found error

3 posts / 0 new
Last post
Offline
Last seen: 3 years 10 months ago
Joined: 11/24/2019
Posts: 11
dll could not be found error


Hello to everyone,

I'm new to dds and trying to learn.
I am trying to running the hello_world example in rti_workspace. And for this I use .Net in Visual Studio 2015.

When trying to build the example I get the following errors:

 

Severity Code Description Project File Line Suppression State
Error CS0006 Metadata file 'C:\Users\eco_p\Documents\rti_workspace\6.0.1\examples\connext_dds\cs\hello_world\win32\..\bin\x64\Release-VS2015\HelloWorld_type.dll' could not be found HelloWorld_publisher-x64Win64VS2015 C:\Users\eco_p\Documents\rti_workspace\6.0.1\examples\connext_dds\cs\hello_world\win32\CSC 1 Active

Severity Code Description Project File Line Suppression State
Error CS0006 Metadata file 'C:\Users\eco_p\Documents\rti_workspace\6.0.1\examples\connext_dds\cs\hello_world\win32\..\bin\x64\Release-VS2015\HelloWorld_type.dll' could not be found HelloWorld_subscriber-x64Win64VS2015 C:\Users\eco_p\Documents\rti_workspace\6.0.1\examples\connext_dds\cs\hello_world\win32\CSC 1 Active

 

irwin's picture
Offline
Last seen: 3 years 9 months ago
Joined: 08/14/2010
Posts: 42

Hi,

   Looks like you did not read the README.txt. It states:

Running this Example
--------------------

1. After compiling, you will find the application executables in
   the 'bin\Release' directory created by rtiddsgen.

2. Open two command prompt windows in the 'bin\Release' directory.

3. Run the subscriber by typing the following at a command prompt:

   bin\[x64\]<Debug|Release>-VS<vs_version>\HelloWorld_subscriber.exe <Domain_ID> <Number_of_Samples>

   (The two optional arguments are explained below.)

4. Run the publisher by typing the following at the other command prompt:

   bin\[x64\]<Debug|Release>-VS<vs_version>\HelloWorld_publisher.exe <Domain_ID> <Number_of_Samples>

 

   I built and ran as directed. No issues.

 

                      Irwin

 

Offline
Last seen: 3 years 10 months ago
Joined: 11/24/2019
Posts: 11


I noticed that I did not follow the steps exactly. As I said, I'm new to this business yet :) Thank you