简体   繁体   English

如何解决 omnet++ 中的 makefile 错误

[英]how can I solve makefile error in omnet++

I created my own code in veins in traci file and built it.我在 traci 文件中创建了自己的代码并构建了它。 I have makefile error how can I solve in?我有makefile错误我该如何解决?

2 errors generated.
Makefile:177: recipe for target '../out/gcc-debug/src/veins/modules/application/ieee80211p/BaseWaveApplLayer.o' failed
make[1]: *** [../out/gcc-debug/src/veins/modules/application/ieee80211p/BaseWaveApplLayer.o] Error 1
make[1]: Leaving directory '/c/Users/sepideh/src/omnetpp-5.0/samples/veins/src'
make: *** [all] Error 2
Makefile:16: recipe for target 'all' failed
16:41:24 Build Finished (took 1m:9s.529ms)

I experienced the same problem.我遇到了同样的问题。 The solution for me was to configurate omnet++ without certain packages.我的解决方案是在没有某些软件包的情况下配置 omnet++。

 ./configure WITH_OSGEARTH=no WITH_OSG=no WITH_QTENV=no

and then make like this:然后像这样:

make -j3

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM