Installing and building TPP on Windows

From SPCTools

Jump to: navigation, search

During October 29-30, 2008, I learned from Natalie Tasman at ISB how to install the TPP on Windows and how to build it once I've made changes. Here are my notes, mostly excerpted from Natalie's emails.

Installing TPP on Windows

Follow the instructions at http://tools.proteomecenter.org/wiki/

Building TPP on Windows

Emailed from Natalie to Henry on Tue, Sep 23, 2008.

1) download mingw: http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780

2) if g++ isn't included in this (I forget of the top if my head), also install gcc-core and gcc-g++, 3.4.5, from here: http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=82723&release_id=428244 [Terry's note: I didn't need to do this to proceed with the remaining steps]

3) download and install Msys, following all default choices in the installer: http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=24963&release_id=89960

4) install tortioseSVN

5) at the same top level directory, check out win_lib, qualscore, and the tpp. [Terry's note: from http://sashimi.svn.sourceforge.net/svnroot/sashimi/trunk]

6) from the msys shell, go into win_lib and do "make -f Makefile.boost" and wait for 1.5 hours OR download my precompiled boost libs from http://tools.proteomecenter.org/software/boost_1_35_0-stage-lib.zip. First unzip boost_1_35_0 from within win_lib. Then unzip the zipfile above into boost_1_35_0/stage (must make that dir first).

7) download and install the NSIS Installer

8) from tpp/src, "make" [Terry: this crashed for me on 10/30/08 due to a bug that Natalie is looking at]

9) from tpp/src, "make install" -- note: make install will require the converters, which can only be built with MSVC. You can download the official releases and drop them where the installer script expects, or edit the installer file (tpp/installer_win32/TPP_files.nsh) and comment out that section. [Terry: did not do this step]

Personal tools