运行 模拟时图形界面不可用

Graphic Interface not available when running simulation

当 运行 配置文件时出现此错误:

configure: error: Cannot build Qt apps, probably due to missing or too old Qt packages. Make sure Qt development packages are installed and newer than Qt 5.4. You can disable Qtenv by setting the WITH_QTENV variable to "no" in configure.user

我已经安装了 Qt5,并将路径添加到路径文件中。

我的Qt版本是5.15.0,MacOS是Catalina (10.15.5 (19F101))。

可能 qmake 无法构建 Qt 界面,但我没能做到。

看来我的OS版本是32位的,Qt5是64位的。由于某些二进制文件采用 64 位版本,我无法将其与 omnet++ 5.6 一起使用。

我安装了 omnet++ 5.0 版,但程序不会 运行。

所以我回到了 omnet++ 5.6,而不是使用 Qt,我用 tcl/tk 编译并且对我有用。

我认为您误解了 OS 支持位。 macOS(High Sierra 版本之后)仅使用 64 位 (x86_64)。如果你想知道你的macOS支持位信息,你可以在终端执行"uname -a"命令。

  • i386: 32 位
  • x86_64: 64 位

我希望这对您有用。 :D