No subject
Tue May 21 07:27:26 CEST 2013
I have the feeling that in fact nothing is wrong with your Eclipe
configuration, but instead there is some syntax error in your code using
LEMON.
Unfortunately, GNU C++ sometimes gives very cryptic error messages.
For further evaluation, please send part of the you code triggering this
error. It would be even better if you were able to send a short single
self containing .cc file producing this error.
Regards,
Alpar
On Thu, 2011-06-16 at 17:22 +0200, Jens Buysse wrote:
> Dear all,
>
> I'm trying to use the lemon system into a simulator I'm developing.
> For this I'm using Omnetpp which is accompanied in a Eclipse IDE.
>
> Does anybody have any experience in incorporating this into the
> IDE? The /usr/local/include dir is already added to the include paths
> and the /usr/local/lib (where I found the lemon lib) is also added.
>
> When I compile I get the following exception:
>
>
> n file included from /usr/local/include/lemon/list_graph.h:28:0,
> from src/Network/PCE_CHILD.h:31,
> from src/Network/PCE_CHILD.cc:16:
> /usr/local/include/lemon/bits/graph_extender.h: In member function
> âlemon::GraphExtender<Base>::Edge
> lemon::GraphExtender<Base>::addEdge(lemon::GraphExtender<Base>::Node&,
> lemon::GraphExtender<Base>::Node&) [with Base = lemon::ListGraphBase,
> lemon::GraphExtender<Base>::Edge = lemon::ListGraphBase::Edge,
> lemon::GraphExtender<Base>::Node = lemon::ListGraphBase::Node]â:
> /usr/local/include/lemon/list_graph.h:1227:22: instantiated from here
> /usr/local/include/lemon/bits/graph_extender.h:688:7: error: no matching
> function for call to
> âlemon::AlterationNotifier<lemon::GraphExtender<lemon::ListGraphBase>,
> lemon::ListGraphBase::Arc>::add(cEnvir&)â
> /usr/local/include/lemon/bits/alteration_notifier.h:352:10: note:
> candidates are: void lemon::AlterationNotifier<_Container,
> _Item>::add(const Item&) [with _Container =
> lemon::GraphExtender<lemon::ListGraphBase>, _Item =
> lemon::ListGraphBase::Arc, Item = lemon::ListGraphBase::Arc]
> /usr/local/include/lemon/bits/alteration_notifier.h:372:10: note: void
> lemon::AlterationNotifier<_Container, _Item>::add(const
> std::vector<_Item>&) [with _Container =
> lemon::GraphExtender<lemon::ListGraphBase>, _Item =
> lemon::ListGraphBase::Arc]
>
> Can somebody help me?
>
> Kind regards
>
> Jens
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
>
More information about the Lemon-user
mailing list