You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering a linker error when building USD for the project pxOsd that uses the osdCPU.lib static library from OpenSubdiv-3_6_0. The error message indicates an unresolved external symbol __std_find_trivial_4.
Below are the details of the error:
osdCPU.lib(level.cpp.obj) : error LNK2019: unresolved external symbol __std_find_trivial_4 referenced in function "int * __cdecl std::_Find_unchecked<int *,int>(int *,int * const,int const &)" (??$_Find_unchecked@PEAHH@std@@YAPEAHPEAHQEAHAEBH@Z)
osdCPU.lib(fvarLevel.cpp.obj) : error LNK2001: unresolved external symbol __std_find_trivial_4
D:\OpenUSD\build\pxr\imaging\pxOsd\Release\usd_pxOsd.dll : fatal error LNK1120: 1 unresolved externals
Steps taken:
Built all projects under OpenSubdiv-3_6_0 including osdCPU.lib on v142, C++17 windows so as to match pxOSD built configuraiton
Environment: Windows 10, Visual Studio 2019, PlatformToolset = v142, C++ 17, release config
Issue - Unresolved External Symbol __std_find_trivial_4 in Static Library osdCPU.lib
Any insights or suggestions would be greatly appreacited.
The text was updated successfully, but these errors were encountered:
antswork1z
changed the title
Issue: Unresolved External Symbol __std_find_trivial_4 in Static Library osdCPU.lib
Issue: Build failed on Windows - VS2019, v142, C++17
Feb 20, 2025
I am encountering a linker error when building USD for the project pxOsd that uses the osdCPU.lib static library from OpenSubdiv-3_6_0. The error message indicates an unresolved external symbol __std_find_trivial_4.
Below are the details of the error:
osdCPU.lib(level.cpp.obj) : error LNK2019: unresolved external symbol __std_find_trivial_4 referenced in function "int * __cdecl std::_Find_unchecked<int *,int>(int *,int * const,int const &)" (??$_Find_unchecked@PEAHH@std@@YAPEAHPEAHQEAHAEBH@Z)
osdCPU.lib(fvarLevel.cpp.obj) : error LNK2001: unresolved external symbol __std_find_trivial_4
D:\OpenUSD\build\pxr\imaging\pxOsd\Release\usd_pxOsd.dll : fatal error LNK1120: 1 unresolved externals
Steps taken:
Environment: Windows 10, Visual Studio 2019, PlatformToolset = v142, C++ 17, release config
Issue - Unresolved External Symbol __std_find_trivial_4 in Static Library osdCPU.lib
Any insights or suggestions would be greatly appreacited.
The text was updated successfully, but these errors were encountered: