openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] Halftest not working


From: Piotr Stanczyk
Subject: Re: [Openexr-devel] Halftest not working
Date: Mon, 21 Oct 2013 17:11:43 +0000

Hi Sean,

Did you get anywhere with this?

Thanks

- Piotr

From: openexr-devel-bounces+address@hidden [openexr-devel-bounces+address@hidden on behalf of Sean Y Chen address@hidden
Sent: 18 September 2013 20:41
To: openexr-devel
Subject: Re: [Openexr-devel] Halftest not working

Hrm, it's still not working. I added halfExport.h and had to resolve some issues like "max isn't defined", and include <algorithm>. I'm not sure if that would mess things up.

My output when I build/run halftest is 

basic arithmetic operations:
 f1 = 1, f2 = 2, h1 = 13.6875, h2 = 18.1719
 h1 = f1 + f2: 13.6875
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v120\Microsoft.CppCommon.targets(132,5): error MSB3073: The command "C:\Users\Sean\Downloads\ilmbase-2.0.1\ilmbase-2.0.1\vc\vc8\IlmBase\HalfTest\..\x64\Release\HalfTest.exe
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd" exited with code -1073741819.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

obviously since in the code it's doing half h1(3), something is not right. I checked toFloat.h and eLut.h with premade ones on someone's github, and they match so that isn't the problem. I don't know if it makes a difference that I am doing this on a Surface Pro, and have converted it to vs2013.

If anyone has any other ideas I'd appreciate it.

S

Sean Y Chen


On Wed, Sep 18, 2013 at 11:12 AM, Sebastian Elsner <address@hidden> wrote:
There is a branch which fixed that and a pull request. The owner is epu the branch is github-60.
I don't know how far along the integration process of the fixes into the development branch is....


On 09/18/2013 08:22 AM, Sean Y Chen wrote:
On further inspection, half(3) does not give me 3. It gives me some random number like 13.6897. dunno what's going on.

Sean

Sean Y Chen


On Wed, Sep 18, 2013 at 2:17 AM, Sean Y Chen <address@hidden> wrote:
Hi,

When I try to build IlmBase for x64, the compilation works. However, when I run halftest.exe, it seems that the floats are not getting assigned to the half's correctly. testarithmetic fails on the first asset ( h1 = f1 + f2;   assert (h1 == 3); ) h1 still shows its original value (f1 + f2 is not getting stored into h1).

I'm using vs2013 preview on a win 8 x64 machine. 

Thanks,
Sean



_______________________________________________
Openexr-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/openexr-devel


-- 
check out www.pointcloud9.com

Sebastian Elsner - Pipeline Technical Director - RISE

t: +49 30 20180300 address@hidden
f: +49 30 61651074 www.risefx.com

RISE FX GmbH
Schlesische Strasse 28, Aufgang B, 10997 Berlin
c/o action concept, An der Hasenkaule 1-7, 50354 Hürth
Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B

_______________________________________________
Openexr-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/openexr-devel



reply via email to

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