← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] merge

 

On Monday 11 May 2009 11:30:07 Garth N. Wells wrote:
> DOLFIN wrote:
> > One or more new changesets pushed to the primary dolfin repository.
> > A short summary of the last three changesets is included below.
> >
> > changeset:   6121:ef168c38f659908037560a83619d452d7e97050e
> > tag:         tip
> > parent:      6120:76bf86cf514eb0dbc88861c3ae3e6f113a80141a
> > parent:      6119:469488eee5ee8787ba4738dcf0ab23fb6ed9a464
> > user:        Anders Logg <logg@xxxxxxxxx>
> > date:        Sun May 10 23:42:42 2009 +0200
> > files:
> > description:
> > merge
> >
> >
> > changeset:   6120:76bf86cf514eb0dbc88861c3ae3e6f113a80141a
> > parent:      6117:84edb07b28286a6ca33c399ad30d32b634b52ea9
> > user:        Anders Logg <logg@xxxxxxxxx>
> > date:        Sun May 10 23:40:32 2009 +0200
> > files:       dolfin/parameter/NewParameter.cpp
> > dolfin/parameter/NewParameter.h dolfin/parameter/NewParameters.cpp
> > dolfin/parameter/NewParameters.h sandbox/misc/cpp/main.cpp description:
> > Implement parsing of command-line options using boost::program_options
>
> I'm getting all sorts of errors when linking demos (see start of
> messages below). Is boost.program_options a header-only library or is
> there some binary part of the library that's needed?

Before Johannes have included a check for this in the build system you need to 
set the linkerflag manualy. This will be included in the installed dolfin.pc 
file and compiling demos should then be ok.

  scons customLinkFlags=" -lboost_program_options"

Johan

> Garth
>
> dolfin/libdolfin.so: undefined reference to
> `boost::program_options::to_internal(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)'
> dolfin/libdolfin.so: undefined reference to
> `boost::program_options::detail::cmdline::run()'
> dolfin/libdolfin.so: undefined reference to `boost::program_options::arg'
> dolfin/libdolfin.so: undefined reference to
> `boost::program_options::variables_map::variables_map()'
>
> > changeset:   6119:469488eee5ee8787ba4738dcf0ab23fb6ed9a464
> > user:        "Johan Hake <hake@xxxxxxxxx>"
> > date:        Sun May 10 22:27:59 2009 +0200
> > files:       dolfin/swig/dolfin.i dolfin/swig/dolfin_common_pre.i
> > description:
> > %ignore Variable.str. This is covered by Variable.__str__ now.
> >
> > ----------------------------------------------------------------------
> > For more details, visit http://www.fenics.org/hg/dolfin
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev




References