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

时间:2019-08-01 11:21:22

标签: c++ veins

我在traci文件中创建了自己的代码并进行了构建。我有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)

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题。我的解决方案是在没有某些包的情况下配置 omnet++。

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

然后像这样:

make -j3