Ticket #11132 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

linking error with boost 1.56+

Reported by: Steven Hahn Owned by: Steven Hahn
Priority: blocker Milestone: Release 3.4
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Ross Whitfield

Description

ticket #10904 introduces a number of linking errors because boost forward declares operator<<.

Undefined symbols for architecture x86_64:

"std::1::basic_ostream<char, std::1::char_traits<char> >& boost::operator<<<char, std::1::char_traits<char>, double>(std::1::basic_ostream<char, std::1::char_traits<char> >&, boost::optional<double> const&)", referenced from:

testing::internal::FunctionMockerBase<void (Mantid::Kernel::V3D, boost::optional<double>)>::UntypedDescribeUninterestingCall(void const*, std::1::basic_ostream<char, std::1::char_traits<char> >*) const in PeakTransformQSampleTest.cpp.o testing::internal::FunctionMockerBase<void (Mantid::Kernel::V3D, boost::optional<double>)>::UntypedPrintArgs(void const*, std::1::basic_ostream<char, std::1::char_traits<char> >*) const in PeakTransformQSampleTest.cpp.o void testing::internal::TuplePrefix<2ul>::ExplainMatchFailuresTo<std::__1::tuple<testing::Matcher<Mantid::Kernel::V3D>, testing::Matcher<boost::optional<double> > >, std::1::tuple<Mantid::Kernel::V3D, boost::optional<double> > >(std::1::tuple<testing::Matcher<Mantid::Kernel::V3D>, testing::Matcher<boost::optional<double> > > const&, std::1::tuple<Mantid::Kernel::V3D, boost::optional<double> > const&, std::1::basic_ostream<char, std::1::char_traits<char> >*) in PeakTransformQSampleTest.cpp.o testing::internal::FunctionMockerBase<void (Mantid::Kernel::V3D, boost::optional<double>)>::UntypedDescribeUninterestingCall(void const*, std::1::basic_ostream<char, std::1::char_traits<char> >*) const in PeakTransformQLabTest.cpp.o testing::internal::FunctionMockerBase<void (Mantid::Kernel::V3D, boost::optional<double>)>::UntypedPrintArgs(void const*, std::1::basic_ostream<char, std::1::char_traits<char> >*) const in PeakTransformQLabTest.cpp.o void testing::internal::TuplePrefix<2ul>::ExplainMatchFailuresTo<std::__1::tuple<testing::Matcher<Mantid::Kernel::V3D>, testing::Matcher<boost::optional<double> > >, std::1::tuple<Mantid::Kernel::V3D, boost::optional<double> > >(std::1::tuple<testing::Matcher<Mantid::Kernel::V3D>, testing::Matcher<boost::optional<double> > > const&, std::1::tuple<Mantid::Kernel::V3D, boost::optional<double> > const&, std::1::basic_ostream<char, std::1::char_traits<char> >*) in PeakTransformQLabTest.cpp.o testing::internal::FunctionMockerBase<void (Mantid::Kernel::V3D, boost::optional<double>)>::UntypedDescribeUninterestingCall(void const*, std::1::basic_ostream<char, std::1::char_traits<char> >*) const in PeakTransformHKLTest.cpp.o ...

ld: symbol(s) not found for architecture x86_64

Change History

comment:1 Changed 6 years ago by Steven Hahn

Refs #11132. fix boost linking errors.

Changeset: ee1e6ddd59c519712fad6cd526c2433fdee84e41

comment:2 Changed 6 years ago by Steven Hahn

  • Status changed from new to verify
  • Resolution set to fixed

This is being verified as pull request #257.

comment:3 Changed 6 years ago by Ross Whitfield

  • Status changed from verify to verifying
  • Tester set to Ross Whitfield

comment:4 Changed 6 years ago by Ross Whitfield

  • Status changed from verifying to closed

Merge pull request #257 from mantidproject/11132_boost_linking_errors

Fix linking errors with boost 1.56+

Full changeset: 14fce0d4bdbbdef9eb060bd6d71054be19e30194

comment:5 Changed 5 years ago by Nick Draper

Somehow these slipped through without a resolution. Set to Fixed.

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11971

Note: See TracTickets for help on using tickets.