Hi all,
I'm trying to compile Cufflinks 2.0.2 using gcc 4.7 under Ubuntu 12.10 but I'm encountering a compiler error:
In file included from ./lemon/list_graph.h:26:0,
from ./lemon/dfs.h:26,
from ./lemon/topology.h:22,
from assemble.cpp:19:
./lemon/bits/base_extender.h: In instantiation of ‘lemon::BidirBpUGraphExtender<Base>::Node lemon::BidirBpUGraphExtender<Base>::source(const UEdge&) const [with Base = lemon::SmartBpUGraphBase; lemon::BidirBpUGraphExtender<Base>::Node = lemon::SmartBpUGraphBase::Node; lemon::BidirBpUGraphExtender<Base>::UEdge = lemon::SmartBpUGraphBase::UEdge]’:
assemble.cpp:258:36: required from here
./lemon/bits/base_extender.h:362:21: error: ‘aNode’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
./lemon/bits/base_extender.h:362:21: note: declarations in dependent base ‘lemon::SmartBpUGraphBase’ are not found by unqualified lookup
...
I came across a bug report in Debian for Cufflinks 1.3.x from May 2012 which basically describes the same problem I'm having:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672744
Does anyone know of a work-around to fix it for 2.x? Incidentally, I have a slightly older system running Ubuntu 12.04 and that compiles Cufflinks with no problems. But that uses gcc 4.6 . So, gcc 4.7 (or something that it depends on?) is disallowing something that was previously permitted.
If anyone has an idea on how to fix this problem, please let me know. Thanks!
Ray
I'm trying to compile Cufflinks 2.0.2 using gcc 4.7 under Ubuntu 12.10 but I'm encountering a compiler error:
In file included from ./lemon/list_graph.h:26:0,
from ./lemon/dfs.h:26,
from ./lemon/topology.h:22,
from assemble.cpp:19:
./lemon/bits/base_extender.h: In instantiation of ‘lemon::BidirBpUGraphExtender<Base>::Node lemon::BidirBpUGraphExtender<Base>::source(const UEdge&) const [with Base = lemon::SmartBpUGraphBase; lemon::BidirBpUGraphExtender<Base>::Node = lemon::SmartBpUGraphBase::Node; lemon::BidirBpUGraphExtender<Base>::UEdge = lemon::SmartBpUGraphBase::UEdge]’:
assemble.cpp:258:36: required from here
./lemon/bits/base_extender.h:362:21: error: ‘aNode’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
./lemon/bits/base_extender.h:362:21: note: declarations in dependent base ‘lemon::SmartBpUGraphBase’ are not found by unqualified lookup
...
I came across a bug report in Debian for Cufflinks 1.3.x from May 2012 which basically describes the same problem I'm having:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672744
Does anyone know of a work-around to fix it for 2.x? Incidentally, I have a slightly older system running Ubuntu 12.04 and that compiles Cufflinks with no problems. But that uses gcc 4.6 . So, gcc 4.7 (or something that it depends on?) is disallowing something that was previously permitted.
If anyone has an idea on how to fix this problem, please let me know. Thanks!
Ray
Comment