Skip to content

--enable-booth_graph fails with compilation error #1294

@jhgoebbert

Description

@jhgoebbert

Building the current code with --enable-booth_graph and Boost 1.86.0 fails with

DFSClustering.cpp: In member function virtual void PLMD::clusters::DFSClustering::performClustering():
DFSClustering.cpp:107:3: error: retrieveEdgeList was not declared in this scope; did you mean retrieveAdjacencyLists?
  107 |   retrieveEdgeList( 0, nedges );
      |   ^~~~~~~~~~~~~~~~
      |   retrieveAdjacencyLists
DFSClustering.cpp:110:73: error: std::vector<std::pair<unsigned int, unsigned int> > PLMD::matrixtools::MatrixOperationBase::pairs is private within this context
  110 |   boost::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS> sg(&pairs[0],&pairs[nedges],getNumberOfNodes());
      |                                                                         ^~~~~
matrixtools/../../matrixtools/MatrixOperationBase.h:38:46: note: declared private here
   38 |   std::vector<std::pair<unsigned,unsigned> > pairs;
      |                                              ^~~~~
DFSClustering.cpp:110:83: error: std::vector<std::pair<unsigned int, unsigned int> > PLMD::matrixtools::MatrixOperationBase::pairs is private within this context
  110 |   boost::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS> sg(&pairs[0],&pairs[nedges],getNumberOfNodes());
      |                                                                                   ^~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions