wiki:BuildInstructions

Windows

Setting up on a clean machine

  • Install Visual C++ 2010
  • Install Tortoise SVN for SVN version 16
  • Create folder
    C:\Devel
    
  • Install IGOR XOP Toolkit:
    • Download XOP Toolkit v5
    • Run auto-extracting zip file and extract to C:\Devel
    • Toolkit should now be in C:\Devel\XOP Toolkit 5\
    • Navigate to C:\Devel\XOP Toolkit 5\IgorXOPs5\XOPSupport
    • Create a copy of the folder VC8 and rename it VC9
    • Navigate to the VC9 folder.
    • Delete XOPSupport.lib
    • Rebuild the XOPSupport library for VC9 (VC++ 2010) as follows:
      • Open XOP Support.sln with VC++ 2010 and let the conversion wizard do its thing.
      • Change the build configuration to "Release"
      • Build the solution.
      • There should now be a new XOPSupport.lib in the VC9 folder.
  • Check out XOP repositories using Tortoise SVN:
  • SANSAnalysis:
    • Navigate to C:\Devel using Windows Explorer
    • Right click in the Explorer window and choose "SVN Checkout..."
    • Enter http://danse.chem.utk.edu/svn/sans/XOP_Dev/SANSAnalysis in the "URL of Repository" box.
    • Edit the "Checkout Directory" to be {{C:\Devel\SANSAnalysis}}
    • Other defaults should be fine.
    • Click OK
  • MonteCarlo:
    • Navigate to C:\Devel using Windows Explorer
    • Right click in the Explorer window and choose "SVN Checkout..."
    • Enter http://danse.chem.utk.edu/svn/sans/XOP_Dev/MonteCarlo in the "URL of Repository" box.
    • Edit the "Checkout Directory" to be C:\Devel\MonteCarlo
    • Other defaults should be fine.
    • Click OK
  • Visual C++ Build:
    • Navigate to C:\Devel using Windows Explorer
    • Right click in the Explorer window and choose "SVN Checkout..."
    • Enter http://danse.chem.utk.edu/svn/sans/XOP_Dev/XOP_Build in the "URL of Repository" box.
    • Edit the "Checkout Directory" to be C:\Devel\XOP_Build
    • Other defaults should be fine.
    • Click OK

Building

  • Load C:\Devel\XOP_Build\Windows XOPs\Windows XOPs.sln into Visual Studio 2010
  • Select Release build
  • Build
  • XOP will be in
    C:\Devel\XOP_Build\Windows XOPs\Release
    

OS X

I don't have the clean install instructions, but for now to do the build:

Using the Mac Build machine for a "clean" build of the XOP:

  • cd SANSAnalysis
  • svn update
  • Open Xcode Project
  • (clean all targets)
  • build libSANSAnalysis
  • build SANSAnalysis
  • build MonteCarlo?
  • copy the two XOPs to someplace else to add to the package
Last modified 9 years ago Last modified on Feb 1, 2012 11:26:15 AM