【发布时间】:2015-06-04 21:00:02
【问题描述】:
我正在编写的程序中遇到一个奇怪的问题。错误如下:
错误 9 错误 LNK2005:“struct statistics __cdecl findStatistics(class std::vector,class std::allocator > >)”(?findStatistics@@YA?AUstatistics@@V?$vector@V?$Point_@H @cv@@V?$allocator@V?$Point_@H@cv@@@std@@@std@@@Z) 已在 imageProcessing.obj C:\Users\BPeixoto\Documents\Visual Studio 2012\150603_testeDirection_v4 中定义\testeDirection\main.obj
我正在使用对象跟踪,并且函数“findStatistics”用于计算应该是机器人质心的点的标准偏差和平均值。之后,函数 findOutliers 计算在标准差和平均值创建的区域之外有多少点。
如有必要,我可以发布代码的必要部分。
【问题讨论】:
标签: c++