HAVE_NO_DLL

The Standard_Macro.hxx file checks if HAVE_NO_DLL is defined in order to define Standard_EXPORT and Standard_IMPORT. I thought that defining HAVE_NO_DLL would allow to make libraries that do not need DLL's but linking the fundationClasses project I got a lot of errors.
Does anybody know how HAVE_NO_DLL work?

ahmed magdy's picture

i have the same problem !! still having undefined reference to __imp__**** functions

Kirill Gavrilov's picture

HAVE_NO_DLL is designed for usage with static libraries build - see BUILD_LIBRARY_TYPE option in CMake when building OCCT.
https://dev.opencascade.org/doc/overview/html/occt_dev_guides__building_...

ahmed magdy's picture

my libraries are build as static(using tdm 5.1.0 64bit  compiler - windows7 64) , i checked for the functions names in the libraries using nm.exe , and it doesn't contain the __imp__ prefix so it was well compiled , the problem(as i see it ) is in the compilation and linking of my program , it compiles well but when linking it searches for maths functions with __imp__ prefix ,so i guess the problem is not in compiling the libraries and not in linking order (as these functions are in the kernel library which is the last to link to ) 

i already tried #define  HAVE_NO_DLL , even tried to redefine __Standard_API for some function and it still shows undefined reference to __imp__**

Kirill Gavrilov's picture

it searches for maths functions with __imp__ prefix

Which math functions?
How your linker log looks?
What is your version of OCCT?

ahmed magdy's picture

this is the compiling command line :

g++.exe -Wall -std=c++11 -g -DWNT -DHAVE_NO_DLL -std=c++11 -m64 
 -ID:\Programming\opencascade-7.2.0\temp\Release\inc 
 -ID:\Programming\libraries_and_useful_programs_and_tools\wxWidgets-3.1.0\include
 -c D:\Programming\workspace\occ_wx_test1\win32_handmade.cpp -o obj\Debug\win32_handmade.o

 and it compiles well and generates the object file win32_handmade.o,

this is the linking command line :
g++.exe -LD:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd
 -LD:\Programming\libraries_and_useful_programs_and_tools\wx\wxMSW-3.1.0_gcc510TDM_x64_Dev\lib\gcc510TDM_x64_dll
 -o bin\Debug\occ_wx_test1.exe obj\Debug\win32_handmade.o
 -m64  -lTKFillet -lTKCDF -lTKMesh -lTKHLR -lTKShHealing -lTKXSBase
 -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKBool -lTKOpenGl -lTKV3d
 -lTKService -lTKOffset -lTKBO -lTKPrim -lTKTopAlgo -lTKBRep -lTKMath -lTKernel
 -lwxmsw31ud_aui -lwxmsw31ud_gl -lwxmsw31ud_adv -lwxmsw31ud_core -lwxbase31ud
 -lwxzlibd -lglu32 -lopengl32 -lgdi32 -lkernel32 -lm
 
 
 and i get errors as shown in the images (library and my program are compiled in debug mode )
my occt is :opencascade-7.2.0

ahmed magdy's picture

ths linking log :: 

