[Lemon-user] Installation failure on Mac OS 10.9 Mavericks
Carlos Eduardo de Andrade
ce.andrade at gmail.com
Wed Nov 13 20:55:57 CET 2013
Hi Yongjia,
I had success installing on Mavericks but I used the Gnu gcc 4.8 from
macports to compile it.
Best,
Carlos
On Wed, Nov 13, 2013 at 12:46 PM, Yongjia Song <yjsong.pku at gmail.com> wrote:
> Hi all,
>
> I am trying to install lemon on Mac OS 10.9 (latest version), it went
> through the setup process until "make". Here is the error message I got when
> I type "make":
>
> [ 53%] Built target lemon
>
> [ 61%] Built target arg_parser_demo
>
> [ 69%] Building CXX object
> demo/CMakeFiles/graph_to_eps_demo.dir/graph_to_eps_demo.cc.o
>
> In file included from
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:34:
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:225:12: error:
>
> dependent using declaration resolved to type without 'typename'
>
> using T::NodeTextColorType;
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:85:3:
> note:
>
> in instantiation of template class
>
> 'lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>>'
>
> requested here
>
> graphToEps(g,"graph_to_eps_demo_out_1_pure.eps").
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:127:8: note:
>
> target of using declaration
>
> enum NodeTextColorType
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:225:12: error:
>
> dependent using declaration resolved to type without 'typename'
>
> using T::NodeTextColorType;
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:93:5:
> note:
>
> in instantiation of template class
>
>
> 'lemon::GraphToEps<lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::CoordsTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<lemon::dim2::Point<int>
>
> > > >' requested here
>
> coords(coords).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:127:8: note:
>
> target of using declaration
>
> enum NodeTextColorType
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:225:12: error:
>
> dependent using declaration resolved to type without 'typename'
>
> using T::NodeTextColorType;
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:110:5:
> note:
>
> in instantiation of template class
>
>
> 'lemon::GraphToEps<lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
> >::NodeColorsTraits<lemon::ComposeMap<lemon::Palette,
>
> lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<int> > > >'
>
> requested here
>
> nodeColors(composeMap(palette,colors)).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:127:8: note:
>
> target of using declaration
>
> enum NodeTextColorType
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:225:12: error:
>
> dependent using declaration resolved to type without 'typename'
>
> using T::NodeTextColorType;
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:137:5:
> note:
>
> in instantiation of template class
>
>
> 'lemon::GraphToEps<lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::NodeShapesTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<int>
>
> > >' requested here
>
> nodeShapes(shapes).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:127:8: note:
>
> target of using declaration
>
> enum NodeTextColorType
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:225:12: error:
>
> dependent using declaration resolved to type without 'typename'
>
> using T::NodeTextColorType;
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:152:18:
> note:
>
> in instantiation of template class
>
>
> 'lemon::GraphToEps<lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::NodeSizesTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<double>
>
> > >' requested here
>
> nodeScale(2).nodeSizes(sizes).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:127:8: note:
>
> target of using declaration
>
> enum NodeTextColorType
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:225:12: error:
>
> dependent using declaration resolved to type without 'typename'
>
> using T::NodeTextColorType;
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:170:5:
> note:
>
> in instantiation of template class
>
>
> 'lemon::GraphToEps<lemon::GraphToEps<lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::NodeSizesTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<double>
>
> >
>
>
>>::CoordsTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<lemon::dim2::Point<int>
>
> > > >' requested here
>
> coords(coords).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:127:8: note:
>
> target of using declaration
>
> enum NodeTextColorType
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:225:12: error:
>
> dependent using declaration resolved to type without 'typename'
>
> using T::NodeTextColorType;
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:201:5:
> note:
>
> in instantiation of template class
>
>
> 'lemon::GraphToEps<lemon::GraphToEps<lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::CoordsTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<lemon::dim2::Point<int>
>
> > >
>
>
>>::NodeTextsTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<int>
>
> > >' requested here
>
> nodeTexts(hcolors).nodeTextSize(.6).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:127:8: note:
>
> target of using declaration
>
> enum NodeTextColorType
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:340:41: error:
> no
>
> matching constructor for initialization of
>
>
> 'CoordsTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<lemon::dim2::Point<int>
>
> > >'
>
> return GraphToEps<CoordsTraits<X> >(CoordsTraits<X>(*this,x));
>
> ^ ~~~~~~~
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:93:5:
> note:
>
> in instantiation of function template specialization
>
> 'lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::coords<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<lemon::dim2::Point<int>
>
> > >' requested here
>
> coords(coords).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:331:5: note:
>
> candidate constructor not viable: no known conversion from
>
> 'lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>>'
>
> to 'const lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>' for 1st
>
> argument
>
> CoordsTraits(const T &t,const X &x) : T(t), _coords(x) {}
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:328:28: note:
>
> candidate constructor (the implicit copy constructor) not viable:
> requires
>
> 1 argument, but 2 were provided
>
> template<class X> struct CoordsTraits : public T {
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:438:45: error:
> no
>
> matching constructor for initialization of
>
> 'NodeColorsTraits<lemon::ComposeMap<lemon::Palette,
>
> lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<int> > >'
>
> return GraphToEps<NodeColorsTraits<X> >(NodeColorsTraits<X>(*this,x));
>
> ^ ~~~~~~~
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:110:5:
> note:
>
> in instantiation of function template specialization
>
> 'lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
> >::nodeColors<lemon::ComposeMap<lemon::Palette,
>
> lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<int> > >'
>
> requested here
>
> nodeColors(composeMap(palette,colors)).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:426:5: note:
>
> candidate constructor not viable: no known conversion from
>
> 'lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>>'
>
> to 'const lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>' for 1st
>
> argument
>
> NodeColorsTraits(const T &t,const X &x) : T(t), _nodeColors(x) {}
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:424:28: note:
>
> candidate constructor (the implicit copy constructor) not viable:
> requires
>
> 1 argument, but 2 were provided
>
> template<class X> struct NodeColorsTraits : public T {
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:369:45: error:
> no
>
> matching constructor for initialization of
>
>
> 'NodeShapesTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<int>
>
> >'
>
> return GraphToEps<NodeShapesTraits<X> >(NodeShapesTraits<X>(*this,x));
>
> ^ ~~~~~~~
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:137:5:
> note:
>
> in instantiation of function template specialization
>
> 'lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::nodeShapes<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<int>
>
> >' requested here
>
> nodeShapes(shapes).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:357:5: note:
>
> candidate constructor not viable: no known conversion from
>
> 'lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>>'
>
> to 'const lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>' for 1st
>
> argument
>
> NodeShapesTraits(const T &t,const X &x) : T(t), _nodeShapes(x) {}
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:355:28: note:
>
> candidate constructor (the implicit copy constructor) not viable:
> requires
>
> 1 argument, but 2 were provided
>
> template<class X> struct NodeShapesTraits : public T {
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:353:44: error:
> no
>
> matching constructor for initialization of
>
>
> 'NodeSizesTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<double>
>
> >'
>
> return GraphToEps<NodeSizesTraits<X> >(NodeSizesTraits<X>(*this,x));
>
> ^ ~~~~~~~
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:152:18:
> note:
>
> in instantiation of function template specialization
>
> 'lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::nodeSizes<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<double>
>
> >' requested here
>
> nodeScale(2).nodeSizes(sizes).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:344:5: note:
>
> candidate constructor not viable: no known conversion from
>
> 'lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>>'
>
> to 'const lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>' for 1st
>
> argument
>
> NodeSizesTraits(const T &t,const X &x) : T(t), _nodeSizes(x) {}
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:342:28: note:
>
> candidate constructor (the implicit copy constructor) not viable:
> requires
>
> 1 argument, but 2 were provided
>
> template<class X> struct NodeSizesTraits : public T {
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:340:41: error:
> no
>
> matching constructor for initialization of
>
>
> 'CoordsTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<lemon::dim2::Point<int>
>
> > >'
>
> return GraphToEps<CoordsTraits<X> >(CoordsTraits<X>(*this,x));
>
> ^ ~~~~~~~
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:170:5:
> note:
>
> in instantiation of function template specialization
>
>
> 'lemon::GraphToEps<lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::NodeSizesTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<double>
>
> >
>
>
>>::coords<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<lemon::dim2::Point<int>
>
> > >' requested here
>
> coords(coords).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:331:5: note:
>
> candidate constructor not viable: no known conversion from
>
>
> 'lemon::GraphToEps<lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::NodeSizesTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<double>
>
> > >' to 'const
>
> lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::NodeSizesTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<double>
>
> >' for 1st argument
>
> CoordsTraits(const T &t,const X &x) : T(t), _coords(x) {}
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:328:28: note:
>
> candidate constructor (the implicit copy constructor) not viable:
> requires
>
> 1 argument, but 2 were provided
>
> template<class X> struct CoordsTraits : public T {
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:384:44: error:
> no
>
> matching constructor for initialization of
>
>
> 'NodeTextsTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<int>
>
> >'
>
> return GraphToEps<NodeTextsTraits<X> >(NodeTextsTraits<X>(*this,x));
>
> ^ ~~~~~~~
>
> /Users/administrator/Downloads/lemon-1.3/demo/graph_to_eps_demo.cc:201:5:
> note:
>
> in instantiation of function template specialization
>
>
> 'lemon::GraphToEps<lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::CoordsTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<lemon::dim2::Point<int>
>
> > >
>
>
>>::nodeTexts<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<int>
>
> >' requested here
>
> nodeTexts(hcolors).nodeTextSize(.6).
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:373:5: note:
>
> candidate constructor not viable: no known conversion from
>
>
> 'lemon::GraphToEps<lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::CoordsTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<lemon::dim2::Point<int>
>
> > > >' to 'const
>
> lemon::GraphToEps<lemon::DefaultGraphToEpsTraits<lemon::ListDigraph>
>
>
>>::CoordsTraits<lemon::DigraphExtender<lemon::ListDigraphBase>::NodeMap<lemon::dim2::Point<int>
>
> > >' for 1st argument
>
> NodeTextsTraits(const T &t,const X &x) : T(t), _nodeTexts(x) {}
>
> ^
>
> /Users/administrator/Downloads/lemon-1.3/lemon/graph_to_eps.h:371:28: note:
>
> candidate constructor (the implicit copy constructor) not viable:
> requires
>
> 1 argument, but 2 were provided
>
> template<class X> struct NodeTextsTraits : public T {
>
> ^
>
> 13 errors generated.
>
> make[2]: *** [demo/CMakeFiles/graph_to_eps_demo.dir/graph_to_eps_demo.cc.o]
> Error 1
>
> make[1]: *** [demo/CMakeFiles/graph_to_eps_demo.dir/all] Error 2
>
> make: *** [all] Error 2
>
>
> I think it might be a compiler issue, but I don't have any clue where that
> could be. Is there any issue with older version of Mac OS as well? Thanks!
>
>
> Best,
>
>
> --
> Sincerely:
> SONG Yongjia(宋永佳)
>
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
>
--
Carlos Eduardo de Andrade
Institute of Computing -- UNICAMP
http://www.ic.unicamp.br/~andrade
http://www.loco.ic.unicamp.br
More information about the Lemon-user
mailing list