wiki:BuildInstructions

Version 4 (modified by ajj, 11 years ago) (diff)

--

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 (press F7)
  • 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

OS X