0

我正在尝试安装 OMNETpp5.6.2 但失败了,因为它给了我编译错误 aloha can not be compiled 左右,...所以
我尝试使用 omnet 5.6.1 但最终出现相同的错误,如下所示

===== Compiling aloha ====

make[2]: Warning: File 'out/gcc-release//.last-copts' has modification time 1.4 s in the future

Host.cc

Server.cc

Creating executable: out/gcc-release//aloha.exe

ln: failed to create hard link 'aloha.exe' => 'out/gcc-release//aloha.exe': Operation not permitted

make[2]: *** [Makefile:87: aloha.exe] Error 1

make[1]: *** [Makefile:134: aloha] Error 2

make: *** [Makefile:28: allmodes] Error 2

我将它安装在C盘以外的地方,这可能是个问题吗?操作系统 - Windows 10 64 位。

4

2 回答 2

0

遵循以下规则:

  1. 请注意,您的 OMNeT++ 的目录名称不包含任何空格。
  2. 暂时关闭实时防病毒保护。
于 2021-04-18T21:20:30.367 回答
0

奇怪的是,虽然您可以在输出目录中创建文件,但构建过程无法创建硬链接。

我的猜测是文件系统可能是 FAT 而不是 NTFS。FAT 文件系统不支持硬链接,并且 OMNeT++ 未在 FAT 文件系统上进行测试。

解决方案:将其安装在 NTFS 驱动器上。

于 2021-04-22T08:03:11.090 回答