Access violation on Windows but not on Linux
The following simple code snipped works on Linux but gives a access violation writing on Windows. On both systems the newest SDK was used.
import gmsh
gmsh.initialize()
cad = gmsh.model.occ
mesh = gmsh.model.mesh
model = gmsh.model
box_tag = cad.addBox(0, 0, 0, 1, 1, 1)
cad.synchronize()
mesh.setSize(model.getBoundary([(3, box_tag)], False, oriented=False, recursive=True), 0.5)
gmsh.option.setNumber("Mesh.ElementOrder", 2)
mesh.generate(3)
print(mesh.getElementTypes(3, box_tag))
gmsh.finalize()