Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost graph issues with Xcode 4.4
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2012-08-27 11:40:35


On Aug 27, 2012, at 7:16 AM, Jon McCormack <jon.mccormack_at_[hidden]> wrote:

> Hello,
> I'm trying to use boost 1.51 graph library with Xcode 4.4 and running into problems. While boost will build fine, when I try some simple graph code as per the documentation:
> #include <iostream> // for std::cout
> #include <utility> // for std::pair
> #include <algorithm> // for std::for_each
> #include <boost/graph/graph_traits.hpp>
> #include <boost/graph/adjacency_list.hpp>
> #include <boost/graph/dijkstra_shortest_paths.hpp>
>
> using namespace boost;
>
> int main(int,char*[]) {
> // create a typedef for the Graph type
> typedef adjacency_list<vecS, vecS, bidirectionalS> Graph;
> return 0;
> }

I stuffed this code into a source file and compiled it with:
$ clang --version
Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.1.0
Thread model: posix
$ clang++ -I /Volumes/EyeFive/Sources/boost/release junk.cpp
$

No errors on Mtn Lion with Xcode 4.4.1 installed.
I think we need some more information here.

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net