NeXus Data Format Windows Distribution Kits
This pages contains a Microsoft Windows MSI based installer for the NeXus data format. The kit is self contained and will install all needed HDF and XML libraries as well as the NeXus libraries themselves. Currently only the JAVA and C interfaces are included - see below for FORTRAN or other bindings.
Once the library is installed, it can be used by either MinGW or Microsoft Visual Studio based projects - for details see the README_MinGW.txt and README_VisualStudio.txt files which are included with the kit.
The HDF libraries are referenced as DLLs by the NeXus libraries in this kit, so even if you link your application statically to the NeXus library you will need to have the correct HDF libraries installed on any target machine. You can accomplish this by either installing the same NeXus distribution kit on the target machine or by including the DLL files installed to C:/Program Files/Nexus Data Format/bin along with your application.
Windows Installer Kits for NeXus 4.3.0
See the main download page
Windows Installer Kits for NeXus 4.2.0
General information on the 4.2.0 release is contained on the main download page
Windows Installer Kits for NeXus 4.1.0
General information on the 4.1.0 release is contained on the main download page
Windows Installer Kits for NeXus 4.0.0
General information on the 4.0.0 release is contained on the main download page
Fortran 90 Bindings
These are not included in compiled form as different compilers produce different format module files. The following instructions work with Compaq Visual FORTRAN to build the NXtest example and should be followed once the NeXus kit has been installed:
- Download NXUmodule.f90, NXmodule.f90 and NXtest.f90
- Create a console application project and add these three files to it
- Now add the import library "libNeXus.dll.lib" from "C:/Program Files/NeXus Data Format/lib" to the project - you can do this via the usual "Add files to project" dialogue.
- Build and run
Python Bindings
The NeXus swig based python bindings were not included in the 4.0.0 kit - you can either install the 4.1.0 kit or download them from here.
Links
Page and kits maintained by Freddie Akeroyd; last modified 27 May 10:59 BST