OMNeT++: Changes is .cc class definition do not apply in simulation

爷,独闯天下 提交于 2019-12-25 03:19:12

问题


I have built a very simple network (similar to TicToc example). My problem is that when I change the .cc file for one of the defined classes, the changes do not apply when I run the simulation. Specifically I have changed the string name of a message, but with no effects.

When I go back to the TicToc example and I perform a similar change in the .cc file, the change applies perfectly fine.

I have the feeling that the problem lies on building the make files, etc. Is there any way to build the project from scratch?


回答1:


The problem was solved by removing the .exe file created in the source folder before each new simulation. Apparently, my computer is not able to automatically remove the current .exe file during simulation and I therefore have to do it manually.



来源:https://stackoverflow.com/questions/27193778/omnet-changes-is-cc-class-definition-do-not-apply-in-simulation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!