I pull the master branch daily.
Up until occt 7.5.1 kicad compiled (Linux 18.04.5) with occt 7.3 just fine.
Since occt 7.5.1 repository udate no go.
Today I compiled occt 7.6 itself without issues.
Kicad master branch however still complains about miasing references like (those errors are many)
…/kicad/plugins/3d/oce/loadmodel.cpp: In function ‘bool processFace(const TopoDS_Face&, DATA&, SGNODE*, std::vector<SGNODE*>, Quantity_Color)’:
…/kicad/plugins/3d/oce/loadmodel.cpp:952:64: error: ‘class Poly_Triangulation’ has no member named ‘Nodes’; did you mean ‘Node’?
952 | const TColgp_Array1OfPnt& arrPolyNodes = triangulation->Nodes();
All notably being about this ‘… plugins/3d/oce …’ locarion while OCE = OFF and OCC = ON
Also interesting to note is that the errors refer to different references with occt 7.5.1 vs 7.6