[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] Assertion error in line 52 of testQuarSlerp.cpp
From: |
Florian Kainz |
Subject: |
Re: [Openexr-devel] Assertion error in line 52 of testQuarSlerp.cpp |
Date: |
Wed, 10 Oct 2007 10:42:22 -0700 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20041207) |
Hi Michael,
if you have an older version of OpenEXR installed, try deleting its
header files (probably in /usr/local/include/OpenEXR) before building
OpenEXR 1.6.0.
The slerp() function was rewritten after the release of 1.4.0 in order
to improve its accuracy. If testQuatSlerp.cpp somehow picks up an old
version of ImathQuat.h, then the confidence test will fail. The error
limits in the test are too tight for the original slerp().
If removing older versions of OpenEXR doesn't help, then I'd be interested
in the following:
- Processor type
- Stack trace at the point where the assertion fails
- Values of q1, q2 and e in function compareQuats()
- Values of q1, q2, m, n and all local variables in testSlerp()
Florian
Michael Hayes wrote:
Hi guys,
I am trying to compile OpenEXR 1.6.0 on FreeBSD 6.2-STABLE, with no success on
the testing part. I can complete the build if I take the testing out of the
make, but otherwise, it exits with the following error:
Testing quaternion spherical linear interpolation
combinations of 90-degree rotations around x, y and z
Assertion failed: (equalWithAbsError (q1.v.x, q2.v.x, e)), function
compareQuats, file testQuatSlerp.cpp, line 52.
Abort trap
FAIL: ImathTest
===================
1 of 1 tests failed
===================
I hope someone can help me fix this, as I am rusty on my C++ and I am assuming
this means that somewhere the function is not coming up with a value that it
expects. Anyone up to the challenge?
-Michael Hayes
_______________________________________________
Openexr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/openexr-devel