Hi Greg,
new/old head versions and different gcc versions do not matter.
The difference is still between 32bit and 64bit.
Printing out the pointer adress and first char before line 498 in ezxml.c
*
fprintf(stderr, " s = %p\n", s);
fprintf(stderr, " s[0] = %c\n", s[0]);
498 while (*s && *s != '<') s++; /* find first tag */
*
yields:
(on 32bit):*
s = 0xb76fe000
s[0] =
*(on 64bit):*
s = 0x7f1179377000
s[0] = <
*
It seems that the contents of the XML-File are not parsed correctly on the
32bit system.
Maybe you have some idea what/where the problem could be?
Best,
David
Am 24. April 2012 22:02 schrieb David Geisler-Moroder <
[email protected]>:
> Hi Greg,
>
> thanks for spotting my stupid mistake!!!
> A corrected orientation vector solves the "illegal argument" problems and
> thus everything
> works fine on the OpenSuse machine.
>
> However, the error "root tag missing" is still thrown at the Ubuntu
> machine. I did not have
> enough time today, but I'll try to compile the newest head
> - on the OpenSuse machine (and check if it still works)
> - on the Ubuntu machine using a newer version of gcc
> tomorrow.
>
> I'll get back to you when I have the results.
>
> Cheers,
> David
>
> Am 24. April 2012 17:39 schrieb Gregory J. Ward <[email protected]>:
>
> Hi David,
>>
>> Thanks for sharing your files. The only problem I found was that your
>> orientation vector was perpendicular to the plane of your BSDF. The error
>> I got was a fairly useless "Illegal argument" warning. I just checked in a
>> new version of src/rt/m_bsdf.c that offers a more accurate warning.
>>
>> Meanwhile, try changing the orientation vector on your test BSDF to "0 1
>> 0" or "1 0 0" so that it is in the plane of the surface and see if you
>> still have problems.
>>
>> Thanks for your help -- always appreciated!
>> -Greg
>>
>> *From: *David Geisler-Moroder <[email protected]>
>>
>> *Date: *April 24, 2012 12:30:47 AM PDT
>>
>> *
>> *
>>
>> Hi Greg,
>>
>> I attached 4 BSDFs that I used yesterday:
>> klems_old.xml: a Klems-Matrix BSDF that I generated last year
>> klems.xml: a test Klems-Matrix BSDF I generated yesterday with the latest
>> head distribution
>> tree_iso.xml: a test isotropic tensor tree BSDF I generated yesterday
>> with the latest head distribution (-t3)
>> tree_aniso.xml: a test anisotropic tensor tree BSDF I generated yesterday
>> with the latest head distribution (-t4)
>>
>> Running objview check.rad crashed with the described errors...
>>
>> I used binaries that I compiled yesterday on a 32bit Ubuntu 10.04 LTS
>> running in a Virtual Box
>> [Linux version 2.6.32-31-generic (buildd@rothera) (gcc version 4.4.3
>> (Ubuntu 4.4.3-4ubuntu5) )].
>>
>> Today in the morning I also tried running it on our compute server (64bit
>> OpenSUSE):
>> Linux version 2.6.37.6-0.11-desktop (geeko@buildhost) (gcc version 4.5.1
>> 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) )
>> The binaries there were compiled from the HEAD distribution of March 12.
>> There the "*root tag missing*" error does not occur, but the other two
>> do.
>>
>> Hope that's of any help...
>>
>> Best,
>> David
>>
>>
>> Am 23. April 2012 18:05 schrieb Gregory J. Ward <[email protected]>:
>>
>>> Hi David,
>>>
>>> Thanks for reporting this error. Can you send me the XML file that is
>>> giving you trouble?
>>>
>>> What machine are you running on?
>>>
>>> Cheers,
>>> -Greg
>>>
>>
>>
>
>
>
--
DI Dr. David Geisler-Moroder
Hofwaldweg 14/20
6020 Innsbruck
_______________________________________________
Radiance-dev mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-dev