error in boost/graph/fruchterman_reingold.hpp
The doc at http://boost-consulting.com/boost/libs/grpah/doc/fruchterman_reingold.html suggests that there is a 4 argument version of the function, taking only the graph, a position map, width and height; but attempts to compile such a function against the headers from the latest CVS results in a compile error: error: no matching function for call to ` fruchterman_reingold_force_directed_layout(Umbrella::Document&, Umbrella::View::load_from_document()::PositionMap&, double&, double&)' Removing the typenames Param, Tag, and Rest from lines 371-372 of the header allows the compile to continue. Index: boost/graph/fruchterman_reingold.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/graph/fruchterman_reingold.hpp,v retrieving revision 1.5 diff -u -c -r1.5 fruchterman_reingold.hpp cvs diff: conflicting specifications of output style *** boost/graph/fruchterman_reingold.hpp 29 Dec 2004 16:53:05 -0000 1.5 --- boost/graph/fruchterman_reingold.hpp 12 Jan 2005 09:18:16 -0000 *************** *** 368,375 **** params); } ! template<typename Graph, typename PositionMap, typename Dim, typename Param, ! typename Tag, typename Rest> void fruchterman_reingold_force_directed_layout(const Graph& g, PositionMap position, --- 368,374 ---- params); } ! template<typename Graph, typename PositionMap, typename Dim> void fruchterman_reingold_force_directed_layout(const Graph& g, PositionMap position,
The link you provided is 404 error. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Jamie Wilkinson Sent: Wednesday, January 12, 2005 2:16 AM To: Boost-users@lists.boost.org Subject: [Boost-users] error in boost/graph/fruchterman_reingold.hpp The doc at http://boost-consulting.com/boost/libs/grpah/doc/fruchterman_reingold.html suggests that there is a 4 argument version of the function, taking only the graph, a position map, width and height; but attempts to compile such a function against the headers from the latest CVS results in a compile error: error: no matching function for call to ` fruchterman_reingold_force_directed_layout(Umbrella::Document&, Umbrella::View::load_from_document()::PositionMap&, double&, double&)' Removing the typenames Param, Tag, and Rest from lines 371-372 of the header allows the compile to continue. Index: boost/graph/fruchterman_reingold.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/graph/fruchterman_reingold.hpp,v retrieving revision 1.5 diff -u -c -r1.5 fruchterman_reingold.hpp cvs diff: conflicting specifications of output style *** boost/graph/fruchterman_reingold.hpp 29 Dec 2004 16:53:05 -0000 1.5 --- boost/graph/fruchterman_reingold.hpp 12 Jan 2005 09:18:16 -0000 *************** *** 368,375 **** params); } ! template<typename Graph, typename PositionMap, typename Dim, typename Param, ! typename Tag, typename Rest> void fruchterman_reingold_force_directed_layout(const Graph& g, PositionMap position, --- 368,374 ---- params); } ! template<typename Graph, typename PositionMap, typename Dim> void fruchterman_reingold_force_directed_layout(const Graph& g, PositionMap position, _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
This one time, at band camp, Welson Sun wrote:
The link you provided is 404 error.
Sorry, http://boost-consulting.com/boost/libs/graph/doc/fruchterman_reingold.html
It is http://boost-consulting.com/boost/libs/graph/doc/fruchterman_reingold.html Correct me if I am wrong. Cheers, Sudesh Sawant -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org]On Behalf Of Welson Sun Sent: Thursday, January 13, 2005 9:34 AM To: boost-users@lists.boost.org Subject: RE: [Boost-users] error in boost/graph/fruchterman_reingold.hpp The link you provided is 404 error. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Jamie Wilkinson Sent: Wednesday, January 12, 2005 2:16 AM To: Boost-users@lists.boost.org Subject: [Boost-users] error in boost/graph/fruchterman_reingold.hpp The doc at http://boost-consulting.com/boost/libs/grpah/doc/fruchterman_reingold.html suggests that there is a 4 argument version of the function, taking only the graph, a position map, width and height; but attempts to compile such a function against the headers from the latest CVS results in a compile error: error: no matching function for call to ` fruchterman_reingold_force_directed_layout(Umbrella::Document&, Umbrella::View::load_from_document()::PositionMap&, double&, double&)' Removing the typenames Param, Tag, and Rest from lines 371-372 of the header allows the compile to continue. Index: boost/graph/fruchterman_reingold.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/graph/fruchterman_reingold.hpp,v retrieving revision 1.5 diff -u -c -r1.5 fruchterman_reingold.hpp cvs diff: conflicting specifications of output style *** boost/graph/fruchterman_reingold.hpp 29 Dec 2004 16:53:05 -0000 1.5 --- boost/graph/fruchterman_reingold.hpp 12 Jan 2005 09:18:16 -0000 *************** *** 368,375 **** params); } ! template<typename Graph, typename PositionMap, typename Dim, typename Param, ! typename Tag, typename Rest> void fruchterman_reingold_force_directed_layout(const Graph& g, PositionMap position, --- 368,374 ---- params); } ! template<typename Graph, typename PositionMap, typename Dim> void fruchterman_reingold_force_directed_layout(const Graph& g, PositionMap position, _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
On Wednesday 12 January 2005 04:15 am, Jamie Wilkinson wrote:
error: no matching function for call to ` fruchterman_reingold_force_directed_layout(Umbrella::Document&, Umbrella::View::load_from_document()::PositionMap&, double&, double&)'
Removing the typenames Param, Tag, and Rest from lines 371-372 of the header allows the compile to continue.
Thanks! Fixed. Doug
participants (4)
-
Douglas Gregor
-
Jamie Wilkinson
-
Sudesh Sawant
-
Welson Sun