Le lundi 29 août 2005 à 10:58 -0500, Matei Stroila a écrit :
Using Visual Studio 7.1 and boost_1_33_0, I am getting the following undefined symbol while trying to run an application that uses the interval_lib:
error LNK2019: unresolved external symbol _rint referenced in function "public: static double __cdecl boost::numeric::interval_lib::detail::x86_rounding::to_int(double const &)" (?to_int@x86_rounding@detail@interval_lib@numeric@boost@@SANABN@Z)
In fact, there has been another report about rint on Windows not too long ago. In that case, rint was present, but its implementation was not standard-compliant. In your case, it seems it is completely missing. So I'm changing the title of the mail in hope that somebody can shed some light on what the support of rint with Microsoft compilers is. What is happening with this function? Anyway, back to your post. You may try to adapt the workaround I suggested in the followup of the previous bug-report about rint: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1246358&group_id=7586 Best regards, Guillaume