Organizing your Build PlatformWindows XP Pro SP3.0Microsoft Visual Studio Pro 2008Install and Set Visual Studio to use Visual C++ as default environment in MSVS 2008. Students can get free copies of MSVS 2008 and other developer tools with student login validation from the Microsoft site www.dreamspark.com.
UNIX COMMANDS
If you enjoy UNIX commands, would like to use them and do not want to install CYGWIN (which can be cumbersome) try these native Windows compiled GNU utility programs http://unxutils.sourceforge.net/ 2011 link is broken but
this is attached below as a zip file for download...
The attached file:
091207_Practical_Compiling_C_Toolkit_Projects_MSVS2008.ppt
shows how to install UnxUtils and set them into a directory on the PATH.
Programs in this set include tar and gunzip so you can open the source code files.
Step 1. Download NCBI C, C++ toolkit and thirdparty packages
Dowload the *.exe files - these are self-extracting archives for Windows. NCBI C toolkit:
ftp://ftp.ncbi.nlm.nih.gov/toolbox/ncbi_tools++/CURRENT
Third party packages: ftp://ftp.ncbi.nlm.nih.gov/toolbox/ncbi_tools++/CURRENT/ThirdParty Note: the NCBI distribution of ThirdParty Packages had OLD stuff... like MySQL v3.x, which we are not going to use. Put these files to a local directory and unzip them.
Step 2. Build the NCBI C toolkit FIRST
Load the solution file
\ncbi_c--XXX_XX_200X\make\msvc_prj900\ncbi.sln
into MS Visual Studio 2008.
SET the BUILD Target as follows:
Select the Visual Studio BUILD Menu, and option
Your choices are:
DEBUG (This is the Visual Studio Default)
RELEASE (CHOOSE THIS ONE FOR STATIC LIBRARY EXECUTABLES)
DEBUG DLL (Dynamic Libraries in Debug Mode)
RELEASE DLL (Release Libraries in DLL Form)
Click Build -> Build all to compile everything with the RELEASE target settings.
Click Build -> Build all to compile everything with the DEBUG target settings. Run the install.bat script file to copy the *.lib and *.h files to their normal locations \ncbi_c--XXX_XX_200X\make\msvc_prj900\
The 32 static library files are put in the $NCBI\Release or $NCBI\Debug directory: C:\usr\ncbi\Release>ls asntool.exe ncbiacc.lib ncbimmdb.lib netcli.lib blast.lib ncbicdr.lib ncbinacc.lib netentr.lib blastapi.lib ncbicn3d.lib ncbiobj.lib regexp.lib blastcompadj.lib ncbicn3d_ogl.lib ncbispel.lib vibgif.lib ddv.exe ncbidesk.lib ncbithr.obj vibnet.lib ddvlib.lib ncbiid1.lib ncbitool.lib vibrant.lib medarch.lib ncbimain.lib ncbitxc2.lib vibrant_ogl.lib ncbi.lib ncbimain.obj netblast.lib xconntest.lib BUILDING APPLICATIONS
The applications readseqs and demovib are compiled in the attached powerpoint. The slides show how to create a new build project, how to extract the proper libraries from the UNIX makefiles, and how to sort out any errors that occur with *.h files.
For this you need to download exactly the same source code used before:
readseq.tar.gz from the main course page attachments and
vibrant_demo.tar.gz from the Demovib page attachments.
| TO BE COMPLETED:
BUILDING WITH CYGWIN (Unix Commands for Windows).
Cygwin is a Linux/Posix emulation layer running on Windows.
Install Cygwin from http://www.cygwin.com
|
Christopher Hogue's Research > RCE in Mechanobiology Advanced Bioinformatics Software Development Workshop >