为什么每次我运行文件时都会构建NS3

发布于 2025-02-09 02:38:56 字数 121 浏览 0 评论 0原文

我正在研究NS3,并且正在使用./ns3 cmake包装器来运行.cc文件。问题在于,即使没有代码更改,NS3每次运行文件时都会构建所有依赖关系。这是预期的吗?这确实是在努力,我在NS3手册中看到它不应每次构建,只构建必要的内容

I am working on NS3 and I am using the ./ns3 cmake wrapper to run my .cc files. The issue is that the ns3 builds all the dependencies every time i run a file, even when there are no code changes. Is this expected? This is really hogging my time and I see in the NS3 manual that it should not build every single time, and builds only what is necessary

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

坏尐絯℡ 2025-02-16 02:38:56

您报告的行为不应发生,尤其是当您使用最新的NS-3.36.1版本时。如果与该版本或更高版本有关,请提交一个问题,其中包含足够的详细信息,以便维护者尝试重现该问题。无论如何,您甚至可以通过将- no-Build选项传递给./ ns3 Run Run命令是否需要检查是否需要新构建。

The behavior you report should not be happening, especially if you are using the latest ns-3.36.1 release. If it is with that release or later, please file an issue with enough details for a maintainer to try to reproduce the issue. In any case, you can suppress even checking whether a new build is needed by passing the --no-build option to ./ns3 run command.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文