This avoids issues where if OpenVDB is dynamically linked, objects
allocated using the instance of the CRT in OpenVDB might be passed
across a shared library boundary where they could then be attempted to
be freed using the UE deallocator, leading to crashes.
Note that OpenVDB makes use of both RTTI and C++ exceptions, so
client modules of OpenVDB should likely enable both of those features
as well.
#jira UE-139647
#rb brandon.schaefer, michael.balzer
#preflight 627ab3ece713fc6e2c581250
#fyi devon.penney
[CL 20173502 by matt johnson in ue5-main branch]
The current build of Blosc appears to be embedding its own copy of LZ4
which is creating duplicate symbol issues for monolithic builds.
Backing this out until Blosc is rebuilt to remove the embedded LZ4.
#fyi matt.johnson
Original CL Desc
-----------------------------------------------------------------
OpenVDB: rebuild OpenVDB as a static library
This avoids issues where if OpenVDB is dynamically linked, objects
allocated using the instance of the CRT in OpenVDB might be passed
across a shared library boundary where they could then be attempted to
be freed using the UE deallocator, leading to crashes.
Note that OpenVDB makes use of both RTTI and C++ exceptions, so
client modules of OpenVDB should likely enable both of those features
as well.
#jira UE-139647
#rb michael.balzer
#preflight 6263270600654785f43d7008
#fyi devon.penney
[CL 19912470 by matt johnson in ue5-main branch]
This avoids issues where if OpenVDB is dynamically linked, objects
allocated using the instance of the CRT in OpenVDB might be passed
across a shared library boundary where they could then be attempted to
be freed using the UE deallocator, leading to crashes.
Note that OpenVDB makes use of both RTTI and C++ exceptions, so
client modules of OpenVDB should likely enable both of those features
as well.
#jira UE-139647
#rb michael.balzer
#preflight 6263270600654785f43d7008
#fyi devon.penney
[CL 19904236 by matt johnson in ue5-main branch]