错误:对_imp___ZTV“className”的未定义引用

时间:2015-07-29 20:14:45

标签: c++ undefined-reference omnet++

我正在使用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'

0 个答案:

没有答案