Performance Test example, compiling errors!

6 posts / 0 new
Last post
Offline
Last seen: 11 years 2 weeks ago
Joined: 09/29/2013
Posts: 5
Performance Test example, compiling errors!
Whenever I tried to build performance test using visual studio 2010, I get an errors. 
 
If it is CPP project I get this error:
RTIOsapiThread_new function does not take 6 arguments
 
And if I tired with CS, I get these errors
Type or namespace Test_tXXXXXX could not be found.
 
Please have a look to attached 2 snapshot errors screen. 
AttachmentSize
Image icon CS test performance error111.52 KB
Image icon cpp est performance error81.02 KB
Organization:
Juanjo Martin's picture
Offline
Last seen: 2 years 3 months ago
Joined: 07/23/2012
Posts: 48

Hi Alshaboti,

The CS project is reporting errors because it cannot find the nddsdotnet assembly reference. To add it, please click in References and look for it (it should be in your NDDSHOME directory, in lib/architecture). For instance, C:\ your NDDSHOME \lib\i86Win32dotnet4.0

About the C++ error, I see you are using the version 1.1a. If you are using RTI DDS 4.5 or later, you can give a try to the PerfTest version 1.1b. I would like to know if that version fixes the error. You can find it in the following article:

http://community.rti.com/kb/example-performance-test-rti-connext

Give it a try and let us know if you get them working.

Juanjo

Offline
Last seen: 11 years 2 weeks ago
Joined: 09/29/2013
Posts: 5

Thanks PerfTest version 1.1b works fine. 

Offline
Last seen: 10 years 6 days ago
Joined: 12/03/2014
Posts: 2

When I tried to run the perftest_cpp.exe, after building rtiperftest.5.1.0.9 on MS window7 32 with no compiling errors,  a message box appears and show me an error "The program can't start because nddscored.dll is missing from your computer" but this file is already exist on the RTI directory

Juanjo Martin's picture
Offline
Last seen: 2 years 3 months ago
Joined: 07/23/2012
Posts: 48

Hi forum users!

In case you experience the issue explained above, you may want to double check if the library is in your PATH when you execute perftest_cpp.exe. 

If you don't want to depend on the PATH environment variable, feel free to copy nddscore.dll, nddsc.dll and nddscpp.dll to your working directory. Note that in case you want to use the debug mode, you need to copy the libraries with the suffix "d".

- Juanjo Martin

Offline
Last seen: 10 years 6 days ago
Joined: 12/03/2014
Posts: 2

Thanks

But can I build this perftest.cpp tool using VS 2013?