[Nexus] More NAPI stuff

Eugen Wintersberger eugen.wintersberger at desy.de
Mon Aug 17 14:37:35 BST 2015


Hi Mark,

On 08/17/15 14:40, Koennecke Mark (PSI) wrote:

> 
> 
> The C language test fails for two reasons:
> * It derives the file format to test from the executable name, defaulting to HDF4. A dubious concept, I know. 
>   I now pushed back modification where it tries to run the HDF5 test with Eugens choosen name for the test program,

Ok - I got that.

> * The next thing is that it refuses to run any test. This is because an entry in nxconfig.h or a compile time flag is 
>   missing. The napi expects at compile time to have WITH_HDF5, WITH_HDF4, WITH_XML defined in 
>  order to conditionally include the necessary code. I do not know enough about cmake to know where to fix this.

I have already recognized this WITH_XXX stuff. There is a bit chaos
concerning the configuration headers. Sometimes the code uses nxconfig.h
and on other places napiconfig.h. I'am not really sure if this has
historical reasons or if this is done intentionally.
In the former case I would suggest to clean this up and go for a single
configuration header.

regards
  Eugen

> 
> Regards,
> 
>      Mark
>   
> 
> 
>> regards
>>  Eugen
>>
>> _______________________________________________
>> NeXus mailing list
>> NeXus at nexusformat.org
>> http://lists.nexusformat.org/mailman/listinfo/nexus
> 
> 
> _______________________________________________
> NeXus mailing list
> NeXus at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus
> 

-- 
------------------------------------
DI. Dr. Eugen Wintersberger

FS-EC
DESY
Notkestrasse 85
D-22607 Hamburg
Germany

E-Mail: eugen.wintersberger at desy.de
Telefon: +49-40-8998-1917
-----------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nexusformat.org/pipermail/nexus/attachments/20150817/d1368ad7/attachment.sig>


More information about the NeXus mailing list