d:\test\ffplayer\ffmpeg\libavutil\rational.h(44) : warning C4244: 'return' : conversion from '__int64' to 'int', possible loss of data
ffplayer.cpp
d:\test\ffplayer\ffmpeg\libavutil\rational.h(44) : warning C4244: 'return' : conversion from '__int64' to 'int', possible loss of data
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(361) : error C2535: '__thiscall `anonymous-namespace'::Allocator<U>::`anonymous-namespace'::Allocator<U>(const class `anonymous-namespace'::Allocator<U> &)' : member function already defined or d
eclared
        d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(359) : see declaration of 'Allocator<_Tp>::Allocator<_Tp>'
        d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(377) : see reference to class template instantiation '`anonymous-namespace'::Allocator<_Tp>' being compiled
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(400) : error C2989: 'DataDepth<class ?? ::_Tp *>' : template class has already been defined as a non-template class
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(400) : error C2988: unrecognizable template declaration/definition
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(499) : fatal error C1903: unable to recover from previous error(s); stopping compilation
        d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(520) : see reference to class template instantiation '`anonymous-namespace'::Matx<_Tp,m,n>' being compiled
ffplayerDlg.cpp
d:\test\ffplayer\ffmpeg\libavutil\rational.h(44) : warning C4244: 'return' : conversion from '__int64' to 'int', possible loss of data
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(361) : error C2535: '__thiscall `anonymous-namespace'::Allocator<U>::`anonymous-namespace'::Allocator<U>(const class `anonymous-namespace'::Allocator<U> &)' : member function already defined or d
eclared
        d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(359) : see declaration of 'Allocator<_Tp>::Allocator<_Tp>'
        d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(377) : see reference to class template instantiation '`anonymous-namespace'::Allocator<_Tp>' being compiled
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(400) : error C2989: 'DataDepth<class ?? ::_Tp *>' : template class has already been defined as a non-template class
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(400) : error C2988: unrecognizable template declaration/definition
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(499) : fatal error C1903: unable to recover from previous error(s); stopping compilation
        d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(520) : see reference to class template instantiation '`anonymous-namespace'::Matx<_Tp,m,n>' being compiled
Picture.cpp
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(361) : error C2535: '__thiscall `anonymous-namespace'::Allocator<U>::`anonymous-namespace'::Allocator<U>(const class `anonymous-namespace'::Allocator<U> &)' : member function already defined or d
eclared
        d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(359) : see declaration of 'Allocator<_Tp>::Allocator<_Tp>'
        d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(377) : see reference to class template instantiation '`anonymous-namespace'::Allocator<_Tp>' being compiled
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(400) : error C2989: 'DataDepth<class ?? ::_Tp *>' : template class has already been defined as a non-template class
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(400) : error C2988: unrecognizable template declaration/definition
d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(499) : fatal error C1903: unable to recover from previous error(s); stopping compilation
        d:\test\ffplayer\opencv\include\opencv2\core\core.hpp(520) : see reference to class template instantiation '`anonymous-namespace'::Matx<_Tp,m,n>' being compiled
Generating Code...
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\ffplayer.sbr': No such file or directory
Error executing bscmake.exe.ffplayer.exe - 13 error(s), 3 warning(s)
网上找的一个例子,我编译了下报这个错误,项目工程是VC6.0创建的,里面带了有已经生成的可执行文件,那个可执行文件应该是用VC6.0生成的,vs生成的图标不一样。说明发这个例子的人之前是用VC6.0编译能过。求指导,帮我也编译过了!