我正在使用OMNeT ++在C ++中编程,并且在构造函数和析构函数中出现以下错误。我班级的名字是RoadSideUnit。
D:\OMNet\IdealTraffic/RoadSideUnit.cc:12: undefined reference to `_imp___ZTV12RoadSideUnit'
D:\OMNet\IdealTraffic/RoadSideUnit.cc:12: undefined reference to `_imp___ZTV12RoadSideUnit'
D:\OMNet\IdealTraffic/RoadSideUnit.cc:16: undefined reference to `_imp___ZTV12RoadSideUnit'
D:\OMNet\IdealTraffic/RoadSideUnit.cc:16: undefined reference to `_imp___ZTV12RoadSideUnit'