Compilation of Topologic v6.0.3 fails with OpenCascade v8_0_0 with the following errors:
/wrkdirs/usr/ports/math/topologic/work/Topologic-6.0.3/TopologicCore/src/CellComplex.cpp:116:34: error: no viable conversion from 'NCollection_StlIterator<[3 * ...], true>' to 'NCollection_StlIterator<[3 * ...], false>'
116 | TopTools_ListOfShape::iterator occtSolidIterator = rkOcctSolids.begin();
| ^ ~~~~~~~~~~~~~~~~~~~~
/usr/local/include/OpenCASCADE/NCollection_StlIterator.hxx:43:3: note: candidate constructor not viable: no known conversion from 'const_iterator' (aka 'NCollection_StlIterator<std::forward_iterator_tag, NCollection_TListIterator<TopoDS_Shape>, TopoDS_Shape, true>') to 'const NCollection_TListIterator<TopoDS_Shape> &' for 1st argument
43 | NCollection_StlIterator(const BaseIterator& theIterator)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/OpenCASCADE/NCollection_StlIterator.hxx:49:3: note: candidate constructor not viable: no known conversion from 'const_iterator' (aka 'NCollection_StlIterator<std::forward_iterator_tag, NCollection_TListIterator<TopoDS_Shape>, TopoDS_Shape, true>') to 'const NCollection_StlIterator<forward_iterator_tag, NCollection_TListIterator<TopoDS_Shape>, TopoDS_Shape, false> &' for 1st argument
49 | NCollection_StlIterator(
| ^
50 | const NCollection_StlIterator<Category, BaseIterator, ItemType, false>& theIterator)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/math/topologic/work/Topologic-6.0.3/TopologicCore/src/CellComplex.cpp:148:29: error: invalid operands to binary expression ('TopTools_ListOfShape::iterator' (aka 'NCollection_StlIterator<std::forward_iterator_tag, NCollection_TListIterator<TopoDS_Shape>, TopoDS_Shape, false>') and 'const_iterator' (aka 'NCollection_StlIterator<std::forward_iterator_tag, NCollection_TListIterator<TopoDS_Shape>, TopoDS_Shape, true>'))
148 | for (; occtSolidIterator != rkOcctSolids.end(); occtSolidIterator++)
| ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__variant/monostate.h:38:45: note: candidate function not viable: no known conversion from 'TopTools_ListOfShape::iterator' (aka 'NCollection_StlIterator<std::forward_iterator_tag, NCollection_TListIterator<TopoDS_Shape>, TopoDS_Shape, false>') to 'monostate' for 1st argument
Compilation of Topologic v6.0.3 fails with OpenCascade v8_0_0 with the following errors:
Full log attached:
topologic-space-modeling-library-6.0.3_5.log