My build is failing on Windows. I do not get these errors with upstream dolphin-emu/dolphin. Help would be appreciated, thank you!
...
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2951): error C2062: type 'unknown-type' unexpected
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2951): error C2062: explicit FMT_CONSTEXPR format_string_checker( (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2951,3): message : while compiling class template member function 'fmt::v9::detail::format_string_checker<Char,fmt::v9::detail::error_handler,double,int,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>::format_string_checker(fmt::v9::basic_string_view<Char>,ErrorHandler)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2951,3): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2951,3): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2951,3): message : Char=char,
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2951,3): message : ErrorHandler=fmt::v9::detail::error_handler
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2951,3): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2951,3): message : explicit FMT_CONSTEXPR format_string_checker(
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2951,3): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,54): message : see reference to class template instantiation 'fmt::v9::detail::format_string_checker<Char,fmt::v9::detail::error_handler,double,int,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>' being compiled
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,54): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,54): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,54): message : Char=char
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,54): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,54): message : detail::parse_format_string<true>(str_, checker(s, {}));
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,54): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : see reference to function template instantiation 'fmt::v9::basic_format_string<char,double,int &,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>::basic_format_string<char[12],0>(const S (&))' being compiled
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : with
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : [
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : S=char [12]
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : ]
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : return fmt::format("{:.{}Lf} {}", bytes / unit_size, decimals,
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : ^
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): error C7595: 'fmt::v9::basic_format_string<char,double,int &,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>::basic_format_string': call to immediate function is not a constant expression
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(758,72): message : failure was caused by a read of an uninitialized symbol
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(758,72): message : if (arg_id < num_args_ && types_ && !is_integral_type(types_[arg_id]))
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(758,72): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(758,72): message : see usage of 'fmt::v9::detail::format_string_checker<Char,fmt::v9::detail::error_handler,double,int,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>::types_'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(758,72): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(758,72): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(758,72): message : Char=char
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(758,72): message : ] (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : the call stack of the evaluation (the oldest call first) is
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : return fmt::format("{:.{}Lf} {}", bytes / unit_size, decimals,
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : ^
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : while evaluating function 'fmt::v9::basic_format_string<char,double,int &,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>::basic_format_string<char[12],0>(const S (&))'
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : with
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : [
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : S=char [12]
37>C:\...\dolphin\Source\Core\UICommon\UICommon.cpp(556,22): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,40): message : while evaluating function 'void fmt::v9::detail::parse_format_string<true,char,checker>(fmt::v9::basic_string_view<char>,Handler &&)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,40): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,40): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,40): message : Handler=checker
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,40): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,40): message : detail::parse_format_string<true>(str_, checker(s, {}));
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3159,40): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2688,44): message : while evaluating function 'const Char *fmt::v9::detail::parse_replacement_field<char,Handler&>(const Char *,const Char *,fmt::v9::detail::format_string_checker<Char,fmt::v9::detail::error_handler,double,int,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>&)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2688,44): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2688,44): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2688,44): message : Char=char,
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2688,44): message : Handler=checker
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2688,44): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2688,44): message : begin = p = parse_replacement_field(p - 1, end, handler);
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2688,44): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2663,38): message : while evaluating function 'const Char *fmt::v9::detail::format_string_checker<Char,fmt::v9::detail::error_handler,double,int,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>::on_format_specs(int,const Char *,const Char *)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2663,38): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2663,38): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2663,38): message : Char=char
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2663,38): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2663,38): message : begin = handler.on_format_specs(adapter.arg_id, begin + 1, end);
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2663,38): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2984,55): message : while evaluating function 'const char *fmt::v9::detail::parse_format_specs<double,fmt::v9::detail::compile_parse_context<Char,ErrorHandler>>(ParseContext &)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2984,55): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2984,55): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2984,55): message : Char=char,
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2984,55): message : ErrorHandler=fmt::v9::detail::error_handler,
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2984,55): message : ParseContext=fmt::v9::detail::compile_parse_context<char,fmt::v9::detail::error_handler>
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2984,55): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2984,55): message : return id >= 0 && id < num_args ? parse_funcs_[id](context_) : begin;
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2984,55): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2746,17): message : while evaluating function 'const char *fmt::v9::formatter<double,char,void>::parse<ParseContext>(ParseContext &)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2746,17): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2746,17): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2746,17): message : ParseContext=fmt::v9::detail::compile_parse_context<char,fmt::v9::detail::error_handler>
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2746,17): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2746,17): message : return f.parse(ctx);
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2746,17): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3044,41): message : while evaluating function 'const Char *fmt::v9::detail::parse_format_specs<Char,fmt::v9::detail::specs_checker<handler_type>&>(const Char *,const Char *,SpecHandler)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3044,41): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3044,41): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3044,41): message : Char=char,
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3044,41): message : SpecHandler=fmt::v9::detail::specs_checker<handler_type> &
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3044,41): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3044,41): message : auto it = detail::parse_format_specs(begin, end, checker);
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(3044,41): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2614,28): message : while evaluating function 'const Char *fmt::v9::detail::parse_precision<Char,fmt::v9::detail::specs_checker<handler_type>&>(const Char *,const Char *,Handler)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2614,28): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2614,28): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2614,28): message : Char=char,
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2614,28): message : Handler=fmt::v9::detail::specs_checker<handler_type> &
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2614,28): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2614,28): message : begin = parse_precision(begin, end, handler);
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2614,28): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2504,27): message : while evaluating function 'const Char *fmt::v9::detail::parse_arg_id<Char,fmt::v9::detail::parse_precision::precision_adapter>(const Char *,const Char *,IDHandler &&)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2504,27): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2504,27): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2504,27): message : Char=char,
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2504,27): message : IDHandler=fmt::v9::detail::parse_precision::precision_adapter
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2504,27): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2504,27): message : begin = parse_arg_id(begin, end, precision_adapter{handler});
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2504,27): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2438,10): message : while evaluating function 'void fmt::v9::detail::parse_precision::precision_adapter::operator ()(void)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2438,10): message : handler();
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2438,10): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2478): message : while evaluating function 'void fmt::v9::detail::dynamic_specs_handler<ParseContext>::on_dynamic_precision<fmt::v9::detail::auto_id>(Id)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2478): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2478): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2478): message : ParseContext=fmt::v9::detail::compile_parse_context<char,fmt::v9::detail::error_handler>,
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2478): message : Id=fmt::v9::detail::auto_id
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2478): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2478): message : Handler&& handler) -> const Char* { (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2252,28): message : while evaluating function 'fmt::v9::detail::arg_ref<Char> fmt::v9::detail::dynamic_specs_handler<ParseContext>::make_arg_ref(fmt::v9::detail::auto_id)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2252,28): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2252,28): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2252,28): message : Char=char,
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2252,28): message : ParseContext=fmt::v9::detail::compile_parse_context<char,fmt::v9::detail::error_handler>
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2252,28): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2252,28): message : specs_.precision_ref = make_arg_ref(arg_id);
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2252,28): message : ^ (compiling source file UICommon\UICommon.cpp)
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2273,32): message : while evaluating function 'void fmt::v9::detail::compile_parse_context<Char,ErrorHandler>::check_dynamic_spec(int)'
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2273,32): message : with
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2273,32): message : [
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2273,32): message : Char=char,
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2273,32): message : ErrorHandler=fmt::v9::detail::error_handler
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2273,32): message : ]
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2273,32): message : context_.check_dynamic_spec(arg_id);
37>C:\...\dolphin\Externals\fmt\include\fmt\core.h(2273,32): message : ^ (compiling source file UICommon\UICommon.cpp)
...
38>LINK : fatal error LNK1181: cannot open input file 'C:\...\dolphin\Build\x64\Release\DolphinLib\bin\DolphinLib.lib'
38>Done building project "DolphinQt.vcxproj" -- FAILED.
========== Rebuild All: 36 succeeded, 2 failed, 0 skipped ==========