VS2010:error LNK2005: "public: class std::vector<class std::vector<class std::vector<class std::vector<float,class std::allocator<float> >,class std::allocator<class std::vector<float,class std::allocator<float>
如:
Reason:
都說這不是版本的問題,這是2010的問題。個人覺得是版本環境導致的STL兼容問題。
Solution:
方法一:不要用vs;
方法二:在link commandline加上一行” /FORCE:MULTIPLE “點擊” OK “就解決了;簡單說就是VS10的STL從import變成static了。