error LNK2005: “int __cdecl isPtInPolygon(class std::vector<struct double2,class std::allocator > &,struct double2)” (?isPtInPolygon@@YAHAAV?
v
e
c
t
o
r
@
U
d
o
u
b
l
e
2
@
@
V
?
vector@Udouble2@@V?
vector@Udouble2@@V?allocator@Udouble2@@@std@@@std@@Udouble2@@@Z) already defined in _GlWidget.obj
1>Debug/StrokeBar.exe : fatal error LNK1169: one or more multiply defined symbols found
解决:
在 属性->配置属性->链接器->命令行中添加 /FORCE:MULTIPLE
(引自:http://hi.baidu.com/hybest/blog/item/65fe8582605fe09bf703a630.html)