How to build TPP in win OS using VC8

Dmitrii 

(0)==================================== 
To avoid making changes to the original files downloaded from 
https://sashimi.svn.sourceforge.net/svnroot/sashimi/trunk 
copy the following folders to a separate folder: 

qualscore 
trans_proteomic_pipeline 

and optionally run in that folder this command: 
for /r %a in (.svn) do rd /S /Q "%a" 
to remove SVN stuff 
(1)==================================== 
In the file 
trans_proteomic_pipeline\extern\build_boost_vc8.bat 

(a) replace the line 
bjam --toolset=msvc "-sNO_ZLIB=0" <...> 
with 
..\bjam --toolset=msvc-8.0 "-sNO_ZLIB=0" <...> 
[this is a must if you have MS VS 2008 installed] 

(b) replace line 
UnxUtils\usr\local\wbin\rm.exe -rf bin.v2 
with 
..\UnxUtils\usr\local\wbin\rm.exe -rf bin.v2 

-- non-critical optional changes: 

(c) replace the 1st line, 
cd %1 
with pushd %1 

(d) remove line cd %1 above :DONE at the bottom 

(e) add last line: 
popd 

(2)=================================== 
Manually expand trans_proteomic_pipeline\extern\UnxUtils.tar.bz2 
preserving directory structure to trans_proteomic_pipeline\extern\ 

(3)=================================== 
Manually expand trans_proteomic_pipeline\extern\expat-2.0.1.tar.gz 
preserving directory structure to trans_proteomic_pipeline\extern\ 

(4)=================================== 
In trans_proteomic_pipeline\extern\: copy file bsdtar-1_2_38.exe to 
bsdtar.exe 

(5)=====Installer Case Sensitivity Issues====== 
(a) Manually create folder 
    trans_proteomic_pipeline\src\Release 
(b) In batchcoverage project, 
    trans_proteomic_pipeline\COVERAGE\batchcoverage.vcproj 
    Change output name from batchcoverage.exe to BatchCoverage.exe 

(6)=================================== 
Start MS VC++ 2005. 
In the dialog  Tools/Options/Projects and Solutions/Build and Run/ 
make sure that 1=maximum number of parallel project buils, 
otherwise you get errors due to concurrently running builds. 

(7)============================== 
In MSVC Project/Project Dependencies dialog 
select  project msvc_makeinstall 
check two more items  in the "Depends on:" list: 
  indexmzXML 
  batchcoverage 

(8)====project paths fixes================= 
 (a) Right-click runperl project, select Properties, select Debug 
     configuration at the top of the runperl Property Pages. 
     - Select Configuration Properties/Browse Information/General 
     - In the Output File field, replace 
       \..\..\Debug/runperl.bsc 
            with 
      .\Debug/runperl.bsc 
    - Click OK to save the changes 
 (b) Right-click InterProphetParser project, select Properties, select Debug 
     configuration at the top of the runperl Property Pages. 
     - Select Configuration Properties/Browse Information/General 
     - In the Output File field, replace 
       \trans_proteomic_pipeline\Debug/InterProphetParser.bsc 
            with 
       $(SolutionDir)$(ConfigurationName)/InterProphetParser.bsc 
    - Click OK to save the changes 
 (c) Right-click ProteinProphet project, select Properties, select Debug 
     configuration at the top of the runperl Property Pages. 
     - Select Configuration Properties/Browse Information/General 
     - In the Output File field, replace 
       \trans_proteomic_pipeline\Debug/ProteinProphet.bsc 
            with 
       .\Debug/ProteinProphet.bsc 

    - Select Configuration Properties/Linker/Debugging 
    - In theGenerate Program Database File, replace 
      \trans_proteomic_pipeline\Debug/ProteinProphet.pdb 
         with 
      .\Debug/ProteinProphet.pdb 
    -Click OK to save the changes 

(9)=====Additional notes on TPP installer creation ================ 
The following executables required in the msvc_makeinstall project file 
trans_proteomic_pipeline\installer_win32\TPP_files.nsh are not created 
because there are no vcproj project files for that: 

  digestdb.exe 
  subsetdb.exe 
  pep_dbcount.exe 
  translateDNA2AA-FASTA.exe 
  calculate_pi.exe 
  add_mz.exe 

Under gcc, these files are built with 
trans_proteomic_pipeline\src\util\Makefile 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章