|
From: | Piotr Stanczyk |
Subject: | Re: [Openexr-devel] [Half] HalfTest Failure |
Date: | Wed, 24 Apr 2013 23:22:55 +0000 |
hmm - what hardware are you running this on?
From: openexr-devel-bounces+address@hidden [openexr-devel-bounces+address@hidden on behalf of Peshala Pahalawatta address@hidden
Sent: 24 April 2013 16:14 To: address@hidden Subject: [Openexr-devel] [Half] HalfTest Failure I have downloaded ILMBase_2.0.0 and compiled it on Visual Studio 2005. I get an error message when running HalfTest saying, HalfTest.exe has stopped working, after the following lines: 1>Running HalfTest unit tests... 1>testing type half: 1>size and alignment 1>sizeof (half) = 2 1>alignof (half) = 2 1>ok 1>basic arithmetic operations: 1>f1 = 1, f2 = 2, h1 = -27.1875, h2 = -19.1875
The problem seems to be in assert (h1 == 3) on Line 30 of testArithmetic.cpp where it does _toFloat[_h] with _h = 52940, and _toFloat[52940] is not actually available. I’m not completely sure how _toFloat is populated. The compiler has created a toFloat.h and eLut.h file in the Half directory, so the tables seem to be already available. Any advice on this would be much appreciated.
Best regards, Pesh
|
[Prev in Thread] | Current Thread | [Next in Thread] |