Changes between Version 10 and Version 11 of Win32Build


Ignore:
Timestamp:
Mar 16, 2012 11:16:24 AM (13 years ago)
Author:
robert-whitley
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Win32Build

    v10 v11  
    8787}}} 
    8888 
    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. 
     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 into the command terminal. 
    9090 
    9191{{{ 
    9292c:\sansviewproject\trunk>python setup.py build -mingw32 
    9393}}} 
     94 
     95== Install SansView == 
     96- Installing is straight forward. Use a similar approach to building SansView by using the code below. 
     97 
     98{{{ 
     99c:\sansviewproject\trunk>python setup.py install --user 
     100}}} 
     101 
     102== Run SansView == 
     103- Use the following command to run SansView. (Make sure you are in the directory where sansview.py is located). 
     104 
     105{{{ 
     106c:\sansviewproject\trunk\sansview>python sansview.py 
     107}}} 
     108 
     109- Note: If you get a similar error to the one below then make sure the PATH's contain where to find the modules. This is usually the trunk folder in sansviewproject. 
     110 
     111{{{ 
     112Traceback (most recent call last): 
     113File "sansview.py", line 27, in <module> 
     114from sans.guiframe import gui_manager 
     115ImportError: No module named sans.guiframe 
     116}}}