[Lemon-user] Installing Lemon into Eclipe (Omnet Environment)

Jens Buysse jens.buysse at intec.ugent.be
Thu Jun 16 17:22:11 CEST 2011


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



More information about the Lemon-user mailing list