g++.exe -LD:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd -LD:\Programming\libraries_and_useful_programs_and_tools\wx\wxMSW-3.1.0_gcc510TDM_x64_Dev\lib\gcc510TDM_x64_dll -o bin\Debug\occ_wx_test1.exe obj\Debug\win32_handmade.o  -m64  -lTKFillet -lTKCDF -lTKMesh -lTKHLR -lTKShHealing -lTKXSBase -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKBool -lTKOpenGl -lTKV3d -lTKService -lTKOffset -lTKBO -lTKPrim -lTKTopAlgo -lTKBRep -lTKMath -lTKernel -lwxmsw31ud_aui -lwxmsw31ud_gl -lwxmsw31ud_adv -lwxmsw31ud_core -lwxbase31ud -lwxzlibd -lglu32 -lopengl32 -lgdi32 -lkernel32 -lm
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKFillet.a(ChFiKPart_ComputeData_ChAsymPlnCyl.cxx.obj): In function `ChFiKPart_MakeChAsym(TopOpeBRepDS_DataStructure&, opencascade::handle<ChFiDS_SurfData> const&, gp_Pln const&, gp_Cylinder const&, double, double, TopAbs_Orientation, TopAbs_Orientation, double, double, gp_Lin const&, double, TopAbs_Orientation, bool, bool)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx:386: undefined reference to `__imp__Z4Sqrtd'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx:410: undefined reference to `__imp__Z4Sqrtd'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx:413: undefined reference to `__imp__Z4Sqrtd'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx:413: undefined reference to `__imp__Z4Sqrtd'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx:421: undefined reference to `__imp__Z4ASind'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx:447: undefined reference to `__imp__Z4Sqrtd'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx:453: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKFillet.a(ChFiKPart_ComputeData_ChPlnCyl.cxx.obj): In function `ChFiKPart_MakeChamfer(TopOpeBRepDS_DataStructure&, opencascade::handle<ChFiDS_SurfData> const&, gp_Pln const&, gp_Cylinder const&, double, double, TopAbs_Orientation, TopAbs_Orientation, double, double, gp_Lin const&, double, TopAbs_Orientation, bool)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ChFiKPart/ChFiKPart_ComputeData_ChPlnCyl.cxx:368: undefined reference to `__imp__Z4ASind'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKFillet.a(BRepBlend_RstRstConstRad.cxx.obj): In function `BRepBlend_RstRstConstRad::IsSolution(math_Vector const&, double)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/BRepBlend/BRepBlend_RstRstConstRad.cxx:309: undefined reference to `__imp__Z4ACosd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKFillet.a(BRepBlend_RstRstEvolRad.cxx.obj): In function `BRepBlend_RstRstEvolRad::IsSolution(math_Vector const&, double)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/BRepBlend/BRepBlend_RstRstEvolRad.cxx:381: undefined reference to `__imp__Z4ACosd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKFillet.a(BRepBlend_SurfRstConstRad.cxx.obj): In function `BRepBlend_SurfRstConstRad::IsSolution(math_Vector const&, double)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/BRepBlend/BRepBlend_SurfRstConstRad.cxx:427: undefined reference to `__imp__Z4ACosd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKFillet.a(BRepBlend_SurfRstEvolRad.cxx.obj): In function `BRepBlend_SurfRstEvolRad::IsSolution(math_Vector const&, double)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/BRepBlend/BRepBlend_SurfRstEvolRad.cxx:485: undefined reference to `__imp__Z4ACosd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKFillet.a(BlendFunc_ConstRad.cxx.obj): In function `BlendFunc_ConstRad::IsSolution(math_Vector const&, double)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/BlendFunc/BlendFunc_ConstRad.cxx:919: undefined reference to `__imp__Z4ACosd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKFillet.a(BlendFunc_EvolRad.cxx.obj):D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/BlendFunc/BlendFunc_EvolRad.cxx:988: more undefined references to `__imp__Z4ACosd' follow
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKFillet.a(ChFiDS_Spine.cxx.obj): In function `ChFiDS_Spine::D2(double, gp_Pnt&, gp_Vec&, gp_Vec&)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ChFiDS/ChFiDS_Spine.cxx:808: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeFix_Wire.cxx.obj): In function `ShapeFix_Wire::FixSelfIntersectingEdge(int)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeFix/ShapeFix_Wire.cxx:2228: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeConstruct_ProjectCurveOnSurface.cxx.obj): In function `ShapeConstruct_ProjectCurveOnSurface::CheckPoints(opencascade::handle<TColgp_HArray1OfPnt>&, opencascade::handle<TColStd_HArray1OfReal>&, double&) const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cxx:1853: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeConstruct_ProjectCurveOnSurface.cxx.obj): In function `ShapeConstruct_ProjectCurveOnSurface::CheckPoints2d(opencascade::handle<TColgp_HArray1OfPnt2d>&, opencascade::handle<TColStd_HArray1OfReal>&, double&) const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cxx:1924: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeAnalysis_Curve.cxx.obj): In function `ProjectOnSegments':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeAnalysis/ShapeAnalysis_Curve.cxx:80: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeAnalysis_Edge.cxx.obj):D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeAnalysis/ShapeAnalysis_Edge.cxx:667: more undefined references to `__imp__Z4Sqrtd' follow
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeAnalysis_Surface.cxx.obj): In function `ShapeAnalysis_Surface::ComputeSingularities()':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeAnalysis/ShapeAnalysis_Surface.cxx:163: undefined reference to `__imp__Z4ACosd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeAnalysis_Surface.cxx.obj): In function `ShapeAnalysis_Surface::ProjectDegenerated(gp_Pnt const&, double, gp_Pnt2d const&, gp_Pnt2d&)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeAnalysis/ShapeAnalysis_Surface.cxx:366: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeAnalysis_Surface.cxx.obj): In function `ShapeAnalysis_Surface::ProjectDegenerated(int, NCollection_Sequence<gp_Pnt> const&, NCollection_Sequence<gp_Pnt2d>&, double, bool)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeAnalysis/ShapeAnalysis_Surface.cxx:402: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeAnalysis_Surface.cxx.obj): In function `ShapeAnalysis_Surface::IsUClosed(double)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeAnalysis/ShapeAnalysis_Surface.cxx:604: undefined reference to `__imp__Z4Sqrtd'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeAnalysis/ShapeAnalysis_Surface.cxx:605: undefined reference to `__imp__Z4Sqrtd'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeAnalysis/ShapeAnalysis_Surface.cxx:614: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeAnalysis_Surface.cxx.obj):D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeAnalysis/ShapeAnalysis_Surface.cxx:615: more undefined references to `__imp__Z4Sqrtd' follow
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeAnalysis_TransferParametersProj.cxx.obj): In function `Epsilon(double)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Standard/Standard_Real.hxx:184: undefined reference to `__imp__Z9NextAfterdd'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Standard/Standard_Real.hxx:186: undefined reference to `__imp__Z9NextAfterdd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeAnalysis_Wire.cxx.obj): In function `ShapeAnalysis_Wire::CheckCurveGap(int)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeAnalysis/ShapeAnalysis_Wire.cxx:1060: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKShHealing.a(ShapeAnalysis_Wire.cxx.obj): In function `ShapeAnalysis_Wire::CheckLacking(int, double, gp_Pnt2d&, gp_Pnt2d&)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/ShapeAnalysis/ShapeAnalysis_Wire.cxx:1524: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG2d.a(Geom2d_Ellipse.cxx.obj): In function `Geom2d_Ellipse::Eccentricity() const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Geom2d/Geom2d_Ellipse.cxx:202: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG2d.a(Geom2d_Ellipse.cxx.obj): In function `Geom2d_Ellipse::Focal() const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Geom2d/Geom2d_Ellipse.cxx:214: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG2d.a(Geom2d_Ellipse.cxx.obj): In function `Geom2d_Ellipse::Focus1() const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Geom2d/Geom2d_Ellipse.cxx:225: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG2d.a(Geom2d_Ellipse.cxx.obj):D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Geom2d/Geom2d_Ellipse.cxx:238: more undefined references to `__imp__Z4Sqrtd' follow
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG2d.a(Geom2dAdaptor_Curve.cxx.obj): In function `Geom2dAdaptor_Curve::Resolution(double) const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Geom2dAdaptor/Geom2dAdaptor_Curve.cxx:812: undefined reference to `__imp__Z4ASind'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG2d.a(GProp_GProps.cxx.obj): In function `GProp_GProps::RadiusOfGyration(gp_Ax1 const&) const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/GProp/GProp_GProps.cxx:142: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG2d.a(GProp_GProps.cxx.obj): In function `GProp_GProps::PrincipalProperties() const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/GProp/GProp_GProps.cxx:172: undefined reference to `__imp__Z4Sqrtd'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/GProp/GProp_GProps.cxx:173: undefined reference to `__imp__Z4Sqrtd'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/GProp/GProp_GProps.cxx:174: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG2d.a(Geom2dEvaluator_OffsetCurve.cxx.obj): In function `Geom2dEvaluator_OffsetCurve::CalculateD1(gp_Pnt2d&, gp_Vec2d&, gp_Vec2d const&) const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Geom2dEvaluator/Geom2dEvaluator_OffsetCurve.cxx:210: undefined reference to `__imp__Z4Sqrtd'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG2d.a(Geom2dEvaluator_OffsetCurve.cxx.obj):D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Geom2dEvaluator/Geom2dEvaluator_OffsetCurve.cxx:254: more undefined references to `__imp__Z4Sqrtd' follow
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG3d.a(GeomAdaptor_Curve.cxx.obj): In function `GeomAdaptor_Curve::Resolution(double) const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/GeomAdaptor/GeomAdaptor_Curve.cxx:793: undefined reference to `__imp__Z4ASind'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG3d.a(GeomAdaptor_Surface.cxx.obj): In function `GeomAdaptor_Surface::UResolution(double) const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/GeomAdaptor/GeomAdaptor_Surface.cxx:1015: undefined reference to `__imp__Z4ASind'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG3d.a(GeomAdaptor_Surface.cxx.obj): In function `GeomAdaptor_Surface::VResolution(double) const':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/GeomAdaptor/GeomAdaptor_Surface.cxx:1082: undefined reference to `__imp__Z4ASind'
D:\Programming\opencascade-7.2.0\temp\Debug\win64\gcc\libd/libTKG3d.a(Adaptor3d_TopolTool.cxx.obj): In function `Adaptor3d_TopolTool::Initialize(opencascade::handle<Adaptor3d_HSurface> const&)':
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Adaptor3d/Adaptor3d_TopolTool.cxx:114: undefined reference to `Adaptor2d_Line2d::Adaptor2d_Line2d(gp_Pnt2d const&, gp_Dir2d const&, double, double)'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Adaptor3d/Adaptor3d_TopolTool.cxx:114: undefined reference to `Adaptor2d_HLine2d::Adaptor2d_HLine2d(Adaptor2d_Line2d const&)'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Adaptor3d/Adaptor3d_TopolTool.cxx:137: undefined reference to `Adaptor2d_Line2d::Adaptor2d_Line2d(gp_Pnt2d const&, gp_Dir2d const&, double, double)'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Adaptor3d/Adaptor3d_TopolTool.cxx:137: undefined reference to `Adaptor2d_HLine2d::Adaptor2d_HLine2d(Adaptor2d_Line2d const&)'
D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Adaptor3d/Adaptor3d_TopolTool.cxx:159: undefined reference to `Adaptor2d_Line2d::Adaptor2d_Line2d(gp_Pnt2d const&, gp_Dir2d const&, double, double)'

Kirill Gavrilov's picture

 -m64  -lTKFillet -lTKCDF -lTKMesh -lTKHLR -lTKShHealing -lTKXSBase
 -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKBool -lTKOpenGl -lTKV3d
 -lTKService -lTKOffset -lTKBO -lTKPrim -lTKTopAlgo -lTKBRep -lTKMath -lTKernel
 -lwxmsw31ud_aui -lwxmsw31ud_gl -lwxmsw31ud_adv -lwxmsw31ud_core -lwxbase31ud
 -lwxzlibd -lglu32 -lopengl32 -lgdi32 -lkernel32 -lm

D:/Programming/opencascade-7.2.0/opencascade-7.2.0/src/Adaptor3d/Adaptor3d_TopolTool.cxx:159: undefined reference to `Adaptor2d_Line2d::Adaptor2d_Line2d(gp_Pnt2d const&, gp_Dir2d const&, double, double)'

You have specified libraries in wrong order (at least TKG2d and TKG3d).

Concerning linker errors for C functions exported from TKernel, I would try building with OCCT 7.3.0 (beta), it has some changes related to HAVE_NO_DLL:
https://dev.opencascade.org/index.php?q=node/1213

ahmed magdy's picture

it's ok for the wrong order i will change it till it work , my  problem is in these c functions 

Kirill Gavrilov's picture

So, have you tried building with OCCT 7.3.0?
Do you still have the same issue?