1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

Testing - Removing direct DCAF loading #147

DCAF require VISUALIZATION for correct work.
  In some scenario DRAWEXE can generate a dublicates of the
  internal static singletons. This means each dynamic library
  will have their own instance of the static singleton.
Update all direct library loading to use the DCAF plugin
  mechanism. This will ensure that the DCAF plugin is loaded
  only once and that the correct instance is used.
Originally issue is reproduced only Linux with dlopen with "RTLD_LAZY".
Can be resolved additionally adding "RTLD_LAZY | RTLD_GLOBAL" for dlopen
This commit is contained in:
dpasukhi
2024-11-05 16:56:11 +00:00
parent e09563c802
commit ea86bfe2fa
77 changed files with 76 additions and 77 deletions

View File

@@ -6,7 +6,7 @@ puts ""
## Wrong result obtained by 2d classifier algorithm.
###############################################
pload DCAF
pload OCAF
Open [locate_data_file bug25969_pal22851.cbf] D

View File

@@ -6,7 +6,7 @@ puts ""
## Wrong result obtained by 2d classifier algorithm.
###############################################
pload DCAF
pload OCAF
Open [locate_data_file bug25969_pal22851.sgd] D