openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] [Half] HalfTest Failure


From: Peshala Pahalawatta
Subject: [Openexr-devel] [Half] HalfTest Failure
Date: Wed, 24 Apr 2013 16:14:41 -0700

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

 

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]