elmerfem icon indicating copy to clipboard operation
elmerfem copied to clipboard

ElmerGUI fails to build when using OCC

Open GenericNerdyUsername opened this issue 1 year ago • 0 comments

I'm trying to migrate a package repository away from using OCE as it is no longer maintained, but compiling with OCC and -DWITH_ELMERGUI:BOOLEAN=TRUE on commit d1d4983 causes the compile to fail with the error

/build/source/ElmerGUI/Application/cad/cadview.cpp:365:54: error: 'class Poly_Triangulation' has no member named 'Nodes'; did you mean 'Node'?
  365 |     const TColgp_Array1OfPnt &Nodes = Triangulation->Nodes();
      |                                                      ^~~~~
      |                                                      Node

GenericNerdyUsername avatar Aug 11 '23 18:08 GenericNerdyUsername