Changes between Version 9 and Version 10 of Win32Build


Ignore:
Timestamp:
Mar 16, 2012 9:05:27 AM (12 years ago)
Author:
robert-whitley
Comment:

Building SansView?

Legend:

Unmodified
Added
Removed
Modified
  • Win32Build

    v9 v10  
    6969 
    7070== Get the source code == 
    71 - One of the ways of getting the source code is using subversion. You can get subversion [http://subversion.tigris.org/ here] if you haven't already got it. If you want to do it a harder way then you can download the source code [https://sourceforge.net/projects/sansviewproject/files/ here] 
     71- One of the ways of getting the source code is using subversion. You can get subversion [http://subversion.tigris.org/ here] if you haven't already got it. If you want to do it a harder way then you can download the source code [https://sourceforge.net/projects/sansviewproject/files/ here]. 
    7272 
    7373- Using subversion copy this onto the command line. It will allow you to checkout the code and put it into the directory 'c:/sansviewproject' 
     
    8080- Note: You may need to add proxy settings for Subversion to work. Instructions on how to do this are [https://docs.opends.org/wiki/page/ConfiguringSubversionToUseAProxyServer?version=2 here]. It can be achieved using Tortoise SVN a lot simpler by going to TortoiseSVN->Settings->Network. 
    8181 
    82 ==  
     82== Build SansView == 
     83- Now that the files are downloaded it's time to build. Go to where you downloaded sansview and look for the folder named 'trunk'. Inside this folder you should have a file called 'setup.py' which we shall use to build SansView. Use the code below on the command line in order to build SansView. 
     84 
     85{{{ 
     86c:\sansviewproject\trunk>python setup.py build 
     87}}} 
     88 
     89- Note: You may get an error saying "Error: Python was built with Visual Studio 2003; extensions must be built with a compiler that can generate compatible binaries". To solve this issue it will recommend using Cygwin and to compile with MinGW32. The best thing about this is that you don't have to actually use Cygwin. First go to the download page of MinGW and download the latest version. [https://sourceforge.net/projects/mingw/files/] (Making sure it's 32-bit compatible). Next make sure the PATH variable is set to the folder containing the MinGW32 GCC. (Usually found in 'C:\MinGW\bin'). Next enter the following onto the command terminal. 
     90 
     91{{{ 
     92c:\sansviewproject\trunk>python setup.py build -mingw32 
     93}}}