Changes between Version 10 and Version 11 of Win32Build
- Timestamp:
- Mar 16, 2012 11:16:24 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Win32Build
v10 v11 87 87 }}} 88 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.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. 90 90 91 91 {{{ 92 92 c:\sansviewproject\trunk>python setup.py build -mingw32 93 93 }}} 94 95 == Install SansView == 96 - Installing is straight forward. Use a similar approach to building SansView by using the code below. 97 98 {{{ 99 c:\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 {{{ 106 c:\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 {{{ 112 Traceback (most recent call last): 113 File "sansview.py", line 27, in <module> 114 from sans.guiframe import gui_manager 115 ImportError: No module named sans.guiframe 116 }}}