[Boost-bugs] Linker error on windows

Subject: [Boost-bugs] Linker error on windows
From: Lars Mogensen (larsvmogensen_at_[hidden])
Date: 2010-09-15 11:30:41


I am using BOOST to do math and have not been able to get the
"findroot_demo.cpp" example of root finding to work. There seem to be a
reference to rint(), which is not implemented in the C++ library for
windows. How can I solve this - my understanding of BOOST is that it is

 1>------ Build started: Project: boostfindzero, Configuration: Debug Win32
1>findroot_demo.obj : error LNK2019: unresolved external symbol _rint
referenced in function "public: static double __cdecl
boost::numeric::interval_lib::detail::x86_rounding::to_int(double const &)"
1>D:\dokumenter\lvm_AM\Visual Studio
2008\Projects\boostfindzero\Debug\boostfindzero.exe : fatal error LNK1120: 1
unresolved externals
1>Build log was saved at "file://d:\dokumenter\lvm_AM\Visual Studio
1>boostfindzero - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Thanks in advance.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC