Installing headers

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing headers

Jens Müller
Hmm,

what exactly does make install do? Only install Python libs?

So, what do I have to do to use it in a C++ project? Put all the whole
src folder there would be the simplest way?


Reply | Threaded
Open this post in threaded view
|

Re: Installing headers

Tiago de Paula Peixoto
On 10/05/2006 02:03 PM, Jens Müller wrote:
> Hmm,
>
> what exactly does make install do? Only install Python libs?

Yes, just the graph-tool script and the libgraphtool module. There
aren't any headers...

> So, what do I have to do to use it in a C++ project? Put all the whole
> src folder there would be the simplest way?

Well, graph-tool isn't really a library, so that's not really supposed
to be straight forward. Basically, you have to manually get the code you
want from within the source tree with a pair of forceps...

But in the case of the graphml reader, you need only two files:
graphml.cpp and graphml.hpp. Those two are disconnect from the rest of
the program, since they were meant to be included back into BGL, and you
can just treat them as such.

Take care.
--
Tiago de Paula Peixoto <[hidden email]>


signature.asc (307 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Installing headers

Jens Müller
Tiago de Paula Peixoto schrieb:
> But in the case of the graphml reader, you need only two files:
> graphml.cpp and graphml.hpp. Those two are disconnect from the rest of
> the program, since they were meant to be included back into BGL, and you
> can just treat them as such.

In graphml.hpp, line 121, make_pair should be std::make_pair, I think.

At least g++ complains.


Reply | Threaded
Open this post in threaded view
|

Re: Installing headers

Tiago de Paula Peixoto
On 10/10/2006 12:47 PM, Jens Müller wrote:
> Tiago de Paula Peixoto schrieb:
>> But in the case of the graphml reader, you need only two files:
>> graphml.cpp and graphml.hpp. Those two are disconnect from the rest of
>> the program, since they were meant to be included back into BGL, and you
>> can just treat them as such.
>
> In graphml.hpp, line 121, make_pair should be std::make_pair, I think.
>
> At least g++ complains.

Yes, thanks. It's fixed now in svn.

Take care.
--
Tiago de Paula Peixoto <[hidden email]>


signature.asc (307 bytes) Download Attachment