Comment 4 for bug 1186052

Revision history for this message
Hongyi Xin (gohongyi) wrote : Re: [Bug 1186052] Re: The autoconf + make + make install is totally broken for 1.2. There is no header file memoryvalidator.h which is needed by gexf.h. Even after manually copying all files. I still get errors.

Hi bro,

Unfortunately no. The guy who maintains the code told us that
unfortunately the code is no longer supported. We end up writing our
own gexf generating library.

It is not that hard. Basically dump nodes than edges into an xml format.

Hope this helps,
Hongyi

On Wed, Sep 25, 2013 at 6:32 PM, Marco Margarucci
<email address hidden> wrote:
> In file main.cpp:34, use "node.setNodeLabel(...)" instead of
> "node.setLabel(...)".
>
> The other problem, still remains !
>
> main.cpp: In function ‘void createOutputFile()’:
> main.cpp:38:58: error: no matching function for call to ‘libgexf::Data::addNodeAttributeColumn(const char [2], const char [4], libgexf::t_attr_type)’
> main.cpp:38:58: note: candidate is:
> In file included from /usr/include/libgexf/conv.h:33:0,
> from /usr/include/libgexf/libgexf.h:33,
> from main.cpp:4:
> /usr/include/libgexf/data.h:112:10: note: void libgexf::Data::addNodeAttributeColumn(libgexf::t_id, const string&, const string&)
> /usr/include/libgexf/data.h:112:10: note: no known conversion for argument 3 from ‘libgexf::t_attr_type’ to ‘const string& {aka const std::basic_string<char>&}
>
> That's all folks !
>
> ** Attachment added: "This attachment contains a "half-patch" for this bug"
> https://bugs.launchpad.net/libgexf/+bug/1186052/+attachment/3841289/+files/main.cpp
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1186052
>
> Title:
> The autoconf + make + make install is totally broken for 1.2. There is
> no header file memoryvalidator.h which is needed by gexf.h. Even
> after manually copying all files. I still get errors.
>
> Status in libgexf, toolkit library for GEXF file format:
> New
>
> Bug description:
> The autoconf + make + make install is totally broken for 1.2. There is
> no header file memoryvalidator.h which is needed by gexf.h. Even
> after manually copying all files. I still get errors:
>
> playgef.cc: In function ‘void create()’:
> playgef.cc:18:10: error: ‘class libgexf::Data’ has no member named ‘setLabel’
> playgef.cc:19:10: error: ‘class libgexf::Data’ has no member named ‘setLabel’
> playgef.cc:22:61: error: no matching function for call to ‘libgexf::Data::addNodeAttributeColumn(const char [2], const char [4], libgexf::t_attr_type)’
> playgef.cc:22:61: note: candidate is:
> In file included from /home/hitesh/lib/include/libgexf/conv.h:33:0,
> from /home/hitesh/lib/include/libgexf/libgexf.h:33,
> from playgef.cc:3:
> /home/hitesh/lib/include/libgexf/data.h:112:10: note: void libgexf::Data::addNodeAttributeColumn(libgexf::t_id, const string&, const string&)
> /home/hitesh/lib/include/libgexf/data.h:112:10: note: no known conversion for argument 3 from ‘libgexf::t_attr_type’ to ‘const string& {aka const std::basic_string<char>&}
>
> This is just compiling an example program provided online.
>
> Any idea?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/libgexf/+bug/1186052/+subscriptions