I looked at my patch again and realized it breaks things for non-Windows.
Attached is a revised patch that should actually fix things.
-Matthew
On Tuesday, February 11, 2014 10:45:33 PM UTC-5, Tduell wrote:
>
> On Wed, 12 Feb 2014 10:20:03 +1100, Bruno Postle
> <[email protected]<javascript:>>
> wrote:
>
> >
> > I can't check from here, but I'm not sure hg import will work with this
>
> > diff, probably something like this should do it:
> >
> > patch -p1 < ../libpano-msvc-patch.diff
> >
>
> That worked OK, thanks.
>
> Cheers,
> --
> Regards,
> Terry Duell
>
--
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/hugin-ptx/cf59b9fb-044a-4138-bc68-d2d8ac12daac%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
diff -r 9133a9949ad2 math.c
--- a/math.c Tue Feb 11 20:06:01 2014 -0500
+++ b/math.c Wed Feb 12 11:14:25 2014 -0500
@@ -52,6 +52,7 @@
//------------------------- Some auxilliary math functions --------------------------------------------
// atanh is not available on MSVC until Visual Studio 2012. Use the atanh routine from gsl.
+#ifdef _MSC_VER
#if _MSC_VER < 1700
#define GSL_DBL_EPSILON 2.2204460492503131e-16
@@ -95,6 +96,7 @@
}
}
#endif
+#endif
void matrix_mult( double m[3][3], double vector[3] )
{