aerys / minko

3D framework for web, desktop and mobile devices.
http://minko.io
Other
904 stars 210 forks source link

Windows VS2013 Build #235

Closed dresch86 closed 8 years ago

dresch86 commented 8 years ago

I'm attempting to compile the dev branch SDK for Windows and I'm getting hundreds of these errors:

Error   5   error C2752: 'msgpack::v1::type::const_tuple_element<msgpack::v1::type::tuple<minko::uint,std::string,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void>,0>' : more than one partial specialization matches the template argument list D:\CPPLibs\minko\plugin\serializer\src\minko\deserialize\ComponentDeserializer.cpp  61  1   minko-plugin-serializer

They all seem to be related to the serializer plugin. The end result is none of the plugins build.

dresch86 commented 8 years ago

I updated my compiler to the 2013 CTP and I got rid of the above error, but I am still hung up by 2 new ones:

Error   121 error C2664: 'std::vector<minko::Flyweight<std::string>,std::allocator<_Ty>>::vector(std::initializer_list<_Ty>,const std::allocator<_Ty> &)' : cannot convert argument 1 from 'const char [19]' to 'const std::allocator<_Ty> &'   D:\CPPLibs\minko\plugin\serializer\src\minko\file\StreamingOptions.cpp  53  1   minko-plugin-serializer

and

Error   136 error C2664: 'std::unordered_map<minko::Flyweight<std::string>,minko::file::WriterOptions::TextureOptions,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::unordered_map(std::initializer_list<std::pair<const _Kty,_Ty>>,unsigned int,const std::hash<_Kty> &,const _Keyeq &,const std::allocator<std::pair<const _Kty,_Ty>> &)' : cannot convert argument 1 from 'initializer-list' to 'const std::unordered_map<minko::Flyweight<std::string>,minko::file::WriterOptions::TextureOptions,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>> &'    D:\CPPLibs\minko\plugin\serializer\src\minko\file\WriterOptions.cpp 60  1   minko-plugin-serializer
warrenseine commented 8 years ago

Can you try the dev branch?

dresch86 commented 8 years ago

Already using dev

warrenseine commented 8 years ago

My bad, I only saw you second message.

We are currently using VS2015. Can you try to update the IDE? I remember seeing the issue on msgpack-c GitHub issue tracker.

dresch86 commented 8 years ago

@warrenseine I updated to VS2015 and everything compiled just fine! Thanks!