gfaviz
gfaviz copied to clipboard
Compile error: no matching function for call to ‘safeTestForEach(
I use the following command to compile this software
git clone https://github.com/ggonnella/gfaviz
cd gfaviz/
qmake-qt5
make
And an error throw out
g++ -c ogdf/basic/extended_graph_alg.cpp -std=c++11 -I. -O3 -DNDEBUG -Wall -Wno-deprecated-declarations -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-unknown-pragmas -Wno-unknown-warning-option -o obj/ogdf/extended_graph_alg.o
ogdf/basic/extended_graph_alg.cpp: In function ‘bool ogdf::cConnectTest(ogdf::ClusterGraph&, ogdf::cluster, ogdf::NodeArray<bool>&, ogdf::Graph&)’:
ogdf/basic/extended_graph_alg.cpp:47:3: error: no matching function for call to ‘safeTestForEach(ogdf::ListContainer<ogdf::ClusterElement*, ogdf::ClusterElement>&, ogdf::cConnectTest(ogdf::ClusterGraph&, ogdf::cluster, ogdf::NodeArray<bool>&, ogdf::Graph&)::__lambda15)’
});
^
ogdf/basic/extended_graph_alg.cpp:47:3: note: candidate is:
In file included from ./ogdf/basic/List.h:34:0,
from ./ogdf/basic/GraphList.h:34,
from ./ogdf/basic/Graph_d.h:37,
from ./ogdf/basic/EdgeArray.h:34,
from ./ogdf/basic/simple_graph_alg.h:34,
from ogdf/basic/extended_graph_alg.cpp:33:
This is my g++ version
g++ --version
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
Thanks !
Probably it depends on the OGDF version.
Am 6. Dezember 2019 05:13:02 MEZ schrieb xuzhougeng [email protected]:
I use the following command to compile this software>
git clone https://github.com/ggonnella/gfaviz> cd gfaviz/> qmake-qt5> make> ```> > And an error throw out> > ```> g++ -c ogdf/basic/extended_graph_alg.cpp -std=c++11 -I. -O3 -DNDEBUG -Wall -Wno-deprecated-declarations -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-unknown-pragmas -Wno-unknown-warning-option -o obj/ogdf/extended_graph_alg.o> ogdf/basic/extended_graph_alg.cpp: In function ‘bool ogdf::cConnectTest(ogdf::ClusterGraph&, ogdf::cluster, ogdf::NodeArray<bool>&, ogdf::Graph&)’:> ogdf/basic/extended_graph_alg.cpp:47:3: error: no matching function for call to ‘safeTestForEach(ogdf::ListContainer<ogdf::ClusterElement*, ogdf::ClusterElement>&, ogdf::cConnectTest(ogdf::ClusterGraph&, ogdf::cluster, ogdf::NodeArray<bool>&, ogdf::Graph&)::__lambda15)’> });> ^> ogdf/basic/extended_graph_alg.cpp:47:3: note: candidate is:> In file included from ./ogdf/basic/List.h:34:0,> from ./ogdf/basic/GraphList.h:34,> from ./ogdf/basic/Graph_d.h:37,> from ./ogdf/basic/EdgeArray.h:34,> from ./ogdf/basic/simple_graph_alg.h:34,> from ogdf/basic/extended_graph_alg.cpp:33:> ```> > This is my g++ version> > ```> g++ --version> g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)> Copyright (C) 2015 Free Software Foundation, Inc.> This is free software; see the source for copying conditions. There is NO> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE> ```> > > Thanks !> > > -- > You are receiving this because you are subscribed to this thread.> Reply to this email directly or view it on GitHub:> https://github.com/ggonnella/gfaviz/issues/66
-- Dr. Giorgio Gonnella