Solved.
For those, who are are looking at this in the future and are also having this problem.
In my specific case the solution was to match the built OpenSubdiv library type and system architecture. What I mean by that is that if OpenSubdiv library is build in Release mode and on architecture x64 your project will also work only in Release mode and x64 architecture. To use the library in debug mode you must built the library in debug mode and link that to your Debug setting. In visual studio the only difference will be that in Debug settings of project in linker\general\Additional Library Directories you will have path_to_opensubdiv\build\lib\Debug and in Release settings you will have
path_to_opensubdiv\build\lib\Release.
Dne pondělí 11. listopadu 2024 v 21:14:08 UTC+1 uživatel Vojtěch Kratochvil napsal: