Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Build failed on Windows - VS2019, v142, C++17 #3536

Open
antswork1z opened this issue Feb 20, 2025 · 2 comments
Open

Issue: Build failed on Windows - VS2019, v142, C++17 #3536

antswork1z opened this issue Feb 20, 2025 · 2 comments

Comments

@antswork1z
Copy link

antswork1z commented 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:

  1. 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.

@antswork1z 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
@antswork1z
Copy link
Author

Branch: origin/release; v25.02a; commit has 47117bc

@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10688

(This is an automated message. See here for more information.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants