0

I am relatively new to Rational Rhapsody, and SysML in general, so the errors are likely to be at my end.

I have been scouring Google (and SOF) looking for ways to run Rhapsody animations without Visual Studio. It was my impression that if Rhapsody had access to another IDE, say Eclipse, then the other IDE could deal with the animations. Is this correct, or is VS absolutely required to run animations and debugging tools in Rhapsody?

I have been getting a similar error to that of the user in How to fix Rational Rhapsody error :"Current value is "VC11", but no Visual Studio installation was not found in the directory ""."; my error is "VC10." However, I do not have, or plan to have, Visual Studio run the animations; I'd rather have the animations run using Eclipse, but this is not working either (the same "VC10" error occurs).

I also chatted with a contact at IBM and he suggested trying cygwin as a compiler, but under my circumstances, I cannot download that software.

Thanks in advance for the assistance.

4

2 回答 2

2

Rhapsody 工作流程:

  • Rhapsody 从您的模型生成代码。(UML => C++)
  • 要编译代码,您需要一个编译器。Rhapsody 没有自己的编译器。如果您在 Windows 上,则可以使用 VS 或 cygwin 编译器。(C++ => EXE)
  • 如果您为您的应用程序启用了动画工具,那么如果您启动该应用程序,它将(使用 TCP/IP)连接到正在运行的 Rhapsody 实例。动画将在 Rhapsody 中运行。

...在 Rhapsody 中运行动画和调试工具绝对需要 VS 吗?

编译器(例如 VS 或 cygwin)绝对需要编译 Rhapsody 生成的代码。如果您想在应用程序运行时查看动画状态图或序列图,则需要 Rhapsody。

另请参阅:配置 Rhapsody 8.x 以使用 VS 2013 编译器

于 2015-09-05T07:45:26.177 回答
0

有很多不同的问题。我试着给你一些澄清。

要使用动画运行 Rhapsody 模型,您需要 Rhapsody 和编译器。编译器可以是 Visual Studio 编译器或 Cygwin gcc。Rhapsody 已经提供了这些框架。

Visual Studio 或 Eclipse 你只需要编辑你的代码。这可以通过右键单击您的配置并将其更改为相应的 IDE 轻松完成。

我猜你的问题与VS版本有关。在您的配置属性中,您必须调整您的 Visual Studio 版本。搜索具有 VCxx 内容的属性。目前不记得该物业的确切名称。

于 2018-04-13T22:20:43.463 回答