Boost logo

Boost Users :

From: Kim Kuen Tang (kuentang_at_[hidden])
Date: 2008-08-30 14:16:01


ok, found the bug in my own code...

Thx for thinking about that anyway
Kim tang

Kim Kuen Tang schrieb:
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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