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.

Bug #1186052 reported by Hongyi Xin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libgexf
New
Undecided
Unassigned

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?

Revision history for this message
Hongyi Xin (gohongyi) wrote :

I guess the question is, has anyone even tried to install from to customized path and compile some helloworld code?

Revision history for this message
Marco Margarucci (marco-margarucci) wrote :

I'm experiencing the same troubles... Any suggestion ?

Revision history for this message
Marco Margarucci (marco-margarucci) 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 !

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

Revision history for this message
Marco Margarucci (marco-margarucci) wrote :

The code is no longer supported, and it's O.K. ! But, it's not fair, release not-working code.

Revision history for this message
Hongyi Xin (gohongyi) wrote :

Yeah... Hehe, such a waste of time.

On Thu, Sep 26, 2013 at 3:15 AM, Marco Margarucci
<email address hidden> wrote:
> The code is no longer supported, and it's O.K. ! But, it's not fair,
> release not-working code.
>
> --
> 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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.