@@ -124,3 +124,34 @@ programs (if configured to build them). To build the API documentation use
124124
125125 $ make html
126126 $ make install-html
127+
128+ Building the code on Windows
129+ ============================
130+
131+ These instructions will build everything except the applications using LIBXML2 (e.g. nxtranslate)
132+
133+ * Download and install HDF4 and/or HDF5 libraries from HDF web site
134+
135+ - within these installations is a "cmake" directory, I needed to remove/rename this to get everything to configure properly
136+
137+ * Download MXML source from http://www.msweet.org/projects.php?Z3
138+
139+ - open the vcnet directory
140+ - you need to edit mxml1.def and a add a single line containing the text mxml_error to the end of this file
141+ - open the visual studio solution and build the project
142+ - copy the files mxml.h mxml1.lib mxml1.dll to some other location
143+
144+ * Define HDF4_ROOT, HDF5_ROOT and MXML_ROOT environment variables to point to the top of each installed area
145+
146+ - you should use / rather than \\ for the paths specified in these variables
147+
148+ * Create an empty build directory somewhere - this can be within your nexus source tree
149+ * Run CMAKE-GUI to generate Visual studio solutions files
150+
151+ - Provide source and build paths in the relevant boxes
152+ - Click on Configure, choose appropriate visual studio version when prompted
153+ - A list of options will appear, choose the appropriate ENABLE _ ones and press Configure again
154+ - If nothing is red, click on Generate
155+
156+ * Browse to the build directory and open the generated NeXus.sln
157+ * Build the solution
0 commit comments