[Lemon-user] compiling lemon on MacOS 10.8.5
Alpar Juttner
alpar at cs.elte.hu
Thu Jan 9 11:59:34 CET 2014
Hi,
This is a known and fixed issue, see
https://lemon.cs.elte.hu/trac/lemon/ticket/471
It will be part of the upcoming bugfix release. Till then please use
eiter the tip version of the 1.3 release branch
( https://lemon.cs.elte.hu/hg/lemon#1.3 )
or the latest development version ( https://lemon.cs.elte.hu/hg/lemon )
Regards,
Alpar
On Wed, 2014-01-08 at 18:45 +0000, Robert Johannes Langenberg wrote:
> Hi,
>
> I'm having problems to compile lemon on MacOS 10.8.5. The log is below. Is MacOS supported?
>
> Thanks!
>
> Best regards,
> Robert Langenberg
>
> $ cmake ..
> -- The C compiler identification is Clang 4.0.0
> -- The CXX compiler identification is Clang 4.0.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Found PythonInterp: /usr/bin/python (found version "2.7.2")
> -- Could NOT find Wget (missing: WGET_EXECUTABLE)
> -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
> -- Could NOT find Ghostscript (missing: GHOSTSCRIPT_EXECUTABLE)
> -- Could NOT find GLPK (missing: GLPK_LIBRARY GLPK_INCLUDE_DIR GLPK_PROPER_VERSION_FOUND) (Required is at least version "4.33")
> -- Could NOT find ILOG (missing: ILOG_CPLEX_LIBRARY ILOG_CPLEX_INCLUDE_DIR)
> -- Could NOT find COIN (missing: COIN_INCLUDE_DIR COIN_CBC_LIBRARY COIN_CBC_SOLVER_LIBRARY COIN_CGL_LIBRARY COIN_CLP_LIBRARY COIN_COIN_UTILS_LIBRARY COIN_OSI_LIBRARY COIN_OSI_CBC_LIBRARY COIN_OSI_CLP_LIBRARY)
> -- Could NOT find SOPLEX (missing: SOPLEX_LIBRARY SOPLEX_INCLUDE_DIR)
> -- Looking for sys/types.h
> -- Looking for sys/types.h - found
> -- Looking for stdint.h
> -- Looking for stdint.h - found
> -- Looking for stddef.h
> -- Looking for stddef.h - found
> -- Check size of long long
> -- Check size of long long - done
> -- Looking for include file pthread.h
> -- Looking for include file pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - found
> -- Found Threads: TRUE
> -- Copy doc from source tree
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /build/path/lemon/lemon-1.3/build
>
>
>
> $ make
> Scanning dependencies of target lemon
> [ 7%] Building CXX object lemon/CMakeFiles/lemon.dir/arg_parser.cc.o
> /build/path/lemon/lemon-1.3/lemon/arg_parser.cc:224:20: warning: unused variable 's' [-Wunused-variable]
> Opts::iterator s = _opts.find(syn);
> ^
> 1 warning generated.
> [ 15%] Building CXX object lemon/CMakeFiles/lemon.dir/base.cc.o
> [ 23%] Building CXX object lemon/CMakeFiles/lemon.dir/color.cc.o
> [ 30%] Building CXX object lemon/CMakeFiles/lemon.dir/lp_base.cc.o
> [ 38%] Building CXX object lemon/CMakeFiles/lemon.dir/lp_skeleton.cc.o
> [ 46%] Building CXX object lemon/CMakeFiles/lemon.dir/random.cc.o
> [ 53%] Building CXX object lemon/CMakeFiles/lemon.dir/bits/windows.cc.o
> Linking CXX static library libemon.a
> [ 53%] Built target lemon
> Scanning dependencies of target arg_parser_demo
> [ 61%] Building CXX object demo/CMakeFiles/arg_parser_demo.dir/arg_parser_demo.cc.o
> Linking CXX executable arg_parser_demo
> [ 61%] Built target arg_parser_demo
> Scanning dependencies of target graph_to_eps_demo
> [ 69%] Building CXX object demo/CMakeFiles/graph_to_eps_demo.dir/graph_to_eps_demo.cc.o
> In file included from /build/path/lemon/lemon-1.3/demo/graph_to_eps_demo.cc:34:
> /build/path/lemon/lemon-1.3/lemon/graph_to_eps.h:225:12: error: dependent using declaration resolved to
> type without 'typename'
> using T::NodeTextColorType;
> ^
> /build/path/lemon/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").
> ^
> /build/path/lemon/lemon-1.3/lemon/graph_to_eps.h:127:8: note: target of using declaration
> enum NodeTextColorType
> ^
> /build/path/lemon/lemon-1.3/lemon/graph_to_eps.h:225:12: error: dependent using declaration resolved to
> type without 'typename'
> using T::NodeTextColorType;
>
> … more building, more errors
> _______________________________________________
> 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