Make sure that debug dlls of OCC have different file names than from release build
With the latest LibPacks the debug and release dlls of OCC have the same file names. This makes it very difficult to make a debug build of FreeCAD to use the debug build of OCC.
OCC's CMake build scripts used to have an option where for the debug build the suffix "d" was added to the dlls.
Thanks - is OCC the only library where we have to make this differentiation manually?
Yes, I think so.
OK - I'm working on a new LibPack that's got Qt6 and Python 3.11 in it, do you want me to also make a "backport" LibPack that updates the OCC but leaves everything else the same as the current LibPack?
do you want me to also make a "backport" LibPack that updates the OCC but leaves everything else the same as the current LibPack?
The problem has been reported in the forum where mixing OCC release dlls with a FreeCAD debug build can lead to a crash: https://forum.freecad.org/viewtopic.php?p=700327#p700327
I for myself don't need it because I still use my older LibPack that doesn't suffer from this issue. But if you are already working on a new LibPack with Qt6 it doesn't harm to prepare a backport LibPack. But don't forget to also provide a new debug version of netgen/nglib then.
Thanks!