Boost logo

Boost Users :

From: Kim Kuen Tang (kuentang_at_[hidden])
Date: 2008-08-30 13:55:03


Hi all,

i've got linking problem (both in visual studio 2005 and 2008 in vista
and boost 1.36) with this piece of code.

boost::function<double
(double)>h=boost::bind(std::multiplies<double>(),boost::lambda::_1,5.0);

If i now write std::cout<<h(3.0) the compilation fails with the
following error:
visual studio 2005: error LNK2001: Nicht aufgelöstes externes Symbol
""void __cdecl boost::assertion_failed(char const *,char const *,char
const *,long)" (?assertion_failed_at_boost@@YAXPBD00J_at_Z)"

and visual studio 2008:
error LNK2001: unresolved external symbol "void __cdecl
boost::assertion_failed(char const *,char const *,char const *,long)"
(?assertion_failed_at_boost@@YAXPBD00J_at_Z)

But compilation is ok.

with regards,
Kim Tang


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net