Boost logo

Boost :

From: hermann_at_[hidden]
Date: 2024-08-09 21:38:58


On 2024-08-09 22:55, Robert Ramey via Boost wrote:
-->%--
> But no matter. Here is what I would like to be able to do and I think
> lots of library users would also.
>
> a) Find a library I want to use, fix, enhance, inspect, try out, or
> whatever.
>
> b) download the library via github clone.
>
https://github.com/boostorg/boost/tree/master/libs

> c) find one my machine all the source, notes, documentation, examples,
> tests, etc that I need to use/evaluate the library.
>
I did that (I forked graph because I want to add), but you can clone as
well.
All is there, doc, examples, test, ...
Here are files I changed or will add to doc, test, later example, ...

$ git status .
On branch develop
Your branch is up to date with 'origin/develop'.

Changes not staged for commit:
   (use "git add <file>..." to update what will be committed)
   (use "git restore <file>..." to discard changes in working directory)
        modified: include/boost/graph/detail/adjacency_list.hpp

Untracked files:
   (use "git add <file>..." to include in what will be committed)
        doc/planar_vertex_coloring.html
        example/.king_ordering.cpp.swp
        example/figs/dijkstra-eg.dot
        example/tst.cpp
        include/boost/graph/planar_vertex_coloring.hpp
        test/planar_vertex_coloring.cpp

no changes added to commit (use "git add" and/or "git commit -a")
$

> d) Once I've done the above, I would like to be able to just use the
> library on my local machine without necessarily being connected to the
> net. I don't want to have to build anything, install more tools or
> whatever.
>
I first installed boost_1_85_0 into my home.
Then I made it available:

$ ls -l /usr/include | grep boost
lrwxrwxrwx 1 root root 10 Aug 1 16:07 boost -> boost_1.85
drwxr-xr-x 129 root root 12288 Mar 9 23:56 boost_1.74
lrwxrwxrwx 1 root root 27 Aug 1 16:06 boost_1.85 ->
/home/pi/boost_1_85_0/boost
$

Then I cloned my fork of graph into my home.
And made it work with 1_85_0:

$ ls -l /usr/include/boost/ | grep "graph "
lrwxrwxrwx 1 pi pi 35 Aug 7 17:11 graph ->
/home/pi/graph/include/boost/graph/
$

I am new to Boost development.
So I am not sure whether this is the most elegant way to work with
graph.
But it works well for me, and my fork allows me to develop as I want:
https://github.com/Hermann-SW/graph

Regards,

Hermann.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk