Compiling boost examples
I have installed BGL on my linux machine and I was wondering, how do I compile the examples, I wanted to compile the dijkstra's example but couldn't find any make files and simply doing g++ dijkstra***.cpp doesn't do the trick. (i placed the hpp files so that the example can easily access them) Thanks -- Saqib bin Sohail University of Colorado at Boulder (303) 484 8381
On Tue, 7 Dec 2004 08:42:55 -0600, Saqib bin Sohail
I have installed BGL on my linux machine and I was wondering, how do I compile the examples,
I think it should be just a matter of running bjam from $BOOST_ROOT/libs/graph/example -- Caleb Epstein caleb dot epstein at gmail dot com
I might sound very stupid but honestly I have no idea how bjam works,
I tried to run the command bjam dijkstra-example in that directory
that you mentioned but it gave me somethings but i still don't know if
it has compiled or not,
I am not even good at makefile utility and bjam seems a bit too much for me :)
anyway I hope you can tell me a bit more then just saying run bjam
I would be extremely obliged.
Thanks
On Tue, 7 Dec 2004 13:57:15 -0500, Caleb Epstein
On Tue, 7 Dec 2004 08:42:55 -0600, Saqib bin Sohail
wrote: I have installed BGL on my linux machine and I was wondering, how do I compile the examples,
I think it should be just a matter of running bjam from $BOOST_ROOT/libs/graph/example
-- Caleb Epstein caleb dot epstein at gmail dot com _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Saqib bin Sohail PhD ECE University of Colorado at Boulder (303) 484 8381
I've compiled and run the serialization/example code. Your problem may be where the results are placed. I found them in $BOOST_ROOT/bin/boost/libs/serialization/example. By the way, you can find executables with: find . -type f -perm +111 on linux. Saqib bin Sohail wrote:
I might sound very stupid but honestly I have no idea how bjam works, I tried to run the command bjam dijkstra-example in that directory that you mentioned but it gave me somethings but i still don't know if it has compiled or not,
I am not even good at makefile utility and bjam seems a bit too much for me :)
anyway I hope you can tell me a bit more then just saying run bjam I would be extremely obliged.
Thanks
On Tue, 7 Dec 2004 13:57:15 -0500, Caleb Epstein
wrote: On Tue, 7 Dec 2004 08:42:55 -0600, Saqib bin Sohail
wrote: I have installed BGL on my linux machine and I was wondering, how do I compile the examples,
I think it should be just a matter of running bjam from $BOOST_ROOT/libs/graph/example
-- Caleb Epstein caleb dot epstein at gmail dot com _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Caleb Epstein
-
Jeffrey Holle
-
Saqib bin Sohail