Help with connecting Enterprise Architect project to Visual Studio

3 posts / 0 new
Last post
Offline
Last seen: 7 years 9 months ago
Joined: 06/29/2016
Posts: 2
Help with connecting Enterprise Architect project to Visual Studio

Hi!

I use Enterprise Architect 10.1 Ultimate and Visual Studio 2013 Ultimate.

I try to open the DDS Example projects Hello World and Net Chat adn connect one of those with the Extention -> Connect External Project -> Visual Studio.

However, when I try to merge the project in EA and VS I get the message box saying "Cannot write files". To import the empty VS-project to EA works fine, but not the export from EA to the empty project in VS.

I have also tried to compile/run the example projects which comes with the installation of RTI Connext DDS (Hello World examples) and only the Hello World Simple works, but none of the other examples. I get multiple errors and one of them is that the program cannot find the ndds.dll.

sara's picture
Offline
Last seen: 1 year 4 months ago
Joined: 01/16/2013
Posts: 128

Hi Andreas,

I will leave the Enterprise Archictect experts to handle that part... but regarding the Hello World projects, have you tried opening a project generated by RTI Codegen? Is that working for you? Are you using 64- or 32-bit libraries? Also, were are those examples located? First time you run Launcher or any of our utilities they should be copied to your Documents folder, is that your case?

For the program not finding ndds.dll, we provide a script that sets up the DDS environment for you. That file can be found in <RTI Connext installation folder>/resource/scripts/. Could you please try running that script from a command prompt and then, in the same command prompt, opening the VS project? Let me know if that fixes some of your errors.

Thanks,
Sara

Offline
Last seen: 7 years 9 months ago
Joined: 06/29/2016
Posts: 2

The script for setting up the environment worked, thank you.

However, trying to generat code from a XML schema file gives the following error:

ERROR com.rti.ndds.nddsgen.Main Fail:  The file couldn't be parsed and the rawTr
ee wasn't generated

What does this error mean?

 

/Andreas