I'm facing a strange problem in a program I'm writing. The error is the following one:
Error 9 error 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) already defined in imageProcessing.obj C:\Users\BPeixoto\Documents\Visual Studio 2012\150603_testeDirection_v4\testeDirection\main.obj
I'm working with object tracking and the function "findStatistics" work to calculate the standard deviation and the mean of the points which are supposed to be the centroid of the robot. The function findOutliers, afterwards, calculate how many points are outside the region created in hand of the standard deviation and mean values.
If necessary, I can post the necessary parts of the code.