Re: Halftest not working

Piotr Stanczyk <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <95F01873F66DA54DAD2734EEBF98F86C011098CD1B@mailbox09.lucas.alllucas.com>
Hi Sean,

Did you get anywhere with this?

Thanks

- Piotr
________________________________
From: [email protected] [[email protected]] on behalf of Sean Y Chen [[email protected]]
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 <[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
https://lists.nongnu.org/mailman/listinfo/openexr-devel




--
check out www.pointcloud9.com<http://www.pointcloud9.com>

Sebastian Elsner - Pipeline Technical Director - RISE

t: +49 30 20180300<tel:%2B49%2030%2020180300> [email protected]<mailto:[email protected]>
f: +49 30 61651074<tel:%2B49%2030%2061651074> www.risefx.com<http://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
[email protected]<mailto:[email protected]>
https://lists.nongnu.org/mailman/listinfo/openexr-devel

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.