|
Boost : |
From: Paul Masquelier (paul_at_[hidden])
Date: 2003-09-11 08:28:24
Indeed, managed code should be disabled, and then everything works fine
-----Original Message-----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]]On Behalf Of Vladimir Prus
Sent: donderdag 11 september 2003 15:18
To: boost_at_[hidden]
Subject: [boost] Re: topological sort example
Paul Masquelier wrote:
> I am trying out the example of topological sort topo_sort.cpp (under
> libs\graph\example) under VisualStudio.Net;
>
> I made a console application, added the source text of topo_sort.cpp to
> the generated file and added the boost-path to the include path;
> Building is no problem, running the example gives this exception (which
> suggests that, contrary to what I read, including the header is not
> sufficient ??) :
>
> Additional information: Could not load type
>
boost.vec_adj_list_impl<boost::adjacency_list<boost::vecS,boost::vecS,boost:
> :directedS,boost::property<enum boost::vertex_color_t,enum
>
[...]
> ty<enum boost::vertex_color_t,eb422f195 from assembly TopoTest,
> Version=1.0.1349.14612, Culture=neutral, PublicKeyToken=null.
In theory, including headers should be sufficient. And the error above makes
no sense to me. Probably, this is some non-standard feature of VC.NET (like
Managed C++). Try disabling all non-standard options in IDE.
HTH,
Volodya
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk