


Open Terminal app and navigate to the xerces folder expanded from the downloaded file.First install XCode and command line tools.Xerces source code from the Apache Software Foundation web site and then building and installing xerces with the following steps: This libraries can be obtained by downloading the The nairn-mpm-fea project needs access to xerces 3.0 or newer. These can be changed if needed by editing the project and target settings. These compiling instructions assume they are installed in the default locations for MacOS X or at:įor the header files.

To fix this problem edit both the project and target settings and under the "Architectures" section, set the "Architectures" option to match the architecture you used when installing xerces or recompile xerces if needed.īefore you can compile and run the project, however, you will need an installed version of the xerces library and a copy of the xerces header files. If a linking error occurs, you might have conflicting architectures between the XCode settings and the xerces library you installed. Choose build and they will compile and be saved in XCode's derived data folder.Select the target to compile - either NairnMPM or NairnFEA.Once xerces is installed, open the NairnMPM.xcodeproj to compile the code by: This project is called NairnMPM, but it includes all MPM and FEA source code in two targets named NairnMPM and NairnFEA. Nairn-mpm-fea/Common/Projects/NairnMPM.xcodeproj The preferred method is to use XCode (but first you must install Xcode, install command line tools, and get a new compiler). Most development of NairnMPM and NairnFEA is done in MacOS X and thus compiling on MacOS X is easy. 4.4 Possible Changes Needed After Updating MacOS or XCode.
