← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Make destructor of NewParameter virtual

 

Ok, I refreshed my boost.pc, but I still get this for one of the demos:

/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
dolfin/libdolfin.so: undefined reference to `boost::program_options::options_description::m_default_line_length' dolfin/libdolfin.so: undefined reference to `boost::program_options::detail::cmdline::set_additional_parser(boost::function1<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>)'
collect2: ld returned 1 exit status
scons: *** [demo/quadrature/cpp/demo] Error 1
scons: building terminated because of errors.
demo/quadrature/cpp/demo failed: Error 1

- Shawn

On Mon, 11 May 2009, Harish Narayanan wrote:

Shawn Walker wrote:
I removed it, but now it doesn't know where to find boost.  i.e. it won't
auto generate the boost.pc file.  I seem to remember hand writing this,
but this was so long ago that I forgot.  arghh...

Does anyone know what to do?

Try calling scons with withBoostDir=/where/your/boost/lives

Harish



Follow ups

References