wmayer wrote: ↑
Wed Oct 16, 2019 8:21 pm
What should I do to proceed?
ist wrong directory. Choose ../
Thanks for the answer.
Sorry it has been some time from your response but I then tried to compile freecad but I am having compilation problems. I have spent 2 weeks trying to resolve them but I am now stuck.
Using the command: cmake --build /home/peter/FREECAD-SOURCE/freecad-build
I have removed some lines from the error messages, leaving the important ones.
Compiling for the first time I get:
/home/peter/FREECAD-SOURCE/src/3rdParty/salomesmesh/inc/SMDS_UnstructuredGrid.hxx: In member function ‘vtkCellLinks* SMDS_UnstructuredGrid::GetLinks()’:
/home/peter/FREECAD-SOURCE/src/3rdParty/salomesmesh/inc/SMDS_UnstructuredGrid.hxx:98:12: error: invalid conversion from ‘vtkAbstractCellLinks*’ to ‘vtkCellLinks*’ [-fpermissive]
SECOND AND THIRD ERRORS:
After a bit of a hack with the code, casting vtkAbstractCellLinks* to vtkCellLinks* at 98 the compilation goes a bit further till:
/home/peter/FREECAD-SOURCE/src/3rdParty/salomesmesh/src/SMDS/SMDS_MeshNode.cpp:194:85: error: ‘class vtkAbstractCellLinks’ has no member named ‘GetLink’
vtkCellLinks::Link l = SMDS_Mesh::_meshList[myMeshId]->getGrid()->GetCellLinks()->GetLink(myVtkID);
this error is repeated 3 more times
/home/peter/FREECAD-SOURCE/src/3rdParty/salomesmesh/src/SMDS/SMDS_MeshNode.cpp:353:43: error: invalid conversion from ‘vtkAbstractCellLinks*’ to ‘vtkCellLinks*’ [-fpermissive]
vtkCellLinks *Links = grid->GetCellLinks();
I didn't realise that the version I downloaded was 19.
If there are easy solutions to the above problems then I would be happy to try them.
Otherwise there is no need for a response; I just want to make you aware of these problems, which may be of my making.