Hi,
I’ve been spending time lately working on Kokua’s Atlasosaurus merge, however I’m hitting a WebRTC issue with the build. I’m also seeing the same thing if I put my merging to one side and try building the Atlasosaurus branch.
This is building the viewer on Windows with VS2022 rather than on Github.
I’m hitting this…
Building Custom Rule D:/kokua/kokua-ca-sandbox/indra/llwebrtc/CMakeLists.txt
llwebrtc.cpp
Creating library D:/kokua/kokua-ca-sandbox/build-vc170-64/llwebrtc/Release/llwebrtc.lib and object D:/kokua/kokua-ca-sandbox/build-vc170-64/llwebrtc/Release/llwebrtc.exp
webrtc.lib(suppression_gain.obj) : error LNK2019: unresolved external symbol __std_min_element_f referenced in function "float const * __cdecl std::__std_min_element<float const >(float const * const,float const * const)" (??$__std_min_element@$$CBM@std@@YAPEBMQEBM0@Z) [D:\kokua\kokua-ca-sandbox\build-vc170-64\llwebrtc\llwebrtc.vcxproj]
webrtc.lib(subtractor_output.obj) : error LNK2001: unresolved external symbol __std_min_element_f [D:\kokua\kokua-ca-sandbox\build-vc170-64\llwebrtc\llwebrtc.vcxproj]
webrtc.lib(reverb_decay_estimator.obj) : error LNK2001: unresolved external symbol __std_min_element_f [D:\kokua\kokua-ca-sandbox\build-vc170-64\llwebrtc\llwebrtc.vcxproj]
webrtc.lib(render_signal_analyzer.obj) : error LNK2019: unresolved external symbol __std_max_element_f referenced in function "float const * __cdecl std::__std_max_element<float const >(float const * const,float const * const)" (??$__std_max_element@$$CBM@std@@YAPEBMQEBM0@Z) [D:\kokua\kokua-ca-sandbox\build-vc170-64\llwebrtc\llwebrtc.vcxproj]
webrtc.lib(subtractor_output.obj) : error LNK2001: unresolved external symbol __std_max_element_f [D:\kokua\kokua-ca-sandbox\build-vc170-64\llwebrtc\llwebrtc.vcxproj]
webrtc.lib(render_signal_analyzer.obj) : error LNK2019: unresolved external symbol __std_minmax_element_f referenced in function "struct std::pair<float const *,float const *> __cdecl std::__std_minmax_element<float const >(float const * const,float const * const)" (??$__std_minmax_element@$$CBM@std@@YA?AU?$pair@PEBMPEBM@0@QEBM0@Z) [D:\kokua\kokua-ca-sandbox\build-vc170-64\llwebrtc\llwebrtc.vcxproj]
webrtc.lib(echo_audibility.obj) : error LNK2001: unresolved external symbol __std_minmax_element_f [D:\kokua\kokua-ca-sandbox\build-vc170-64\llwebrtc\llwebrtc.vcxproj]
webrtc.lib(generic_decoder.obj) : error LNK2019: unresolved external symbol __std_max_8i referenced in function "<auto> __cdecl std::__std_max<__int64 const >(__int64 const * const,__int64 const * const)" (??$__std_max@$$CB_J@std@@YA?A?<auto>@@QEB_J0@Z) [D:\kokua\kokua-ca-sandbox\build-vc170-64\llwebrtc\llwebrtc.vcxproj]
webrtc.lib(encoder_stream_factory.obj) : error LNK2019: unresolved external symbol __std_max_8u referenced in function "<auto> __cdecl std::__std_max<unsigned __int64 const >(unsigned __int64 const * const,unsigned __int64 const * const)" (??$__std_max@$$CB_K@std@@YA?A?<auto>@@QEB_K0@Z) [D:\kokua\kokua-ca-sandbox\build-vc170-64\llwebrtc\llwebrtc.vcxproj]
webrtc.lib(scalability_structure_full_svc.obj) : error LNK2019: unresolved external symbol __std_bitset_to_string_1 referenced in function "public: <auto> __cdecl `public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl std::bitset<32>::to_string<char,struct std::char_traits<char>,class std::allocator<char> >(char,char)const '::`1'::<lambda_1>::operator()(char *,unsigned __int64)const " (??R<lambda_1>@?0???$to_string@DU?$char_traits@D@std@@V?$allocator@D@2@@?$bitset@$0CA@@std@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@DD@Z@QEBA?A?<auto>@@PEAD_K@Z) [D:\kokua\kokua-ca-sandbox\build-vc170-64\llwebrtc\llwebrtc.vcxproj]
…which looks like it’s expecting to link against <algorithm> but isn’t succeeding.
Has anyone else seen/solved this one? What’s the solution?
Hi Roxie,
I’ll answer this one with the list cc’ed but suggest we go direct after that to respect people’s mailboxes.
I’m currently on VS Community 2022 (17.4.4) and MSVC 143. I’ll update and see if anything changes.
-Chorazin