使用omnet ++ 5.1.1和veins4.6编译错误

时间:2017-08-09 23:41:24

标签: omnet++ veins

我在omnet ++ 5.1.1和veins4.6上有错误。在构建项目时,我收到如下错误消息:

g++ -c -std=c++11 -g -Wall -MMD -MP -MF out/gcc-debug//Attacker.d    -isystem /usr/include -isystem /mingw64/include -fno-stack-protector  -DXMLPARSER=libxml -DPREFER_QTENV -DWITH_QTENV -DWITH_TKENV -DWITH_PARSIM -DWITH_NETBUILDER -DWITH_OSG -DWITH_OSGEARTH  -DINET_IMPORT  -I/c/Users/xiruoliu/src/omnetpp-5.1.1/include -o out/gcc-debug//Attacker.o Attacker.cc
In file included from Attacker.cc:21:0:
Attacker.h:26:68: fatal error: 
veins/modules/application/ieee80211p/BaseWaveApplLayer.h: No such file or directory
#include "veins/modules/application/ieee80211p/BaseWaveApplLayer.h"
                                                                ^
compilation terminated.
make: *** [Makefile:105: out/gcc-debug//Attacker.o] Error 1

我还尝试在makefile中添加veins目录,或者将include语句中的目录更改为完整路径为#include" /c/Users/xiruoliu/src/veins-4.6/src/veins/modules/应用/ ieee80211p / BaseWaveApplLayer.h&#34 ;.但它仍然失败。
用于处理oment ++ 5.0和veins4.5的代码。有人有线索吗?

0 个答案:

没有答案