我刚刚从 github 中提取 Minko Engine 并按照所有说明进行操作。一些项目有大量的编译错误。我正在使用 VS2015 在 Windows 10 上编译它。
以下是一些错误
错误 LNK2005 "bool __cdecl std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ) 已在 libcpmt.lib(uncaught.obj) minko-test E:\OneDrive\Projects\Minko\minko\test\msvcprt 中定义.lib(MSVCP140.dll) 1 构建错误 LNK2005“受保护:__cdecl std::basic_ios >::basic_ios >(void)”(??0?$basic_ios@DU?$char_traits@D@std@@@std@@ IEAA@XZ) 已在 libcpmt.lib(cin.obj) minko-test E:\OneDrive\Projects\Minko\minko\test\msvcprt.lib(MSVCP140.dll) 1 Build Error LNK2005 "protected: __cdecl std:: 中定义basic_streambuf >::basic_streambuf >(void)" (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAA@XZ) 已在 FlyweightTest.obj minko-test E:\OneDrive\ 中定义Projects\Minko\minko\test\msvcprt.lib(MSVCP140.dll) 1 构建错误 LNK2005 "public: char __cdecl std::basic_ios >::widen(char)const " (?widen@?$basic_ios@DU?$char_traits@D@std@@@std@@QEBADD@Z) 已经在 libcpmt.lib(cin.obj) minko-test E:\OneDrive 中定义\Projects\Minko\minko\test\msvcprt.lib(MSVCP140.dll) 1 构建错误 LNK2005 “public: class std::basic_ostream > & __cdecl std::basic_ostream >::flush(void)” (?flush@?$ basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAAEAV12@XZ) 已在 main.obj minko-test E:\OneDrive\Projects\Minko\minko\test\msvcprt.lib(MSVCP140.dll) 中定义1 构建错误 LNK2005 "public: class std::basic_ostream > & __cdecl std::basic_ostream >::operator<<(double)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@ @QEAAAAEAV01@N@Z) 已在 EffectParserTest.obj minko-test E:\OneDrive\Projects\Minko\minko\test\msvcprt.lib(MSVCP140.dll) 1 Build Error LNK2005 中定义“公共:类 std::basic_ostream > & __cdecl std::basic_ostream >::operator<<(float)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAAEAV01@M@ Z) 已经在 AmbientLightTest.obj minko-test E:\OneDrive\Projects\Minko\minko\test\msvcprt.lib(MSVCP140.dll) 1 Build Error LNK2005 "public: class std::basic_ostream > & __cdecl std:: 中定义basic_ostream >::operator<<(int)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@H@Z) 已在 FlyweightTest.obj minko-test E 中定义: \OneDrive\Projects\Minko\minko\test\msvcprt.lib(MSVCP140.dll) 1 构建错误 LNK2005 "public: class std::basic_ostream > & __cdecl std::basic_ostream >::operator<<(unsigned int)" ( ??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAAEAV01@I@Z) 已经在 SignalTest 中定义。obj minko-test E:\OneDrive\Projects\Minko\minko\test\msvcprt.lib(MSVCP140.dll) 1 Build Error LNK2005 "public: class std::basic_ostream > & __cdecl std::basic_ostream >::operator<< (unsigned __int64)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAAEAV01@_K@Z) 已经在 FlyweightTest.obj minko-test E:\OneDrive\Projects\Minko 中定义\minko\test\msvcprt.lib(MSVCP140.dll) 1 构建错误 LNK2005 "public: class std::basic_ostream > & __cdecl std::basic_ostream >::operator<<(void const *)" (??6?$ basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAAEAV01@PEBX@Z) 已在 FlyweightTest.obj minko-test E:\OneDrive\Projects\Minko\minko\test\msvcprt.lib(MSVCP140. dll) 1 构建错误 LNK2005 "public: class std::basic_ostream > & __cdecl std::basic_ostream >::put(char)" (?put@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAAEAV12@D@Z) 已经在 EffectParserTest.obj minko-test E:\OneDrive\Projects\Minko 中定义\minko\test\msvcprt.lib(MSVCP140.dll) 1 构建错误 LNK2005 "public: class std::basic_ostream > & __cdecl std::basic_ostream >::write(char const *,__int64)" (?write@?$ basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAAEAV12@PEBD_J@Z) 已经在 minko-plugin-serializer.lib(TypeSerializer.obj) minko-test E:\OneDrive\Projects\Minko\minko 中定义\test\msvcprt.lib(MSVCP140.dll) 1 构建basic_ostream >::write(char const *,__int64)" (?write@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAAEAV12@PEBD_J@Z) 已经在 minko-plugin-serializer 中定义。 lib(TypeSerializer.obj) minko-test E:\OneDrive\Projects\Minko\minko\test\msvcprt.lib(MSVCP140.dll) 1 构建basic_ostream >::write(char const *,__int64)" (?write@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAAEAV12@PEBD_J@Z) 已经在 minko-plugin-serializer 中定义。 lib(TypeSerializer.obj) minko-test E:\OneDrive\Projects\Minko\minko\test\msvcprt.lib(MSVCP140.dll) 1 构建