[英]How to use INET or Mixim's module in my own custom project
I want to build my own custom wireless sensor network project by using simple modules in INET or Mixim. 我想通过使用INET或Mixim中的简单模块来构建自己的自定义无线传感器网络项目。 How can I use them ?
我该如何使用它们? I try the following codes in my cc file and NED file, but the system cannot find them.
我在cc文件和NED文件中尝试以下代码,但系统找不到它们。 So do I need to create my project under the subdirectory of INET ?
那么,我需要在INET的子目录下创建我的项目吗? Is there any other method?
还有其他方法吗?
#include "inet/common/INETDefs.h"
#include "inet/networklayer/contract/IInterfaceTable.h"
import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
import inet.node.inet.INetworkNode;
There is another question, how can i find the achieve C++ file of examples in INET ? 还有一个问题,如何在INET中找到示例的实现C ++文件? Because there are only ned files in the examples without the achieve C++ fileS, I want to find out how the examples work.
由于示例中仅包含ned文件,而没有实现C ++ fileS,因此我想了解示例如何工作。 Any help ?
有什么帮助吗?
After this, both the NED packages and the header files should be available to your project. 此后,您的项目都应该可以使用NED包和头文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.