File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,3 +124,26 @@ 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+ * within these installations is a "cmake" directory, I needed to remove/rename this to get everything to configure properly
135+ * Download MXML source from http://www.msweet.org/projects.php?Z3
136+ * open the vcnet directory
137+ * you need to edit mxml1.def and a add a single line containing the text mxml_error to the end of this file
138+ * open the visual studio solution and build the project
139+ * copy the files mxml.h mxml1.lib mxml1.dll to some other location
140+ * Define HDF4_ROOT, HEF5_ROOT and MXML_ROOT environment variables to point to top of each installed area
141+ * you should use / rather than \ for the paths specified in these variables
142+ * Create an empty build directory somewhere - this can be within your nexus source tree
143+ * Run CMAKE-GUI to generate Visual studio solutions files
144+ * Provide source and build paths in the relevant boxes
145+ * Click on Configure, choose appropriate visual studio version when prompted
146+ * A list of options will appear, choose the appropriate ENABLE _ ones and press Configure again
147+ * If nothing is red, click on Generate
148+ * Browse to the build directory and open the generated NeXus.sln
149+ * Build the solution
You can’t perform that action at this time.
0 commit comments