Looks like this was code added in the past few days (I see it as rev 610 being when it was introduced). It appears rint() is only implemented in GCC - MSVC math.h headers do not include it.
Some quick Googling shows: http://coding.derkeiler.com/Archive/C_CPP/comp.lang.c/2007-08/msg03695.html and the followup http://coding.derkeiler.com/Archive/C_CPP/comp.lang.c/2007-08/msg03917.html For those concerned about licensing/where the source comes from, an alternative (non-x64 friendly) version is available at http://websvn.kde.org/trunk/kdesupport/kdewin/include/msvc/math.h?view=marku p Or another, which appears to be correct (although non-ASM), and would be fine for both x32 and x64 compiles http://www.eecg.utoronto.ca/~aamodt/sourceware/MSVC.html I haven't built Enblend in the past month or so, so sorry that I can't be more specific help. > -----Original Message----- > From: Rotareneg [mailto:rotare...@gmail.com] > Sent: Sunday, November 15, 2009 10:20 PM > To: hugin and other free panoramic software > Subject: [hugin-ptx] Re: Can't build Enblend under Windows > > Thanks, that fixed that problem. Unfortunately there are more > problems. First there was an error about "slist" which I fixed by > building STLport. Now I'm stuck at: > > 1>c:\huginbase\enblend\src\mask.h(190) : error C3861: 'rint': > identifier not found > > On Nov 15, 6:24 pm, "Ryan Sleevi" <ryan+hu...@sleevi.com> wrote: > > This is caused when PACKAGE_NAME_B is defined, as it expects automake > to > > have replaced the symbolic @UINT8_T@ with the actual type. However, > on > > Windows, you don't have Automake, so this doesn't work. > > > > If you visit the Wiki page, you can see the instructions for how to > do this > > -http://wiki.panotools.org/Hugin_SDK_%28MSVC_2008%29- including the > > necessary patch files - > http://wiki.panotools.org/Hugin_SDK_%28MSVC_2008%29#Diff_Files- which I > > linked to previously, directly, > athttp://sourceforge.net/tracker/?func=detail&aid=2789320&group_id=7750 > ... > > 550443 > > > > You specifically want the lcms patch. This undefines the symbolic > > PACKAGE_NAME_B, which then forces it to go down the codepath > appropriate for > > Windows, which is contained on lines 220-223. > > -- > You received this message because you are subscribed to the Google > Groups "hugin and other free panoramic software" group. > A list of frequently asked questions is available at: > http://wiki.panotools.org/Hugin_FAQ > To post to this group, send email to hugin-ptx@googlegroups.com > To unsubscribe from this group, send email to hugin- > ptx+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/hugin-ptx -- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx