Size: 8395
Comment:
|
Size: 8395
Comment:
|
No differences found! |
Compiling EMAN2 on Windows
1. Use cmake to generate Visual Studio 2005 solution: Download cmake windows installer cmake-2.6.0-win32-x86.exe from http://www.cmake.org/HTML/index.html. Download python.2.5.2.msi from http://www.python.org, run it to install. Download numpy-1.1.0-win32-superpack-python2.5.exe from http://numpy.scipy.org, run it to install. Download boost_1_35_0.zip and boost-jam-3.1.16-1-ntx86.zip from http://www.boost.org/users/download/. bjam -sTOOLS=msvc "-sBUILD=release <runtime-link>dynamic <optimization>speed" Download 5-181-win-vs2005.zip from ftp://ftp.hdfgroup.org/HDF5/current/bin/windows/. Download precompiled fftw3.1.2 windows dlls fftw-3.1.2-dll.zip from http://www.fftw.org/install/windows.html. follow the instruction from http://www.fftw.org/install/windows.html, run these commands: Download fftw-3.1.2 source code fftw-3.1.2.tar.gz from http://www.fftw.org/download.html. Download gsl-1.11-windows-binaries.zip from http://david.geldreich.free.fr/dev.html Download tiff-3.8.2-1-lib.zip from http://gnuwin32.sourceforge.net/packages/tiff.htm, click the zip link close to "Developer files". Download jpeg-6b-4-lib.zip from http://gnuwin32.sourceforge.net/packages/jpeg.htm, click the zip link close to "Developer files". Download libpng-1.2.24.lib.zip from http://gnuwin32.sourceforge.net/packages/libpng.htm, click the zip link close to "Developer files". Download zlib123-vs2005.zip from ftp://ftp.hdfgroup.org/lib-external/zlib/1.2/bin/windows/. if you get compilation errors complain about <unistd.h> can not be found, change line 287 of zconf.h to "#if 0" Download szip21-vs2005-enc.zip from ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows/. In the Visual Studio 2005 menu, choose build -> configuration manager. Set the "Active Solution Configureation" to release. Then check the INSTALL and test in the check boxes. Download ipython-0.8.4.win32-setup.exe from http://ipython.scipy.org/dist/. Click and install. Download pyreadline-1.5-win32-setup.exe from http://ipython.scipy.org/dist/. Click and install. This package is for proper color support in IPython shell. To install PyOpenGL, we need install setuptools first. Download setuptools-0.6c8.win32-py2.5.exe from http://pypi.python.org/pypi/setuptools#downloads. Click and install. Download PyOpenGL-3.0.0b2.zip from http://sourceforge.net/projects/pyopengl download glut-3.7.6-bin.zip from http://www.xmission.com/~nate/glut.html. Download PyQt-Py2.5-gpl-4.4.2-1.exe from http://www.riverbankcomputing.com/software/pyqt/download. Click and install. After everything installed, type e2.py, if you see error message like, "The procedure entry point _Z7qstrcmpRK10QByteArrayS1_ could not be located in the dynamic link library QtCore4.dll.". That means you may have other Qt4 libraries installed. Remove them, just use the Qt4 libraries come with PyQt4 will solve this problem.
3. The major trouble of compiling EMAN2 on Visual Studio 2005 come from the dependent library:
Python lib /machine:i386 /def:libfftw3-3.def
lib /machine:i386 /def:libfftw3f-3.def
lib /machine:i386 /def:libfftw3l-3.def
4. Actions before build:
5. Ignore specific library LIBC.lib Problem: LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
Solution: right click project -> Properties -> Linker -> Input -> Ignore Specific Library -> LIBC.lib
6. After compilation
7. runtime libraries for EMAN2 GUI program
IPython