It works fine with VTK released libs but fails with debug libs.
the libs of VTK that I uses
This looks more like OCC code to me, not VTK itself.
@bunny Are you also building debug libs for OCC?
yeah, that is the problem…